RAK439 AP TCPS select超时错误



  • 环境:STM32F429+ucosiii+RAK439
    配置:RAK439 AP TCPS
    错误信息:
    int RAK_TcpSRecvClients(int sever_fd, RW_APP_CTX* app_ctx)中的select函数返回-20,也即timeout,请问这个问题的原因是什么?



  • log:
    main.c(367) platform_init: info: RAK module platform init...successed!
    main.c(369) platform_init: info: rak wifi LibVersion:1.0.7.0-2.1.51
    main.c(371) platform_init: info: rak wifi module-MAC:60:FFFFFFC5:FFFFFFA8:70:0F:33
    rw_lib_platform_os.c(44) connect_callback: info: connect_callback event = 0x2

    rw_lib_platform_os.c(74) connect_callback: info: ---------CONN_STATUS_AP_ESTABLISH--------

    ap_sta.c(54) rw_network_init: info: addr = 0XC0A80701

    tcp_udp.c(291) RAK_TcpServer_EventHandle: info: RAK_TcpServer sockfd = 0 creat

    rw_lib_platform_os.c(44) connect_callback: info: connect_callback event = 0x3

    rw_lib_platform_os.c(77) connect_callback: info: ---------CONN_STATUS_AP_CLT_CONNECTED--------

    rw_lib_platform_os.c(44) connect_callback: info: connect_callback event = 0x4

    rw_lib_platform_os.c(80) connect_callback: info: ---------CONN_STATUS_AP_CLT_DISCONNECT Code =4--

    rw_lib_platform_os.c(44) connect_callback: info: connect_callback event = 0x3

    rw_lib_platform_os.c(77) connect_callback: info: ---------CONN_STATUS_AP_CLT_CONNECTED--------


登录后回复
 

与 RAK支持中心 的连接断开,我们正在尝试重连,请耐心等待