A Threaded Secure MQTT Client example. Uses MBED TLS for SSL/TLS connection. QoS0 only for now. Example has been tested with K64F connected via Ethernet.
Fork of HelloMQTT by
mbed_app.json
- Committer:
- vpcola
- Date:
- 2017-04-01
- Revision:
- 32:16ef25cbb05c
- Parent:
- 30:b2aed80037db
- Child:
- 35:c46b92269df4
File content as of revision 32:16ef25cbb05c:
{
"config": {
"network-interface":{
"help": "options are ETHERNET,WIFI_ESP8266,MESH_LOWPAN_ND,MESH_THREAD",
"value": "ETHERNET"
},
"mesh_radio_type": {
"help": "options are ATMEL, MCR20",
"value": "ATMEL"
},
"esp8266-tx": {
"help": "Pin used as TX (connects to ESP8266 RX)",
"value": "D1"
},
"esp8266-rx": {
"help": "Pin used as RX (connects to ESP8266 TX)",
"value": "D0"
},
"esp8266-ssid": {
"value": "\"VPCOLA\""
},
"esp8266-password": {
"value": "\"AB12CD34\""
},
"esp8266-debug": {
"value": true
},
"lcd-mosi": {
"value": "D11",
"macro_name": "LCD_MOSI"
},
"lcd-sck": {
"value": "D13",
"macro_name": "LCD_SCK"
},
"lcd-miso": {
"value": "D12",
"macro_name": "LCD_MISO"
},
"lcd-a0": {
"value": "D7",
"macro_name": "LCD_A0"
},
"lcd-ncs": {
"value": "D10",
"macro_name": "LCD_NCS"
}
},
"target_overrides": {
"*": {
"target.features_add": ["NANOSTACK", "LOWPAN_ROUTER", "COMMON_PAL"],
"mbed-mesh-api.6lowpan-nd-channel-page": 0,
"mbed-mesh-api.6lowpan-nd-channel": 12,
"mbed-trace.enable": 0
},
"HEXIWEAR": {
"esp8266-tx": "PTD3",
"esp8266-rx": "PTD2"
},
"NUCLEO_F401RE": {
"esp8266-tx": "D8",
"esp8266-rx": "D2"
},
"NUCLEO_F411RE": {
"esp8266-tx": "D8",
"esp8266-rx": "D2"
},
"NUCLEO_L476RG": {
"network-interface": "WIFI_ESP8266",
"esp8266-tx": "A0",
"esp8266-rx": "A1"
}
}
}
