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.
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).
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.