-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[androiddebugbridge] Added mDNS discovery for Fire TV Stick #11881
Conversation
editProperties.put(Thing.PROPERTY_FIRMWARE_VERSION, adbConnection.getAndroidVersion()); | ||
editProperties.put(Thing.PROPERTY_VENDOR, adbConnection.getBrand()); | ||
try { | ||
editProperties.put(Thing.PROPERTY_MAC_ADDRESS, adbConnection.getMacAddress()); |
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 the ro.boot.wifimacaddr
property is not available or accessible on all devices but currently it looks like the Mac address is the only unique identifier available in both discovery service implementations.
bef2a2a
to
8ac75dc
Compare
...enhab/binding/androiddebugbridge/internal/discovery/FireTVStickMDNSDiscoveryParticipant.java
Show resolved
Hide resolved
...enhab/binding/androiddebugbridge/internal/discovery/FireTVStickMDNSDiscoveryParticipant.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
…rg/openhab/binding/androiddebugbridge/internal/discovery/FireTVStickMDNSDiscoveryParticipant.java Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
0947682
to
314fca1
Compare
...penhab/binding/androiddebugbridge/internal/discovery/AndroidDebugBridgeDiscoveryService.java
Outdated
Show resolved
Hide resolved
Is changing the representation property a breaking change? |
No, I do not think so. It is an internal property which cannot be manipulated the user and if the binding has a proper handling - like I implemented it in this PR - it will be backward compatible. |
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
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.
LGTM
...src/main/java/org/openhab/binding/androiddebugbridge/internal/AndroidDebugBridgeHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
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.
LGTM
…11881) * Added mDNS discovery for Fire TV Stick Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
…11881) * Added mDNS discovery for Fire TV Stick Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
…11881) * Added mDNS discovery for Fire TV Stick Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de> Signed-off-by: Nick Waterton <n.waterton@outlook.com>
…11881) * Added mDNS discovery for Fire TV Stick Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
…11881) * Added mDNS discovery for Fire TV Stick Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de> Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
Signed-off-by: Christoph Weitkamp github@christophweitkamp.de