simple tracker nrf9160 COAP connection error

Hello,

I am currently going through the simple tracker solution on the Nordic cellular training and getting a bit stuck on the application.

Could you assist me on the below issue?

I am getting GNSS data and sending it to a COAP server without issues.

I can see that the network is attaching and the messages are sent to the server as well.

However, when I try to access the gps data on the simple tracker page I get a COAP connection error. 

I’m not too sure why I’m getting the error. I also tried to change up the URL but no luck.

The server details should be directed to the host site “californium.eclipseprojects.io” with the device name being "cali.all.nrftest".

I am using the Onomondo SIM if it makes any difference.

Also, I want to see if I could add an external GNSS antenna, is there a way I can set the device so that it uses the external GNSS antenna rather than the internal one?

I have connected an external antenna to the UFL connector, but it looks to be using an internal antenna rather than the external one.

I was just wondering if there is anything I would have to do to change the software to use the external antenna.

 

Any help would be appreciated and please let me know if you need any other information from me.

Screenshots:

the screenshot is done without the GPS fix but I have tested with the same result after fixing GPSnrf91_simple_tracker.zip

Parents Reply Children
  • Thank you for your response.

    I have tested again with the current device and it looks like the issues is due to the Onomondo SIM.

    When I use Ibasis SIM, the location is sent without issues. However, when the Onomondo SIM is used, the location is not sent properly to the server.

    Would this be due to Onomondo traffic being sent through to Onomondo platform rather than directed to the COAP server?

    Since Onomondo has their own traffic control platform, I'm suspecting this could be an issue with the application. The same issue is happening with the asset tracker found on the devzone IOT course.

  • I don't think, that the SIM card makes a difference on the transmission of the CoAP message.

    The

    0.000000,0.000000
    0.0 m
    0000-00-00 00:00:00

    is a valid CoAP message and no SIM provider will change a

    -36.750813,174.713177
    11.2 m
    2023-06-26 01:59:48

    into that zeros.

Related