using nRF9160 SLM

Hi Team,

Can you please provide your inputs here.

1. Is the nRF9160 SLM supports NIDD(non-ip data delivery)? If yes, can you please provide the AT commands to configure NIDD.

2. Is the  nRF9160 SLM MQTT supports TLS?

3. We have tried  nRF9160 SLM FOTA on nRF9160 DK board, it seems that FOTA upgrade is happening on external Flash and in next power cycle it is copying from external Flash to internal Flash. Is that my understanding correct? Is the external Flash is mandatory for the FOTA? Can't we upgrade the internal Flash directly through FOTA?

Regards,

Sravan Rikka

Parents Reply Children
  • Thank you very much for the clarifications.

    4. In case of op=1 or op=2, after upgrading how do I need to confirm that it is upgraded in internal Flash only.

  • You can disable the external flash in device tree or simply remove it, but the source codes already self explained how external flash is used, I wonder why you need to confirm.

    Best regards,

    Charlie

  • Thank you for the clarification.

    1. What is the maximum payload we can send using MQTT?

    2. Under "nrf9160_at_commands_v2.4" doc I couldn't find the MQTT related AT commands, where can I get it?

    I got it at below path.

    https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/serial_lte_modem/doc/MQTT_AT_commands.html

    And tried communicating with MQTT commands.

    When I send AT#XMQTTCFG=\"sravan/clientid\",60,0 , got ERROR response. Then thought to test read command then tried AT#XMQTTCFG? and got ERROR response. Why nRF9160 is giving error response for read command as well? am I missing anything.

  • Hi Sravan,

    1. See https://devzone.nordicsemi.com/f/nordic-q-a/101645/mqtt-publish-max-size/435465

    2. See Serial LTE modem — nRF Connect SDK 2.6.0 documentation (nordicsemi.com). SLM support two type of AT commands.

    About the MQTTCFG error, could you test with the nRF Connect for Desktop->Serial Terminal app and show me the log?

    Best regards,

    Charlie

  • 1. We are using mosquito broker then can I publish 256MB of data using MQTT  AT command? Will the nRF9160 sends out 256MB of data in single shot?

    2. Please see the screenshot of Desktop->Serial Terminal app.

    12:54:57.699	Initialising nrfutil module: device
    12:54:59.507	Using nrfutil-device core version: 7.7.1
    12:55:00.190	Using nrfutil-device version: 2.1.1
    12:55:00.190	Using nrf-device-lib version: 0.17.5
    12:55:00.190	Using nrfjprog DLL version: 10.24.0
    12:55:00.190	Using JLink version: JLink_V7.94e
    12:55:00.246	Device Connected SN:000960014654
    12:55:00.246	Getting serialport options from persistent store 000960014654.pc-nrfconnect-serial-terminal
    12:55:00.247	Device Connected SN:null
    12:55:08.919	Selected device with s/n 000960014654
    12:55:08.925	Opened port with options: {"baudRate":115200,"dataBits":"8","stopBits":"1","parity":"none","rtscts":false,"path":"COM17"}
    12:55:08.940	Get terminal settings from persistent store 000960014654.vCom-0.TerminalSettings
    12:55:54.286	Closed port: COM17
    12:55:55.641	Opened port with options: {"baudRate":115200,"dataBits":"8","stopBits":"1","parity":"none","rtscts":false,"path":"COM17"}
    12:55:55.661	Get terminal settings from persistent store 000960014654.vCom-0.TerminalSettings

Related