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

My first thingy 91. I want to use it as an asset tracker just like it comes out of the box.

The current state of my thingy 91 is it blinks blue and then red.  nrf connect reports that it has not been provisionized or something similar. 

The included sim card is registered but not attached to any device.

I tried to update modem firmware, application firmware and application hex files. 

I seems I cannot get the correct combination of files in the right place and I may have overwritten something I shouldn't have.

I am not educated enough on exactly how everything works together. 

I am assuming there should be modem firmware and modem application, and also application firmware and application software.  based on what info I could scrape up on the internet and tech docs.

I am in Michigan, USA

Files do write and modem does update, just no success on the complete registration yet on nrf connect.

Any help will be greatly appreciated.

Thanks, Ken.

Parents
  • Hi Ken,

    As long as the sim is registered there's no need for it to be assigned to one specific device, it should work like it is now regardless.

    The light pulsating in a red color means that there is an error, so I would suggest starting with re-flashing the device with new firmware. 

    Just to clarify some things before we proceed: the hex-files are the application firmware, in embedded programming there is no software. So you only need to worry about three sets of firmware: modem firmware (zip-file), and application firmware for both the nrf91-sip and the nrf52840-soc on the Thingy:91. Application firmware for the nrf52840-soc is not needed to run the asset tracker example, so we can skip that as well.

    When you flash the application firmware through usb you should take special care to choose the hex-files with "dfu" as a part of their filename. You will find these in the folder named "images_dfu_hex". Also make sure that when flashing the nrf9160-sip that you choose the dfu with the right network protocol, for the USA I think LTE-M has the best coverage. so you want to flash the nrf9160-sip with the hex-file named "thingy91_ltem_dfu_2020...".

    Step by step: 

    1. Follow this guide for programming the modem firmware

    2. Follow this guide for programming the application firmware (making sure to use the right dfu hex-files for programming the nr9160-sip) 

    3. Download device certificate from your account on the nrf cloud webpage and install it with the certificate manager in LTE Link Monitor.  

    Then you may try to reconnect to the cloud, let me know if you're still not able to make it work after doing this. 

    Best regards, 

    Robin

  • Many Thanks for explaining the overall operation of this unit.  I followed the steps you outlined and the links supplied and I now have access on the cloud.  The only thing I did not do is the certificate step.  I'm not sure if I need to if it is already connected and uploading data to the cloud, can you confirm?

    I read that there are 3 GPS modes I would like to switch to the continuous tracking mode.  Is this a line of code that I send to the unit from the terminal?

    Thanks again for the translation

    Thanks, Ken.

  • Hi, 

    Yes, if the device is working with your cloud account now I don't see any need for updating the device certificate. 

    I'm not sure I understand what you mean by continuous tracking, the device will send GPS location data to the cloud at different intervals. You can enable the GPS and set the interval (value in seconds) by sending this command form the terminal window on the nrf cloud website. Setting the interval to 0 will disable the sending of GPS data. 

    {"appId":"GPS","messageType":"CFG_SET","data": {"enable":true,"interval": 20}}

    If I'm misunderstanding please provide me a link to where you read about the three different GPS modes and I will look into it further.  

    Best regards, 

    Robin

  • Hi Robin, Thanks for that terminal command on GPS interval, I would liken to know if there is a doc somewhere that lists these kinds of messages to the cloud.

  • Hi, I don't think that a complete list of commands does exist. I found the command here, along with a few other examples.

    Best regards, 

    Robin

  • http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/bsdlib/doc/api.html#gnss-socket

    I'm learning about sockets

    GNSS socket

    GNSS socket options

    Defines

    NRF_SO_GNSS_FIX_INTERVAL

    Identifies the option used to set the GNSS fix interval in seconds.

    Single-fix navigation mode is engaged by setting the fix interval to 0.

    Continuous navigation mode is engaged by setting fix interval to 1.

    Periodic navigation mode is engaged by setting the fix interval to value 10…1800. The unit is seconds.

    Thanks for you help, Ken

Reply Children
Related