Skip to content

AllThingsTalk Arduino LTE-M SDK v2.0

Compare
Choose a tag to compare
@epiller epiller released this 19 Jun 14:21
· 16 commits to master since this release

The new AllThingsTalk SDK for LTE-M devices is here! What's new?

A lot of things. If you're coming from the old SDK, make sure to check the README because absolutely everything is covered there.
In a nutshell, here's what the new SDK does:

  • Significantly simplified API
  • Handles and maintains LTE-M Connection with a single method
  • Handles and maintains connection to AllThingsTalk with a single method
  • Enables you to add actuations (receive data) with two lines of code
    • You can add up to 32 actuations
    • Automatically recognizes the data type you're trying to receive from AllThingsTalk so you don't have to convert anything
    • Also useful for knowing if your device is really offline or if there's no new data to send
  • Sending data with one line of code using the new JSON sending method
  • Has three levels of debug output via serial interface. If you choose verbose, be prepared to see everything that's happening behind the scenes, and if you're interested in the underlying AT commands being sent, you can also enable the AT Command Debug Output

Upgrading from 1.x.x

This is a major update with a lot of simplifications so you'll have a lot less code in your sketch once you upgrade!

  • In your Arduino IDE, go to Tools > Manage Libraries and search for "AllThingsTalk LTE-M SDK" by AllThingsTalk.
  • Click "Update" to update to this version!
  • Go to File > Examples > AllThingsTalk LTE-M SDK and check all the examples to get to know the new SDK and its methods (or just browse through examples here on GitHub)

If you encounter any issues, check the Troubleshooting part of the README file, and if that doesn't help, we encourage you to open up a new issue!