mirror of
https://github.com/jialexd/sdk-ameba-v4.0c_180328.git
synced 2024-11-28 09:10:28 +00:00
13 lines
562 B
Text
Executable file
13 lines
562 B
Text
Executable file
AMAZON AWS IOT EXAMPLE
|
|
|
|
Description:
|
|
Connect to Amazon AWS IoT. It requires MQTT protocol over SSL session. The original MQTT library client handler does
|
|
not support IP port for MQTT over SLL (8883). So we implement it without client handler. You need to undef MQTT_TASK
|
|
to enable related configuration.
|
|
|
|
Configuration:
|
|
Modify MQTT_BROKER_SERVER, THING_NAME, rootCABuff, certificateBuff, privateKeyBuff based on you account settings.
|
|
|
|
Execution:
|
|
You need to connect to WiFi manually by AT command. After connected the mqtt connection will preceed.
|
|
|