asset_tracker is starting, but modem_configure does not return in ().
What could be the cause?
asset_tracker is starting, but modem_configure does not return in ().
What could be the cause?
Hi!
It seems like the device might be struggling with connecting to the network. To make it easier for me to help you could you answer the following questions:
- Which version of NCS are you using?
- What network are you trying to connect to (NB-IoT/LTE-M)?
- Which version of the Thingy:91 do you have?
- Who is your SIM-provider?
Best regards,
Carl Richard
NCS V1.4.2
LTE-M
Thingy91 1.4.0
I'm using the SIM that comes with it.
Ok, thanks. Have you done any modifications to the code?
And could you try to see if you are able to connect using the at_client sample in the SDK?
Best regards,
Carl Richard
You have made changes, but not at initialization.
at_client the following display after running the following display.
I don't know what to do after this.
*** Booting Zephyr OS build v2.4.0-ncs2 ***
The AT host sample started
Could you send the following sequence of commands into the at_client sample:
AT+CFUN=1
AT+CFUN=0
And give me the output? Please give the modem some time(~1 minute) to turn on after issuing AT+CFUN=1.
Best regards,
Carl Richard
LTE Link Monitor cannot connect.
LTE Link Monitor cannot connect.
Since I was able to connect with J-Link RTT Viewer,
I tried to throw at command.
Nothing happens.
The LTE Link Monitor uses the UART interface, so you must have a USB cable connected to the device. This also enables you to send AT Commands.
Best regards,
Carl Richard
Even if thingy91 is connected via USB, lte link monitor will be "No devices available".
at_client saw the .c main, but only printk.
Is this all right?
C:\Users\m-koike\ncs\v1.4.2\nrf\samples\nrf9160\at_client\src\main.c
That is correct, yes. The sample should simply enable you to communicate directly with the modem over UART. You can read more about it in the documentation. Lets step back a little and try from the beginning.
1. Download the latest Thingy:91 firmware.
2. Flash img_app_bl/thingy91_nrf52_connectivity_bridge_2020-10-30_5522ca2b.hex to the nRF52840
3. Flash img_app_bli/thingy91_at_client_2020-10-30_5522ca2b.hex to the nRF9160
4. Open LTE link monitor and see of you can find the device (make sure USB is connected). Try with and without Auto device/port filter enabled if it doesn't show up.
5. Send the command "AT+CFUN=1"
6. Send the command "AT+CFUN?"
7. Wait 1 minute.
8. Send "AT+CFUN?" again.
9. Post the log here.
This is just to verify that the Thingy can in fact connect using the original code.
Best regards,
Carl Richard