Home
sebn edited this page Sep 15, 2016
·
9 revisions
#React Native Bluetooth
React native module work with bluetooth lte devices.
##TODO:
###IOS:
- clean connections
- multiple connects, disconnects from devices at same time
###Android:
- Clean connections?
- Concurrency issues?
- Don't use address as an id?
###Both:
- Ensure all callbacks are related to the right service/device/whatever...
- Make it clear that scan API is BLE only for now
- Lost Devices should be removed from the list
###Later:
- Maybe include status (connected/disconnected) in device?
- Maybe include bonded status in device?
- Whether a service is primary or not
- Descriptors
- Write type (WRITE REQUEST?)
- Known characteristic names?
- Non-BLE discovery
##Example app
- Characteristic discovery screen
##Known Bugs:
###Example app
- If you leave the device discovery screen while discovery is still in progress, a setstate call is made on the unmounted component. Possible problem with unsubscribe?