sdk-ameba-v4.0c_180328/component/common/example/amazon_awsiot/readme.txt

14 lines
562 B
Text
Raw Normal View History

2019-04-02 08:34:25 +00:00
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.