#SSENDUDPEXT – Not working as expected

4 thoughts on “#SSENDUDPEXT – Not working as expected

  1. Hi all,

     

    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()

     

    Any ideas?

     

    Thanks

    Ciarán

      1. Thanks for the reply Cosmin. Yes, I could. It’s just a slightly heavier interface rather than being able to shoot udp packets more liberally.

         

        can you confirm that the SSENDUDPEXT cannot be used to achieve what I need?

         

        Thanks again for your timely response.

         

         

        1. #SA is needed or use  ListenAutoRsp in AT#SCFGEXT, with the latter option only online mode is possible. Take care of the firewall too.