araobp / sensor-network-nodered

Nodes for controlling miniature things in a sequence-control manner.
Apache License 2.0
0 stars 1 forks source link

Serial over BLE GATT seems to be more appropriate than defining private characteristics #1

Closed araobp closed 7 years ago

araobp commented 7 years ago

I avoided to adopt a Firmata-like protocol and developed CLI for the sensor network, since CLI is easier to use and works with any kinds of computers via USB-serial.

BLE GATT is again a Firmata-like protocol (low-level), but I am going to add a "serial over BLE GATT" service to support the CLI over BLE.

Note: Microchip RN4020 already supports MLDP (Microchip Low-energy Data Profile), but it requires a pair of RN4020 devices.

araobp commented 7 years ago

I have determined that using a pair of RN4020 is the best way in my sensor network architecture, since MLDP is serial interface emulation and all of my components heavily depend on serial (USB/UART).