Jump to content
43oh

CC3200 HTTP Client Library, OAuth, REST API, TLS Example Code


Recommended Posts

I've just made available an example whose code could be used in various application that use REST APIs and OAuth authentication.

 

It uses the HTTP Client Library that comes with the CC3200 SDK 1.1.0 and TI-RTOS for SimpleLink. All code is in C.

 

It performs the following steps:-

  1. Obtains the current time from a SNTP server (this is required by TLS encyrption)
  2. Obtain the OAuth 2.0 Authentication token from the Telstra API using HTTP GET over a secure TLS connection
  3. Send an SMS message using the Telstra SMS API using HTTP POST over a secure TLS connection
There are many more details on the Github Repository:-

 


 


Here is a video demo of the SMS Doorbell being used - https://vimeo.com/132525037

 

 


Glenn

Link to post
Share on other sites
  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...