bluetooth control motor
Dependents: BLE_LED_IDB0XA1_demo MOTOR_BLE_V2 Motor_Ble_v1 Motor_Ble_v10223 ... more
Fork of X_NUCLEO_IDB0XA1 by
Diff: x-nucleo-idb0xa1/BlueNRGGattServer.h
- Revision:
- 204:6a6d2f041905
- Parent:
- 144:bdf5e8432131
- Child:
- 205:2b4afe8ce1a0
- Child:
- 229:9981f62cdb1a
diff -r caf4864292c1 -r 6a6d2f041905 x-nucleo-idb0xa1/BlueNRGGattServer.h --- a/x-nucleo-idb0xa1/BlueNRGGattServer.h Thu Dec 03 10:25:12 2015 +0100 +++ b/x-nucleo-idb0xa1/BlueNRGGattServer.h Mon Dec 07 15:44:42 2015 +0100 @@ -70,8 +70,8 @@ /* Functions that must be implemented from GattServer */ // <<<ANDREA>>> virtual ble_error_t addService(GattService &); - virtual ble_error_t readValue(GattAttribute::Handle_t attributeHandle, uint8_t buffer[], uint16_t *lengthP); - virtual ble_error_t readValue(Gap::Handle_t connectionHandle, GattAttribute::Handle_t attributeHandle, uint8_t buffer[], uint16_t *lengthP); + virtual ble_error_t read(GattAttribute::Handle_t attributeHandle, uint8_t buffer[], uint16_t *lengthP); + virtual ble_error_t read(Gap::Handle_t connectionHandle, GattAttribute::Handle_t attributeHandle, uint8_t buffer[], uint16_t *lengthP); virtual ble_error_t write(GattAttribute::Handle_t, const uint8_t[], uint16_t, bool localOnly = false); virtual ble_error_t write(Gap::Handle_t connectionHandle, GattAttribute::Handle_t, const uint8_t[], uint16_t, bool localOnly = false); virtual ble_error_t initializeGATTDatabase(void);