EasyManuals Logo

Telit Wireless Solutions ML865G1 At Commands Reference Guide

Telit Wireless Solutions ML865G1
545 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #516 background imageLoading...
Page #516 background image
ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 516 of 545 2020-04-15
3.22.6. AT#MQCONN - Connect and Log in the MQTT Broker
This command performs the connection and login to the MQTT broker.
SIM Presence
Setting saved
Can be aborted
MAX timeout
SELINT
Not required
Auto
No
-
2
AT#MQCONN=<instanceNumber>,<clientID>,<userName>,<passWord>
Set command performs network connection (using parameters set with #MQCFG) and sends the
CONNECT packet to the MQTT broker.
Parameters:
Name
Type
Default
Description
<instanceNumber>
integer
N/A
selects the client instance. The list of available
clients is obtained with AT#MQEN? or the read
command.
Value:
1÷maxClients
:
client instance range. To know maxClients value
use test command
<clientID>
string
-
identifies each MQTT client that connects to the
MQTT broker
<userName>
string
-
authentication and authorization
<passWord>
string
-
authentication and authorization
If connection status is other than init state or connected, disconnect using #MQDISC
before reconnecting using #MQCONN.
AT#MQCONN?
Read command reports the configuration of active MQTT connections in the format:
#MQCONN=<instanceNumber>,<state>
Additional info:
The following tables shows the <state> values and meanings:
Client status: <state>
Normal/ Failure Events Values
0
client is initialized but not connected
1
client performed MQTT authentication with
broker
2
connection closed or reset by the server
3
the answer to the ping request packet was
not received
4
the CONNACK packet was not received
5
the CONNECT packet was not delivered
6
failure in the m2mb APIs
7
socket timeout or read error

Table of Contents

Other manuals for Telit Wireless Solutions ML865G1

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Telit Wireless Solutions ML865G1 and is the answer not in the manual?

Telit Wireless Solutions ML865G1 Specifications

General IconGeneral
BrandTelit Wireless Solutions
ModelML865G1
CategoryWireless modules
LanguageEnglish

Related product manuals