With this library it is simple to connect to the Arduino 101 board with an Android or iOS device.
Arduino 101 instructions: https://www.b4x.com/android/forum/posts/448783/
It is similar to B4i peripheral implementation: BLE (Bluetooth Low Energy) Peripheral
It creates a service (0001) with a readable characteristic (1001) and a writable characteristic (1002).
The NewData event is raised when a central device, the iOS or Android device, writes to the writable character.
The DataAvailable event on the central device is raised after a call to CuriePeripheral.Write.
Note that messages are limited to 20 bytes. Don't try to send more as it will break the connection.
A B4A + B4R example is attached.
Arduino 101 instructions: https://www.b4x.com/android/forum/posts/448783/
It is similar to B4i peripheral implementation: BLE (Bluetooth Low Energy) Peripheral
It creates a service (0001) with a readable characteristic (1001) and a writable characteristic (1002).
The NewData event is raised when a central device, the iOS or Android device, writes to the writable character.
The DataAvailable event on the central device is raised after a call to CuriePeripheral.Write.
Note that messages are limited to 20 bytes. Don't try to send more as it will break the connection.
A B4A + B4R example is attached.