Sending packets with arduino mkr gsm

hello,
i'm trying to send a packet using arduino mkr gsm 1400 board, but idont know how to do it properly using MKRGSM library, i found some examples for LORA case, but for gsm i'm not sure how to do it.
To undrestand better what i mean, i put the code for lora example.

 LoRa.beginPacket();

 
  LoRa.write(pachet, sizeof(pachet));

  LoRa.endPacket();
  
  delay(100);

  LoRa.sleep();
 
  delay(100);

have a look at the GSMClient and GSMSSLClient class in the documentation


GSMClient and GSMSSLClient class

The client class creates clients that can connect to servers and send and receive data.


so you could connect(), then beginWrite(), then write(), then endWrite() (and possibly stop() if you want to end the connection)

You need to know the IP address and port number of the server side you want to connect to and of course there needs to be a service running and listening on that port on the server if you want to get anything across.

Yes, that's what i need, i watched on it but i wasn't sure about it, thank you very much.
I connected to a server with the same GSMClient library and will send data to an LabView aplication that can listen to a port.
Thank you and have a nice evening!

great. have fun

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.