diff --git a/STM32CubeIDE/Release/WLE5CC_NODE_STS.bin b/STM32CubeIDE/Release/WLE5CC_NODE_STS.bin index a02394c..e715ca0 100644 Binary files a/STM32CubeIDE/Release/WLE5CC_NODE_STS.bin and b/STM32CubeIDE/Release/WLE5CC_NODE_STS.bin differ diff --git a/STM32CubeIDE/Release/WLE5CC_NODE_STS.elf b/STM32CubeIDE/Release/WLE5CC_NODE_STS.elf index 53f94c5..5ed2e0e 100644 Binary files a/STM32CubeIDE/Release/WLE5CC_NODE_STS.elf and b/STM32CubeIDE/Release/WLE5CC_NODE_STS.elf differ diff --git a/STS/Core/Src/yunhorn_sts_process.c b/STS/Core/Src/yunhorn_sts_process.c index 53743bd..521114a 100644 --- a/STS/Core/Src/yunhorn_sts_process.c +++ b/STS/Core/Src/yunhorn_sts_process.c @@ -562,7 +562,7 @@ void STS_YunhornSTSEventP5_Process(void) #if 1 if (sts_fhmos_bitmap_pending == FHMOS_BITMAP_GENERATED) { - APP_LOG(TS_OFF, VLEVEL_M, "\r\n Upload Fall Gesture Type 2 \r\n"); + APP_LOG(TS_OFF, VLEVEL_M, "\r\n Upload Fall Gesture Type 2 , status=%d \r\n", sts_fhmos_bitmap_pending); STS_FHMOS_sensor_upload_map(0x02); } @@ -2043,7 +2043,7 @@ void STS_FHMOS_sensor_upload_map(uint8_t map_index) STS_SENSOR_Upload_Message(YUNHORN_STS_L8_LORA_APP_DATA_PORT, i, (uint8_t *)tstbuf); sts_fhmos_bitmap_pending = FHMOS_BITMAP_FINISHED; // 2; - APP_LOG(TS_OFF, VLEVEL_M, "\r\n +++++++++++++++++++++++ \r\nBitmap Pending uploaded\r\n"); + APP_LOG(TS_OFF, VLEVEL_M, "\r\n +++++++++++++++++++++++ \r\nBitmap Pending uploaded, fhmos_bitmap_statue=%d\r\n", sts_fhmos_bitmap_pending); } #endif @@ -2548,7 +2548,7 @@ void YunhornSTSDurationCheckTimer(void) // upload state confirm message if (sts_fhmos_bitmap_pending == FHMOS_BITMAP_BLANK) { - //APP_LOG(TS_OFF, VLEVEL_M, "\r\nGenerate Fall Gesture Map\r\n"); + APP_LOG(TS_OFF, VLEVEL_M, "\r\nGenerate Fall Gesture Map, bitmap stateu=%d \r\n", sts_fhmos_bitmap_pending); UTIL_SEQ_SetTask((1 << CFG_SEQ_Task_LoRaSendOnTxTimerOrButtonEvent), CFG_SEQ_Prio_0); //APP_LOG(TS_OFF, VLEVEL_M, "\r\nGenerate Fall Gesture Map\r\n"); diff --git a/STS/TOF/App/app_tof.c b/STS/TOF/App/app_tof.c index 60428e5..fb5efc7 100644 --- a/STS/TOF/App/app_tof.c +++ b/STS/TOF/App/app_tof.c @@ -426,7 +426,7 @@ void sts_generate_fall_gesture_map(void) #endif sts_fhmos_bitmap_pending = FHMOS_BITMAP_GENERATED; - APP_LOG(TS_OFF, VLEVEL_L, "\r\n Fall Gesture bitmap Generated\r\n"); + APP_LOG(TS_OFF, VLEVEL_L, "\r\n Fall Gesture bitmap Generated, status=%d \r\n", sts_fhmos_bitmap_pending); } uint16_t MX_TOF_Ranging_Process(void) { @@ -722,6 +722,7 @@ static void print_result(RANGING_SENSOR_Result_t *Result) sts_head_level_low = 0; sts_fhmos_bitmap_pending = FHMOS_BITMAP_BLANK; to_confirm = 0; + APP_LOG(TS_OFF, VLEVEL_M, "\r\n return zero statues, bitmap status=%d \r\n", sts_fhmos_bitmap_pending); }