nRF9161 with MQTT Client in SLM

Hello

We are using a slave processor with AT command to communicate with the nRF9161 . This is working without problem

But we are initially using the Quick Start 0.2.7 (9161) to evaluate and understand the AT Commands

We are having a problem connecting to our normal MQTT Brokers . 

Ready
> at

OK
> AT+CGDCONT?

OK
>
> AT+CFUN=1

OK
> AT%XCONNSTAT=1

OK
> AT+CGDCONT?

+CGDCONT: 0,"IP","iot.1nce.net","10.XX.129.2",0,0

OK
> AT+CGMR

mfw_nrf91x1_2.0.1

OK
> AT%XSYSTEMMODE?

%XSYSTEMMODE: 1,1,1,3

OK

--------------------

The 

AT#XCLAC command returns

AT#XMQTTCFG

AT#XMQTTCON

AT#XMQTTPUB

AT#XMQTTSUB

AT#XMQTTUNSUB

So we are assuming that the MQTT Client is available within the nRF9161 firmware we are running

Configure the MQTT Client ID

> AT#XMQTTCFG="Wiska_Air",300,1

OK
> AT#XMQTTCFG?

#XMQTTCFG: "Wiska_Air",300,1

OK

The MQTT Connect Command does not give any reply and the nRF9161dk has to be reset

> AT#XMQTTCON=1,"mqttgateway”,”42Gears@123",”mqttbrokerstage.42gears.com",1890
> at
> at

Thank you for your help

Paul H

Related