attempt to make write-charac & notify handle co-work correctly
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user