Hello, guys
I have nRF9151-dk running Serial LTE Modem (SLM) app on it and want to test the ability of working with sockets (open socket, send/receive data, close the socket...).
I'm following the flow of AT commands from here, but when it comes to connecting to the server with
AT#XCONNECT="google.com",80
modem responds with ERROR after some time.
FYI, prior to start working with sockets, the following AT commands are used to set modem device to full functionality:
Set to flight mode
AT+CFUN=4
Sets the device to full functionality. Active modes depend on the%XSYSTEMMODE setting
AT+CFUN=1
AT+CEREG? returns +CEREG: 1,5 (Registered to network, roaming) and only then I start with AT commands from here for socket open/send/receive/close...
Am I missing something in the flow of events? Do I need to somehow tell the modem the details about my SIM card as well?
Thanks in advance for your time and efforts.
Sincerely,
Bojan.