sandeepmistry / arduino-BLEPeripheral

An Arduino library for creating custom BLE peripherals with Nordic Semiconductor's nRF8001 or nR51822.
MIT License
462 stars 179 forks source link

BLECharacteristic vs. BLERemoteCharacteristic #121

Closed cbolgiano closed 7 years ago

cbolgiano commented 7 years ago

What is the difference between BLECharacteristic and BLERemotrCharacteristic? I tried to write to them both from central but the writes always fail. I am using a NRF8001 BLE board.

sandeepmistry commented 7 years ago

@cbolgiano you'll have to use BLECharacteristic for local GATT attributes on the nRF8001, and BLERemoteCharacteristic to access GATT attributes on the connected central. See the examples folder for more details.