EasyManuals Logo

Neoway N11 V2 User Manual

Neoway N11 V2
134 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 #113 background imageLoading...
Page #113 background image
N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
105
16.3 Setting MQTT Parameters: +IMQTTPARA
Description
To set the parameters of the device for Ali MQTT communication
Format
AT+IMQTTPARA=<ParaTag>,<ParaValue><CR>
Parameter
Description
<ParaTag>: MQTT parameter tag
TIMEOUT: MQTT timeout interval, unit: second
CLEAN: to specify whether to clear session
0: No
1: Yes
KEEPALIVE: heartbeat interval, unit: second
VERSION: MQTT version, 3.1 or 3.1.1
AUTHMODE: authentication mode
0: set parameter only and do not enable authentication
1: set parameter and enable authentication
The default value is 1.
<ParaValue>: MQTT parameter value
Return Value
<CR><LF>OK<CR><LF>
Example
AT+IMQTTPARA=TIMEOUT,2,CLEAN,1
,KEEPALIVE,60,VERSION,3.1.1
OK
Parameters are set successfully.
AT+IMQTTPARA=TIMEOUT,2
OK
One parameter is set successfully.
Remarks
The query command is executed to query all parameters and their values.
16.4 Setting up MQTT Connection: +IMQTTCONN
Description
To set up an MQTT connection to Ali server
Format
AT+IMQTTCONN<CR>
Parameter
N/A
Return Value
<CR><LF>OK<CR><LF>
Example
AT+IMQTTCONN
OK
An MQTT connection to Ali server is
set up successfully.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Neoway N11 V2 and is the answer not in the manual?

Neoway N11 V2 Specifications

General IconGeneral
BrandNeoway
ModelN11 V2
CategoryControl Unit
LanguageEnglish

Related product manuals