Hi,
I received the nRF9160DK yesterday, and used the AT Client to get talking to the modem and connecting to a network. In VS Code I built an application from sample - Simple MQTT.
When I debug the application, it always fails to talk to the modem. I don't get any flashing led on the board so I assume the modem isn't being turned on. I cant seem to find any function or command that turns on the modem. I looked at the code for the AT Client and all I noticed was the "enable_xtal()" function for comms. Apologies, this is probably a very simple question, but I feel like I must be missing something, else I will have to go to a low level C just to turn on the modem.
Trace below.
*** Booting Zephyr OS build v2.6.0-rc1-ncs1 ***
E: Failed to send AT command (err:9)
E: Failed to configure CID 0, err, -9
E: Failed to configure default CID, err -9
E: Failed to send AT command (err:9)
E: Failed to subscribe to CEREG notifications
E: Failed to enable notifications, error: -9
E: Failed to send AT command (err:9)
I: The MQTT simple sample started 0
I: Enabling PSM and eDRX 0
E: Failed to send AT command (err:9)
E: Failed to send AT command (err:9)
E: Failed to enable eDRX, error: -9
I: LTE Link Connecting... 0
E: Failed to send AT command (err:9)
E: Could not send AT command
E: Could not get current system mode, error: -9
I: Failed to establish LTE connection: -9
I: Retrying in 120 seconds
Thanks,
Damien