DFRobot / PlainProtocol

14 stars 9 forks source link

lower-level Bluetooth LE access #1

Open erwincoumans opened 10 years ago

erwincoumans commented 10 years ago

This PainProtocol seems to wrap BLE behind the Serial interface on the Romeo BLE (Arduino-Uno) compatible device.

Is there any way to access the underlying Bluetooth LE, instead of going through PlainProtocol? With low-level access a user could implement Wifi over BLE, manage BLE connections etc. Thanks!

jimaobian commented 10 years ago

Hi,

The BLE on Bluno uses Serial port to communicate. So just use Serial.print(); and all goes well. You can see our basic demo for details:

https://github.com/DFRobot/BlunoBasicDemo/tree/master/Arduino

erwincoumans commented 10 years ago

how can one implement Midi over BLE using Serual.printf? it seems more direct access to ble hardware is desired. Is that technically possible? which pins?