-
Notifications
You must be signed in to change notification settings - Fork 178
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
Bluetooth LE support for the Gateway #69
Comments
Hi Ian, It requires having somewhere MQTT-SN Forwarder encapsulation (#27) on each end, right? I believe it should be added into the gateway. Michal |
Hi Michal, I don't know if it requires encapsulation. I must admit to not understanding when encapsulation is needed - I probably haven't thought about it enough. |
I'm going to study about BLE UARTService from Nordic. |
Latest version of Bluez library was released this September. http://www.bluez.org/download/ As a gateway, it is better to adopt this Mesh network without forcing the UARTService which is lacking in function. I thought of a power technique to wait for L2CAP sockets with select () in order to realize 1: N communication, but I think that adopting Mesh network will solve this problem. The micro: bit will support BLE Mesh network either, I will decide to go on a royal road. Any help would be appreciated. |
I implemented a Forwarder encapsulation message (#27). |
Signed-off-by: tomoaki <[email protected]>
Signed-off-by: tomoaki <[email protected]>
Signed-off-by: tomoaki <[email protected]>
I added Serial port Forwarder encapsulated frames support in my fork here: arekmd@5f9c82f It was implemented as new SensorNetwork module. I was not aware, that Tomoaki is working on similar enhancement. Anyway, I decided to not create 'pull request' because those changes are not compatible. |
BugFix of #69 Signed-off-by: tomoaki <[email protected]>
Hi Arek, Thank you for your information. |
The BLE implementation I'm coding requires bluetooth / bluetooth.h and libbluetooth. |
RFCOMM of Bluetooth classic is implemented. I don't know how to connect a BLE RFCOMM. |
I think the architecture of the ble sensor network, which does not use threads per socket, can be applied to DTLS. Known bug: Occasionally a timeout error occurs when connecting to RFCOMM. BLE is not supported yet. I need help to do it. Signed-off-by: tomoaki <[email protected]>
I think the architecture of the ble sensor network, which does not use threads per socket, can be applied to DTLS. Known bug: Occasionally a timeout error occurs when connecting to RFCOMM. BLE is not supported yet. I need help to do it. Signed-off-by: tomoaki <[email protected]>
micro:bits uses Nordic uart service. So, GW needs a GATT NUS running on a linux. |
future branch is merged into develop. #69 Change Tab to 4 spaces Signed-off-by: tomoaki <[email protected]>
To allow this scenario https://blog.benjamin-cabe.com/2017/01/16/using-mqtt-sn-over-ble-with-the-bbc-microbit to work better.
The text was updated successfully, but these errors were encountered: