From 327f45985bbd72b00d8c96a2dffc5d38cf9f4e25 Mon Sep 17 00:00:00 2001 From: weiting2 Date: Thu, 20 Aug 2020 14:40:37 +0800 Subject: [PATCH] attempt to make write-charac & notify handle co-work correctly --- .../src/examples/simple_central/cc26xx/app/simple_central.c | 2 ++ .../cc26xx/app/headstage/headstage_version.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_central/cc26xx/app/simple_central.c b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_central/cc26xx/app/simple_central.c index 963742520..6723e0caf 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_central/cc26xx/app/simple_central.c +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_central/cc26xx/app/simple_central.c @@ -1651,6 +1651,7 @@ static void SimpleBLECentral_processGATTMsg(gattMsgEvent_t *pMsg) mem_UART_display("FC Violated: \n\r"); #endif + err_ack[7] = 99; UART_write(uart_handle, err_ack, 10); } else if (pMsg->method == ATT_MTU_UPDATED_EVENT) @@ -1674,6 +1675,7 @@ static void SimpleBLECentral_processGATTMsg(gattMsgEvent_t *pMsg) central_handle_notify(att_notify->len, att_notify->pValue); } else{ + err_ack[7] = 5; UART_write(uart_handle, err_ack, 10); } diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_version.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_version.h index 044523e04..80202a6b7 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_version.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_version.h @@ -6,11 +6,11 @@ #define VERSION_DATE_MONTH 8 #define VERSION_DATE_DAY 20 #define VERSION_DATE_HOUR 14 -#define VERSION_DATE_MINUTE 25 +#define VERSION_DATE_MINUTE 40 // this is NOT the version hash !! // it's the last version hash -#define VERSION_HASH 4877e4cd1fe372a1911b7c6aea2780e07de62426 +#define VERSION_HASH 0155ce6488032d0b7db4082dc0e6eeb6164c4313 #define VERSION_GIT_BRANCH simple_central_ma_pin #endif