Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: microbit_rubber_ducky microbit_mouse_BLE microbit_mouse_BLE_daybreak_version microbit_presenter
Fork of nRF51822 by
Diff: nRF51GattServer.cpp
- Revision:
- 84:658e5ec772a1
- Parent:
- 83:71302acf1804
- Child:
- 86:561631ee642d
diff -r 71302acf1804 -r 658e5ec772a1 nRF51GattServer.cpp
--- a/nRF51GattServer.cpp Fri Dec 12 13:23:18 2014 +0000
+++ b/nRF51GattServer.cpp Fri Dec 12 14:15:16 2014 +0000
@@ -319,7 +319,7 @@
};
ble_gatts_rw_authorize_reply_params_t reply = {
.type = BLE_GATTS_AUTHORIZE_TYPE_WRITE,
- .params {
+ .params = {
.write = {
.gatt_status = (p_characteristics[i]->authorizeWrite(&cbParams) ?
BLE_GATT_STATUS_SUCCESS : BLE_GATT_STATUS_ATTERR_WRITE_NOT_PERMITTED)
@@ -336,7 +336,7 @@
};
ble_gatts_rw_authorize_reply_params_t reply = {
.type = BLE_GATTS_AUTHORIZE_TYPE_READ,
- .params {
+ .params = {
.read = {
.gatt_status = (p_characteristics[i]->authorizeRead(&cbParams) ?
BLE_GATT_STATUS_SUCCESS : BLE_GATT_STATUS_ATTERR_READ_NOT_PERMITTED)
