This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

GPS on the Thingy91

Hi,

I am trying to get the GPS from my thingy91, but it is not working. I can see that the board has CAT-M1 connection when I press the top button to get the GPS signal (therefore the main LED starts to blink purple), the Link Monitor shows that the board is trying to get GPS data, but it is not showing on the NRF Cloud.

I have tried with two different SIM Cards (iBASIS and local Vodafone) because I have heard that the PSM mode was not working on roaming sims, but it is still not working. Also, I have tried with an external antenna, but it did not work either. Any tips?

  • Yep, this is related to PSM. Does Vodafone support LTE-M1 in New Zealand? Do you need to give in any APN code for that SIM? The problem is that even though the log says PSM mode is enabled, it really is not most likely. Do you also have a 91 DK or only a Thingy:91? Do you have a J-Link that you could program the Thingy:91 with?

    If you have a 91 DK, I would flash the DK with the at client example, then run the following commands:

    AT+CEREG=5
    AT+CPSMS=1,"","","10101010","00100001"
    AT+CEREG?

    From the Active Time & Periodic TAU output values, you should be able to see if PSM is enabled or not.

    It may also be that Vodafone does not support the current PSM interval. If that is the case, once you find a PSM time that works (try a few different values), update the Thingy code to reflect this change.

    From the documentation, I found this. Not sure if this applies to Vodafone, but I would maybe also double check with them on PSM values that are allowed.

    As long as you are testing on a window sill or outside, you should not need to use an external antenna. 

  • Update: It may also be a good idea to download the Thingy FW hex file from here if needed. The thingy91_at_client.hex file should work fine if you want to test AT commands on the Thingy:91. You will still need some sort of J-Link with a 10 pin SWD cable to program the Thingy.

  • Hi Bjorn,

    Yes, CAT-M1 is supported by Vodafone, and you can see above that I had CAT-M1 connection, but I did not manage to get the GPS signal.

    See below the outcome of the AT Commands that you asked:

  • Hi Bjorn,

    UPDATE:

    How can I turn off the Context 0 on the Thingy:91 FW?

    I spoke with our local technical support from Vodafone, and he reinforced that I need to get the connection through the APN iot, not through Vodafone, but if I send the AT+CGACT=0,0 the application reboots.

    I have managed to change the FW on the Thingy as well, so I have updated the 9160 FW and played with the AT Commands one.

  • Very sorry for the delayed response. I wonder if something is wrong with the CGDCONT command. When I connected to Vodafone in England, I was told to run this command:

    AT+CGDCONT=0,"IP","nb.inetd.gdsp"

    It may be the same as the command you are running, but this could be worth a try. Otherwise, I would recommend taking a modem trace & then sending it to me. I'll let the Finland team know & we can take it from there.

Related