GithubHelp home page GithubHelp logo

cc3200's Introduction

Mode Device SDK for CC3200 LaunchPad on Energia

See the first setup for CC3200 LaunchPad.

How to install

unzip ModeDeviceCC3200.zip file under your Energia Skeckbook location/library. 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...

File structures

License

  • LICENSES Please read the file.

Main driver files

  • ModeDevice.cpp
  • ModeDevice.h

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.

Example

  • /examples

Under the folder, you can find demo example to use Mode Cloud.

SSL cert register for Mode.

  • ModeWiFiClient.cpp
  • ModeWiFiClient.h

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

  • HttpClient.cpp
  • HttpClient.h

Thanks to Aurduio HttpClient project. We forked it and tweaked a bit to support SSL. This will be deprecated.

Logging

  • SimpleLog.h

If you want to get more logging information, define DUMP_DEBUG_LOG.

WebSocket lib

  • Base64.cpp
  • Base64.h
  • WebSocketClient.cpp
  • WebSocketClient.h
  • global.h
  • sha1.cpp
  • sha1.h

Thanks to Aurduio WebSocket project. We forked it and tweaked a bit to support SSL and Authentication header. This will be deprecated.

cc3200's People

Watchers

James Cloos avatar Carlos Ocejo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.