diff --git a/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/peripheral.c b/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/peripheral.c index 4190b21..84ad79f 100644 --- a/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/peripheral.c +++ b/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/peripheral.c @@ -731,6 +731,9 @@ static void performPeriodicTask(void) static void peripheralChar4Notify(uint8_t *pValue, uint16_t len) { attHandleValueNoti_t noti; + PRINT("N4 enter: len=%d resp=%d amt=%d seq=%d off=%d\n", len, + g_buf_ble_response.flag, g_buf_ble_response.pkg_amount, + g_buf_ble_response.pkg_seq, g_buf_ble_response.dat_offset); if(len > (peripheralMTU - 3)) { PRINT("Too large noti, len:%d, peripheralMTU:%d\n", len, peripheralMTU); @@ -749,6 +752,9 @@ static void peripheralChar4Notify(uint8_t *pValue, uint16_t len) else { uint8_t _ti = 0; + PRINT("N4 after simpleProfile_Notify: resp=%d amt=%d seq=%d off=%d\n", + g_buf_ble_response.flag, g_buf_ble_response.pkg_amount, + g_buf_ble_response.pkg_seq, g_buf_ble_response.dat_offset); PRINT("BLE notify OK, len:%d, MTU:%d\n", len, peripheralMTU); for(_ti = 0; _ti < len; _ti++) {