2026-04-24 1:36 AM
Hi,
while integrating the module, we noticed that UDP client connections appear to be explicitly blocked in the driver (w61_at_net.c) for mission_t01 firmware (LwIP offload). The following code only allows TCP and SSL connections:
if ((conn->Protocol != W61_NET_TCP_CONNECTION) && (conn->Protocol != W61_NET_TCP_SSL_CONNECTION)
#if (W61_NET_IPV6_ENABLE == 1)
&& (conn->Protocol != W61_NET_TCPV6_CONNECTION) && (conn->Protocol != W61_NET_TCPV6_SSL_CONNECTION)
#endif /* W61_NET_IPV6_ENABLE */
)
{
NET_LOG_ERROR("Only TCP and SSL protocols are supported for client connections\n");
return W61_STATUS_ERROR;
}However, according to the official AT command documentation, UDP client connections are supported:
https://applist67.github.io/Web_AT_Documentation_ST67/v2.0.106/index.html#establish-udp-connection
After commenting out this restriction, I was able to establish a UDP client connection successfully, and communication seems to work.
Is there a specific reason why UDP client sockets are blocked at this level?
Are there any known limitations or risks when enabling UDP this way?
Thanks in advance for your clarification.
Solved! Go to Solution.
2026-04-28 3:05 AM
Hello @SlawekN ,
The UDP sockets are available on the middleware. You have to create a new UDP socket and then call the
2026-04-28 3:05 AM
Hello @SlawekN ,
The UDP sockets are available on the middleware. You have to create a new UDP socket and then call the