Closed punamdahiya closed 8 years ago
Connect BLE central (smartphone) and BLE Nano using Arduino BLEPeripheral library https://github.com/sandeepmistry/arduino-BLEPeripheral and nRF51822-Arduino library that add support for Arduino IDE to allow compiling nRF51822 firmware
Use ble.scan(services, seconds, success, failure); https://github.com/don/cordova-plugin-ble-central#scan
to scan for BLE peripherals. Pass service_uuid: FFF0 of the BLEBuzzService to ble.scan function. This scans only those BLE peripheral devices that are advertising the BLEBuzzService.
Updated the service and characteristics UUID - 128 bit to work with Android cordova app checked in github below https://github.com/mozilla/project_haiku.iot/tree/master/Bluetooth/nRF51822/PhoneGap/BLE-Buzzy-Pixel
Android app above tested with BLE device to send and receive data for two way communication. Opened Issue #62 for slow scanning.
Use BLE Nano development board with Nordic nRF51822 BLE peripheral and central module to send and receive data from SmartPhone app.