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: source/platform/btle.cpp
- Branch:
- 72a03e94578ba288a289bed81955d4d04ab6702f
- Revision:
- 269:cd037b36a62b
- Parent:
- 268:c0a1e03c5736
- Child:
- 271:7dc6261c33e5
diff -r c0a1e03c5736 -r cd037b36a62b source/platform/btle.cpp --- a/source/platform/btle.cpp Thu Sep 15 10:51:31 2016 +0100 +++ b/source/platform/btle.cpp Thu Sep 15 10:51:31 2016 +0100 @@ -545,7 +545,7 @@ uint8_t write_status = err_code == 0 ? 0 : 1; // reply to the shield - tBleStatus err = aci_gatt_write_response( + aci_gatt_write_response( write_req->conn_handle, write_req->attr_handle, write_status,