#SSENDUDPEXT – Not working as expected

4 thoughts on “#SSENDUDPEXT – Not working as expected”

Until now I’ve been using #SD and then AT#SSENDEXT to send UDP packets to a server. Fine. All OK.

Now my application needs to use UDP in a more flexible way, so that packets can be sent more or less as follows

SEND_PKT ( IP_ADDR_A, PORT_A);

SEND_PKT ( IP_ADDR_B, PORT_B);

SEND_PKT ( IP_ADDR_C, PORT_C);

etc.

That is, fully flexible UDP.

I thought that SLUDP and SSENDUDPEXT might do. But when I use this combination I get “operation not supported” when I run the SSENDUDPEXT command.

I think the problem is that I’m setting up a Listening socket the SL part of SLUDP but then wanting to fire packets without ever having an Accept. But I don’t really want any listening /accept. I just need the equivalent of sendto()