nRF9160 new SDK integration and build procedure

Hi Team,

We are starting new product development using nrF9160 modem.

I saw that new SDK available is v3.0.2. I hope we have to build/compile it in VS code, am I correct?

Can you please provide complete procedure from downloading v3.0.2 SDK from nRF desktop application to build the sample code in VS code.

Regards,

Sravan Rikka

  • Hi Øyvind,

    1. Is the GPS functionality can be enabled using nRF9160? If yes, can you please share the steps or procedure.

    2. OTP memory available in nRF9160? if yes, how to access it?

    3. If there is no catM1 or NBIOT network then will it fall back to 2g/3g?

    4. When used QoS as 1 or QoS 2 and if the broker is down and how many times the nRF9160 retries sending publish message to the broker?

    5. QoS 1 or QoS 2 acknowledgements are handled by stack right? not handled in application level? If application wants to know that publish is successfully received by broker, is it possible, if yes please provide procedure.

    6. nRF9160 subscribe for a topic and went to sleep state and publisher published the message to the broker but subscriber is in sleep state then broker will wait till subscriber wakeup and forwards the publish message? or broker will discard the message?

    Regards,

    Sravan Rikka

  • Hello, 

    sravan.rikka said:
    1. Is the GPS functionality can be enabled using nRF9160? If yes, can you please share the steps or procedure.

    Yes, the nRF9160 support GNSS. Have a look at our GNSS sample, and the Modem Library chapter on GNSS. You can also use the Serial LTE Modem application to configure GPS.

    Please note: GPS receiver operation is time multiplexed with the LTE modem, and GPS and QZSS position can be received while the LTE modem is in RRC Idle mode, power saving mode (PSM), or completely deactivated. See GPS Receiver chapter in nRF9160 Datasheet

    sravan.rikka said:
    2. OTP memory available in nRF9160? if yes, how to access it?

    Yes, the OTP region of UICR is emulated by placing a write-once per halfword limitation on registers defined here. Please see OTP subsection in Key Management Unit (KMU) chapter and OTP in the UICR register.

    sravan.rikka said:
    3. If there is no catM1 or NBIOT network then will it fall back to 2g/3g?

    No. The nRF91 series support CatM1 and NB-IoT only.

    sravan.rikka said:
    4. When used QoS as 1 or QoS 2 and if the broker is down and how many times the nRF9160 retries sending publish message to the broker?
    1. / .5 The application itself does not have built-in Quality of Service (QoS) handling. While the MQTT helper stack supports acknowledging QoS messages, it’s the responsibility of the application layer to implement full QoS behavior. This can be achieved by integrating the Quality of Service (QoS) library, which provides the necessary tools to manage message delivery guarantees.

    sravan.rikka said:
    6. nRF9160 subscribe for a topic and went to sleep state and publisher published the message to the broker but subscriber is in sleep state then broker will wait till subscriber wakeup and forwards the publish message? or broker will discard the message?

    • When a device is subscribed to a topic, the broker will immediately deliver any published messages to it, provided the device is awake and connected. If the device is asleep, message delivery depends on whether the cellular network buffers messages during that period. Please note that not all networks support message buffering, so this behavior can vary depending on the operator and configuration.

    Kind regards,
    Øyvind

Related