Mode Device SDK for CC3200 LaunchPad on Energia
See the first setup for CC3200 LaunchPad.
How to install
ModeDeviceCC3200.zip file under your Energia
For more detail, read the guide.
To run the demo program, please open examples/ModeDeviceDemo_raw.ino file on Energia.
- Change your network SSID and password.
- Change Mode Device API key and device ID.
Run the demo program and see Serial console. You will see the following message.
Attempting to connect to Network named: . You're connected to the network Waiting for an ip address . Got IP Address: 10.1.10.106 Sent event Going to busy loop() and waiting for commands...
- LICENSES Please read the file.
Main driver files
We will keep the class name
ModeDevice and public method definition as much as possible.
Private methods, properties and other logic may vary in the future.
Under the folder, you can find demo example to use Mode Cloud.
SSL cert register for Mode.
The current WiFiClient class in Energia doesn't support SSL and we want to control root CA cert. That's why we require to access to properties in WiFiClass. Once Energia WiFiClient class supports SSL officially, ModeWiFiClient class will be gone.
HTTP client lib
Thanks to Aurduio HttpClient project. We forked it and tweaked a bit to support SSL. This will be deprecated.
If you want to get more logging information, define DUMP_DEBUG_LOG.
Thanks to Aurduio WebSocket project. We forked it and tweaked a bit to support SSL and Authentication header. This will be deprecated.