Professional Documents
Culture Documents
Temp. sensor Range: -40~85℃, Accuracy:±5℃ Battery monitor Range: 1.8~3.8V, Resolution:50mV
GND VDDS
Dome Switch
GND
DIO_12
DIO_10
DIO_13
DIO_11
LED VDDS
GND
RESET
JTAG_TMSC
JTAG_TCKC
VDDS
RESET
VDDS
SWO
GND
TDO
TMS
RXD
TXD
TCK
TDI
External Port
LED
Accelerometer Sensor
Sub-1GHz micro-SMA
3.1 Gateway - Specification
CC2640R2F :
- http://www.ti.com/product/CC2640R2F/toolssoftware
C1350
- http://www.ti.com/product/CC1350/toolssoftware
CC3200 :
- SimpleLink Wi-Fi CC3200 Software Development Kit (SDK) : http://www.ti.com/tool/cc3200sdk
- Previous versions of UniFlash with support for CC3200/CC3100 : http://www.ti.com/tool/uniflash
1) UniFlash - http://processors.wiki.ti.com/index.php/CCS_UniFlash_v3.4.1_Release_Notes
Install
- Window office Install
2) Setup proced
ure 1. Turn off power switch inside gateway and set mode selection switch to configuration mode
2. Connect the supplied console cable to the PC USB port and to the console port on the gateway board
3. Check the COM port of the console cable through PC device management, start UniFlash, enter COM port
4. Run "Get Version" from the command pad to see if it runs without errors
5. Remove all update checks for files in "System Files" (update only by technical support personnel)
6. "/ Mqtt_config" in "User Files" (if not created) update check and set file path in PC (see mqtt_config.txt)
7. In "CC31xx / CC32xx Config Groups"
"Device Role": update check and select "Device Role" as Station
"Station": update check
"AP": Update check and input SSID and password for connecting with router (WiFi AP)
8. Select "Program" from "Operation" menu and execute it and wait for completion
Gateway Server
MQTT Broker
4) Sensor data transfer p <step-1> The gateway registers the subscribe topic on Broker and the server registers the publish topic of Gateway to Brok
rocedure
er.
<step-2> The server publishes the following message through the broker to the gateway's subscribe topic
{"TAG_read" : {"in": 0, "ti" : “FFFFFFFFFFFF", "ri": ["28", "31“] }}
<step-3> The gateway publishes the sensor data received from the communication module as a message of the following f
ormat.
(1) If the publish topic name is not defined by the user (default):
{“TAG_data”:{“ti”: “cc78ab528681”, “28”:010641020201030341040561, “31”:[22, 21.2, 49.9]}}
{"TAG_data" : { "ti" : “112233445566”, "00" : "0xaabbcc0000ddeeff” } } The publishing message from ID "112233445566". (Publishing advertisi
{"TAG_data" : { "ti" : “112233445566”, "24" : -78, "28" : 246 } } ng and UUID data messages separately)