![background image](http://html.mh-extra.com/html/king-pigeon/s175/s175_user-manual_1969937054.webp)
Page 54 of 55
King Pigeon Hi-Tech. Co., Ltd.
Ver 1.3
GSM/SMS/GPRS/3G/4G
Cellular IoT Gateway
Humidity: The flag is "HUMI" and the data type is 16-bit type. The actual value is 2 decimal places, platform
has been mapped.
2)Power supply voltage: The flag is "EXTPWR" and the data type is 16-bit type. The actual value is 2 decimal
places and the platform has been mapped.
Extend I/O port
The flag of the extend I/O port is unified to "REGx" (x is the register address). For details of the flag,
reference to
["
Slave Mapping Register Address
”].
2. User topic subscription
1) Subscribe to the device
After the device publish the message on the proxy server, client can monitor the device through the
subscription.
Subscription format: serial number / + (subscription topic needs to add the wildcard "/+" after the serial
number)
2) Delivery format of device control
{
"sensorDatas":
[
{
"sensorsId": "211267", //cloud platform sensor ID
"value": "225", //switch type data, 0 is off, 1 is closed
"flag":"REG20116" // flag
}
],
"down": "down" // platform downlink message
}
Note:
The data sent by the device control must contain three types of information: sensor ID, data type, flag flag, and
downlink message packet.
//Sensor ID: The character is "sensorsID", and the ID is automatically generated according to the platform
definition.
/ / Data type and value: according to the type is divided into the following
1. The numeric character is "value" followed by: "data value"
2. The switch character is "switcher" followed by: "data value"
3. The string character is "str"
followed by: "data value"
/ / Flag: the character is "flag" followed by "read and write flag"
// Platform downlink message: Confirm data is sent.
13. Upgrade Firmware
The device supports upgrade firmware via USB port directly. If you required upgrade, please contact us to
discuss and modify the firmware according to you requirements, we can provide the upgraded firmware to
you to upgrade them.