| | |
| | | #include "TONE.h" |
| | | #include "EC600SFSM.h" |
| | | #endif |
| | | |
| | | #include "WS2812.h" |
| | | /******************************************************************************* |
| | | * Macro * |
| | | *******************************************************************************/ |
| | |
| | | * Modified Date: : 2021年1月9日 |
| | | *******************************************************************************/ |
| | | uint8_t heartbeasend_flag = 0,userkey_state4g; |
| | | extern uint32_t uwbled,gpsled,loraled,powerled; |
| | | HIDO_INT32 UDPClient_Poll(void) |
| | | { |
| | | if(Internet_IsIPReady() == HIDO_TRUE) |
| | | { |
| | | loraled=RED; |
| | | if(UDP_CLIENT_STATE_IDLE == l_eUDPCLientState) |
| | | { |
| | | l_eUDPCLientState = UDP_CLIENT_STATE_CONNECTING; |
| | |
| | | } |
| | | else |
| | | { |
| | | loraled=LEDOFF; |
| | | l_eUDPCLientState = UDP_CLIENT_STATE_IDLE; |
| | | } |
| | | |