简体   繁体   中英

Connecting to AWS IoT with Arduino Yun + GPRS

I'm just starting out with AWS IoT and Arduino and have had a look at the SDK for the Arduino Yun on Github . I have data collected by the Arduino and sensors and a GPRS shield connected to the Arduino to send this data, ideally to AWS IoT.

The information on the Github page seems to be related to WiFi? Looking at the installation instructions to set up OpenWRT. Naive question but if I want to use GPRS as my means for Internet connectivity and therefore AWS IoT connectivity, how can I proceed? I'm guessing I won't need to use MQTT as I only want to publish data, and not subscribe to any topics, therefore I can use HTTPS?

The easiest is if you use AWS IoT Device SDK ( http://docs.aws.amazon.com/iot/latest/developerguide/iot-device-sdk.html ), which handles MQTT for you. This means you don't need to worry about the protocol to use, just call the bits you need. As long as you have internet connectivity, it doesn't matter if you go via WiFi of GPRS.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM