-
Notifications
You must be signed in to change notification settings - Fork 589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scan record parser #711
Scan record parser #711
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately this PR is introducing two breaking changes which I cannot accept at this point :( We definitely need to keep the public API intact. I will delete deprecated classes at some point for sure but not just yet.
...droidble/src/main/java/com/polidea/rxandroidble2/helpers/AdvertisedServiceUUIDExtractor.java
Outdated
Show resolved
Hide resolved
rxandroidble/src/main/java/com/polidea/rxandroidble2/internal/util/ScanRecordParser.java
Show resolved
Hide resolved
No problem I can restore these APIs as deprecated |
# Conflicts: # mockrxandroidble/src/main/java/com/polidea/rxandroidble2/mockrxandroidble/RxBleConnectionMock.java
I have restored the classes, but they are no longer used internally. I replaced the implementation of the functions with calls to the new |
# Conflicts: # mockrxandroidble/src/main/java/com/polidea/rxandroidble2/mockrxandroidble/RxBleConnectionMock.java
...droidble/src/main/java/com/polidea/rxandroidble2/helpers/AdvertisedServiceUUIDExtractor.java
Outdated
Show resolved
Hide resolved
rxandroidble/src/main/java/com/polidea/rxandroidble2/internal/util/UUIDUtil.java
Outdated
Show resolved
Hide resolved
rxandroidble/src/main/java/com/polidea/rxandroidble2/scan/ScanRecord.java
Outdated
Show resolved
Hide resolved
rxandroidble/src/test/groovy/com/polidea/rxandroidble2/internal/util/UUIDUtilTest.groovy
Outdated
Show resolved
Hide resolved
…Reverted suggesting users to use internal class (this is a fallout of suggesting users quite a long time ago on Stackoverflow to use UUIDUtil directly — will be fixed in 2.0.0).
I think you fixed all the issues you identified with this so I think it's good to merge. |
I have been a bit relieved from my other responsibilities recently so I plan to re-review and continue with this one soon. |
# Conflicts: # mockrxandroidble/src/main/java/com/polidea/rxandroidble2/mockrxandroidble/RxBleScanRecordMock.java
Based on #709, this pull request removes UUIDUtil completely and replaces it with
ScanRecordParser
, a new internal class.