SlideShare a Scribd company logo
Building IoT applications
using CC3100 user API
• Get whether application using CC3100:
This application demonstrates how to connect
to openweathermap.org server and request for
weather details of a city.
The application opens a TCP socket w/ the
server and sends a HTTP Get request to get the
weather details.
The received data is processed and displayed on
the console window as shown below.
Block diagram of Get Weather application
Get Weather Application Console Window
Flow Chart of getting weather application
• To perform this application, we need to set an
IP address for the device CC3100 with TIVA
Launchpad. We can set IP address for the
device CC3100 statically or dynamically as we
discussed in the session.
• The below steps demonstrates the
configuration of a static IP address for CC3100
TIVA Launchpad.
• Here the device connects to the Access Point
(APwith the configured static IP.
• The static IP address is stored inside the non-
volatile memory of CC3100.
• The basic steps for assigning IP address to a
CC3100 device are given in the flowchart
shown in figure.
Flowchart for using CC3100 as a WLAN Station
• We can also make CC3100 module as a HTTP
server with TIVA Launchpad.
• HTTP is an acronym for Hyper Text Transfer
Protocol.
• HTTP is a client/server protocol used to deliver
hypertext resources (HTML web pages,
images, query results, and so forth) to the
client side.
• HTTP works on top of a predefined TCP/IP. (
Transmission Control Protocol / Internet
Protocol).
• HTTP web server allows endusers to remotely
communicate with the CC3100 by using a
standard web browser.
• The HTTP web server enables the following
functions:
• Device configuration
• Device status and diagnostic
• Application-specific functionality
• The HTTP server handles the HTTP request by
listening on the HTTP socket id which is by
default 80.
• Based on the request type, such as HTTP GET
or HTTP POST, the server handles the request
URI resource and content.
• The server then composes the appropriate
HTTP response and returns it to the client.
• The server communicates with the serial flash
file system, which hosts the web page files.
• The files are saved in the serial flash with their
individual filenames.
• If we configure CC3100 as a server then it will
be in Access Point (AP) mode with a pre-
defined SSIDNAME and uses the sample HTML
pages stored in Flash which can be accessed
by the clients.
• Clients can connect to CC3100 and request for
web-pages using the IP of device from any
standard web browser.
• There are pre-programmed html pages
already residing on the flash and new HTML
pages can be downloaded on serial-flash of
CC3100 using CCS_UniFlash utility using a
separate tool EMU-BOOST.
• The scope of this study will be to use the
existing html pages already pre-programmed
in the flash by default.
• The flowchart for using CC3100 device as a
HTTP server is given in below figure.
Flowchart for configuring CC3100 as a HTTP Server

More Related Content

Similar to Building IoT applications using CC3100 user API.pptx

CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9Waqas Ahmed Nawaz
 
Konsep pembangunan tapak web & laman web
Konsep pembangunan tapak web & laman webKonsep pembangunan tapak web & laman web
Konsep pembangunan tapak web & laman webAhmad Faizar
 
User server interaction-Cookies
User server interaction-CookiesUser server interaction-Cookies
User server interaction-CookiesJoy Patel
 
Best Way to Prepare for Citrix CCA-V (1Y0-204) Certification Exam
Best Way to Prepare for Citrix CCA-V (1Y0-204) Certification ExamBest Way to Prepare for Citrix CCA-V (1Y0-204) Certification Exam
Best Way to Prepare for Citrix CCA-V (1Y0-204) Certification ExamAmaaira Johns
 
SenchaCon 2016: How to Give your Sencha App Real-time Web Performance - James...
SenchaCon 2016: How to Give your Sencha App Real-time Web Performance - James...SenchaCon 2016: How to Give your Sencha App Real-time Web Performance - James...
SenchaCon 2016: How to Give your Sencha App Real-time Web Performance - James...Sencha
 
Adding Wi-Fi capability to the Microcontroller.pptx
Adding Wi-Fi capability to the Microcontroller.pptxAdding Wi-Fi capability to the Microcontroller.pptx
Adding Wi-Fi capability to the Microcontroller.pptxPenchalReddy7
 
Adding Wi-Fi capability to the Microcontroller.pptx
Adding Wi-Fi capability to the Microcontroller.pptxAdding Wi-Fi capability to the Microcontroller.pptx
Adding Wi-Fi capability to the Microcontroller.pptxPenchalReddy7
 
User server interaction
User server interactionUser server interaction
User server interactionbhavanatmithun
 
z/Ware 2.0 Technical Overview
z/Ware 2.0 Technical Overviewz/Ware 2.0 Technical Overview
z/Ware 2.0 Technical Overviewillustrosystems
 
vpn router Mikrotik
vpn router Mikrotikvpn router Mikrotik
vpn router Mikrotiktodangkhoa
 
APIs_ An Introduction.pptx
APIs_ An Introduction.pptxAPIs_ An Introduction.pptx
APIs_ An Introduction.pptxAkashThorat25
 
Overview of SignalR
Overview of SignalROverview of SignalR
Overview of SignalRAmit Naik
 
Hia 1691-using iib-to_support_api_economy
Hia 1691-using iib-to_support_api_economyHia 1691-using iib-to_support_api_economy
Hia 1691-using iib-to_support_api_economyAndrew Coleman
 
Soa 11 representational state transfer rest
Soa 11 representational state transfer restSoa 11 representational state transfer rest
Soa 11 representational state transfer restVaibhav Khanna
 
Study Guide for Preparing Citrix Certified Professional - Networking (1Y0-341...
Study Guide for Preparing Citrix Certified Professional - Networking (1Y0-341...Study Guide for Preparing Citrix Certified Professional - Networking (1Y0-341...
Study Guide for Preparing Citrix Certified Professional - Networking (1Y0-341...Amaaira Johns
 
Brushing skills on SignalR for ASP.NET developers
Brushing skills on SignalR for ASP.NET developersBrushing skills on SignalR for ASP.NET developers
Brushing skills on SignalR for ASP.NET developersONE BCG
 
Configuring lifa for remote communication using web architecture
Configuring lifa for remote communication using web architectureConfiguring lifa for remote communication using web architecture
Configuring lifa for remote communication using web architectureVatsal N Shah
 
Asas Pelayaran Internet
Asas Pelayaran InternetAsas Pelayaran Internet
Asas Pelayaran InternetAhmad Faizar
 
NWI FOR OLATUNDE ISMAILA (G10B)
NWI FOR OLATUNDE ISMAILA (G10B)NWI FOR OLATUNDE ISMAILA (G10B)
NWI FOR OLATUNDE ISMAILA (G10B)olatunde ismaila
 
Cisco-Wireless-Guest-v10.pptx
Cisco-Wireless-Guest-v10.pptxCisco-Wireless-Guest-v10.pptx
Cisco-Wireless-Guest-v10.pptxAkashMalkood1
 

Similar to Building IoT applications using CC3100 user API.pptx (20)

CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
 
Konsep pembangunan tapak web & laman web
Konsep pembangunan tapak web & laman webKonsep pembangunan tapak web & laman web
Konsep pembangunan tapak web & laman web
 
User server interaction-Cookies
User server interaction-CookiesUser server interaction-Cookies
User server interaction-Cookies
 
Best Way to Prepare for Citrix CCA-V (1Y0-204) Certification Exam
Best Way to Prepare for Citrix CCA-V (1Y0-204) Certification ExamBest Way to Prepare for Citrix CCA-V (1Y0-204) Certification Exam
Best Way to Prepare for Citrix CCA-V (1Y0-204) Certification Exam
 
SenchaCon 2016: How to Give your Sencha App Real-time Web Performance - James...
SenchaCon 2016: How to Give your Sencha App Real-time Web Performance - James...SenchaCon 2016: How to Give your Sencha App Real-time Web Performance - James...
SenchaCon 2016: How to Give your Sencha App Real-time Web Performance - James...
 
Adding Wi-Fi capability to the Microcontroller.pptx
Adding Wi-Fi capability to the Microcontroller.pptxAdding Wi-Fi capability to the Microcontroller.pptx
Adding Wi-Fi capability to the Microcontroller.pptx
 
Adding Wi-Fi capability to the Microcontroller.pptx
Adding Wi-Fi capability to the Microcontroller.pptxAdding Wi-Fi capability to the Microcontroller.pptx
Adding Wi-Fi capability to the Microcontroller.pptx
 
User server interaction
User server interactionUser server interaction
User server interaction
 
z/Ware 2.0 Technical Overview
z/Ware 2.0 Technical Overviewz/Ware 2.0 Technical Overview
z/Ware 2.0 Technical Overview
 
vpn router Mikrotik
vpn router Mikrotikvpn router Mikrotik
vpn router Mikrotik
 
APIs_ An Introduction.pptx
APIs_ An Introduction.pptxAPIs_ An Introduction.pptx
APIs_ An Introduction.pptx
 
Overview of SignalR
Overview of SignalROverview of SignalR
Overview of SignalR
 
Hia 1691-using iib-to_support_api_economy
Hia 1691-using iib-to_support_api_economyHia 1691-using iib-to_support_api_economy
Hia 1691-using iib-to_support_api_economy
 
Soa 11 representational state transfer rest
Soa 11 representational state transfer restSoa 11 representational state transfer rest
Soa 11 representational state transfer rest
 
Study Guide for Preparing Citrix Certified Professional - Networking (1Y0-341...
Study Guide for Preparing Citrix Certified Professional - Networking (1Y0-341...Study Guide for Preparing Citrix Certified Professional - Networking (1Y0-341...
Study Guide for Preparing Citrix Certified Professional - Networking (1Y0-341...
 
Brushing skills on SignalR for ASP.NET developers
Brushing skills on SignalR for ASP.NET developersBrushing skills on SignalR for ASP.NET developers
Brushing skills on SignalR for ASP.NET developers
 
Configuring lifa for remote communication using web architecture
Configuring lifa for remote communication using web architectureConfiguring lifa for remote communication using web architecture
Configuring lifa for remote communication using web architecture
 
Asas Pelayaran Internet
Asas Pelayaran InternetAsas Pelayaran Internet
Asas Pelayaran Internet
 
NWI FOR OLATUNDE ISMAILA (G10B)
NWI FOR OLATUNDE ISMAILA (G10B)NWI FOR OLATUNDE ISMAILA (G10B)
NWI FOR OLATUNDE ISMAILA (G10B)
 
Cisco-Wireless-Guest-v10.pptx
Cisco-Wireless-Guest-v10.pptxCisco-Wireless-Guest-v10.pptx
Cisco-Wireless-Guest-v10.pptx
 

Recently uploaded

NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...Amil baba
 
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringKIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringDr. Radhey Shyam
 
Explosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdfExplosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdf884710SadaqatAli
 
Top 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering ScientistTop 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering Scientistgettygaming1
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfKamal Acharya
 
Construction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxConstruction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxwendy cai
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdfKamal Acharya
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.PrashantGoswami42
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdfKamal Acharya
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdfKamal Acharya
 
Peek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdfPeek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdfAyahmorsy
 
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdfDR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdfDrGurudutt
 
Pharmacy management system project report..pdf
Pharmacy management system project report..pdfPharmacy management system project report..pdf
Pharmacy management system project report..pdfKamal Acharya
 
grop material handling.pdf and resarch ethics tth
grop material handling.pdf and resarch ethics tthgrop material handling.pdf and resarch ethics tth
grop material handling.pdf and resarch ethics tthAmanyaSylus
 
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringC Sai Kiran
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxR&R Consult
 
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxMd. Shahidul Islam Prodhan
 
Supermarket billing system project report..pdf
Supermarket billing system project report..pdfSupermarket billing system project report..pdf
Supermarket billing system project report..pdfKamal Acharya
 
Maestro Scripting Language CNC programacion
Maestro Scripting Language CNC programacionMaestro Scripting Language CNC programacion
Maestro Scripting Language CNC programacionliberfusta1
 
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdfONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdfKamal Acharya
 

Recently uploaded (20)

NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
 
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringKIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
 
Explosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdfExplosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdf
 
Top 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering ScientistTop 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering Scientist
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdf
 
Construction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptxConstruction method of steel structure space frame .pptx
Construction method of steel structure space frame .pptx
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdf
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdf
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdf
 
Peek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdfPeek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdf
 
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdfDR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
 
Pharmacy management system project report..pdf
Pharmacy management system project report..pdfPharmacy management system project report..pdf
Pharmacy management system project report..pdf
 
grop material handling.pdf and resarch ethics tth
grop material handling.pdf and resarch ethics tthgrop material handling.pdf and resarch ethics tth
grop material handling.pdf and resarch ethics tth
 
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
 
Supermarket billing system project report..pdf
Supermarket billing system project report..pdfSupermarket billing system project report..pdf
Supermarket billing system project report..pdf
 
Maestro Scripting Language CNC programacion
Maestro Scripting Language CNC programacionMaestro Scripting Language CNC programacion
Maestro Scripting Language CNC programacion
 
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdfONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
 

Building IoT applications using CC3100 user API.pptx

  • 2. • Get whether application using CC3100: This application demonstrates how to connect to openweathermap.org server and request for weather details of a city. The application opens a TCP socket w/ the server and sends a HTTP Get request to get the weather details. The received data is processed and displayed on the console window as shown below.
  • 3. Block diagram of Get Weather application
  • 4. Get Weather Application Console Window
  • 5. Flow Chart of getting weather application
  • 6. • To perform this application, we need to set an IP address for the device CC3100 with TIVA Launchpad. We can set IP address for the device CC3100 statically or dynamically as we discussed in the session. • The below steps demonstrates the configuration of a static IP address for CC3100 TIVA Launchpad.
  • 7. • Here the device connects to the Access Point (APwith the configured static IP. • The static IP address is stored inside the non- volatile memory of CC3100. • The basic steps for assigning IP address to a CC3100 device are given in the flowchart shown in figure.
  • 8. Flowchart for using CC3100 as a WLAN Station
  • 9. • We can also make CC3100 module as a HTTP server with TIVA Launchpad. • HTTP is an acronym for Hyper Text Transfer Protocol. • HTTP is a client/server protocol used to deliver hypertext resources (HTML web pages, images, query results, and so forth) to the client side.
  • 10. • HTTP works on top of a predefined TCP/IP. ( Transmission Control Protocol / Internet Protocol). • HTTP web server allows endusers to remotely communicate with the CC3100 by using a standard web browser.
  • 11. • The HTTP web server enables the following functions: • Device configuration • Device status and diagnostic • Application-specific functionality
  • 12. • The HTTP server handles the HTTP request by listening on the HTTP socket id which is by default 80. • Based on the request type, such as HTTP GET or HTTP POST, the server handles the request URI resource and content. • The server then composes the appropriate HTTP response and returns it to the client.
  • 13. • The server communicates with the serial flash file system, which hosts the web page files. • The files are saved in the serial flash with their individual filenames.
  • 14. • If we configure CC3100 as a server then it will be in Access Point (AP) mode with a pre- defined SSIDNAME and uses the sample HTML pages stored in Flash which can be accessed by the clients. • Clients can connect to CC3100 and request for web-pages using the IP of device from any standard web browser.
  • 15. • There are pre-programmed html pages already residing on the flash and new HTML pages can be downloaded on serial-flash of CC3100 using CCS_UniFlash utility using a separate tool EMU-BOOST. • The scope of this study will be to use the existing html pages already pre-programmed in the flash by default. • The flowchart for using CC3100 device as a HTTP server is given in below figure.
  • 16. Flowchart for configuring CC3100 as a HTTP Server