Application Examples
Examples on this page provide a great way to get started writing applications that use ZentriOS. A number of examples use two ZentriOS devices running ZentriOS to demonstrate end-to-end connected applications. We have lots more application examples on the way. If you have a specific application in mind, please create a support ticket and provide details. We'll do our best to write up your application and add it here.
Notes
- The application command sequences provided with all examples on this page are intended to be conveniently pasted directly into a ZentriOS terminal.
- Unless otherwise indicated, all applications are configured for use with AMW004-E03 Mackerel boards. If you have a different eval board, GPIO settings may need to be adjusted to suit your board. See Peripherals.
- All examples assume the Mackerel board starts from a factory reset state
- Some examples use python scripts to demonstrate connection between a computer and a ZentriOS device(s). All scripts are based on Python 2.7.
Recent Changes
App Note | ZentriOS Version Required | Last Modified |
---|---|---|
Obtaining a Web Page TLS Certificate | v3.0 | 2016-Oct-20 |
Creating a Custom ZentriOS Bundle | v3.0 | 2016-Oct-20 |
HTTPS Intermediate Certificates | v3.1 | 2016-Apr-07 |
Serial HTTP Server Demonstration | v3.0 | 2016-Mar-15 |
SMTP Secure Email Demonstration | v3.0 | 2016-Feb-09 |
HTTP Upload Demonstration | v1.0 | 2015-Nov-19 |
HTTP Server WebSocket Demonstration | v2.1 | 2015-May-05 |
Using the HTTP GET and POST Commands | v1.0 | 2015-Apr-30 |
HTTP RESTful API | v2.1 | 2015-Apr-28 |
Wi-Fi Remote Terminal | v2.1 | 2015-Apr-21 |
Handling Multiple Clients with OOB Interrupts | v2.2 | 2015-Apr-10 |
Web App Recovery | v2.2 | 2015-Apr-08 |
UDP Client | v1.1 | 2015-Mar-31 |
Wireless Serial Port | v2.1 | 2015-Mar-24 |
Customizing the ZentriOS Web App | v2.1 | 2015-Mar-09 |
File System | v2.0 | 2015-Mar-05 |
Power Management | v1.2 | 2015-Feb-26 |
TCP Client | v1.0 | 2015-Feb-14 |
TCP Server + SoftAP | v1.0 | 2015-Feb-13 |
TCP Client and UDP Client Auto-Connect | v2.1 | 2015-Feb-03 |
Secure HTTP Server, with Client Authentication | v2.1 | 2015-Feb-03 |
mDNS Discovery | v2.1 | 2015-Feb-03 |
By Topic
ADC Data Transmission
- Broadcast UDP Packet - Modified: 2015-Feb-03
Broadcast UDP
- Broadcast UDP Packet - Modified: 2015-Feb-03
Configuration
- Creating a Custom ZentriOS Bundle - Modified: 2016-Oct-20
File System
- File System - Modified: 2015-Mar-05
Firmware Update & Recovery, Safe Mode
- Recovery from Safe Mode - Modified: 2015-Feb-03
HTTP Upload
- HTTP Upload - 2015-Nov-19
HTTP GET and POST
- Using the HTTP GET and POST Commands - Modified: 2015-Apr-30
- Obtaining a Web Page TLS Certificate - Modified: 2016-Oct-20
HTTP Server with RESTful API, JavaScript API, Python API
- Web App Recovery - Modified: 2015-Apr-08
- Customizing the ZentriOS Web App - Modified: 2015-Mar-09
- HTTP RESTful API - Modified: 2015-Feb-03
- HTTP Server WebSocket Demonstration - Modified: 2015-May-05
- Secure HTTP Server, with Client Authentication - Modified: 2015-Feb-03
- HTTPS Intermediate Certificates - 2016-Apr-07
- ZentriOSJS - ZentriOS JavaScript API
- ZentriOSpy - ZentriOS Python API
Serial HTTP Server
- Serial HTTP Server - 2016-Mar-15
mDNS Network Discovery
- mDNS Discovery - Modified: 2015-Feb-03
Peripherals
- Controlling GPIOs & LEDs - Modified: 2015-Feb-03
- Handling Multiple Clients with OOB Interrupts - Modified: 2015-Apr-10
Power Management
- Power Management - Modified: 2015-Feb-26
Serial Interface
- Wi-Fi Remote Terminal - Modified: 2015-Apr-21
Soft AP
- TCP Server + SoftAP - Modified: 2015-Feb-13
- Wireless Serial Port - Modified: 2015-Mar-24
- Serial HTTP Server - 2016-Mar-15
SMTP
- SMTP Secure Email - Modified: 2016-Feb-09
Stream Mode
- Wireless Serial Port - Modified: 2015-Mar-24
- High Speed UART - Modified: 2014-Nov-28
TCP Client
- TCP Client - Modified: 2014-Apr-03
- Wireless Serial Port - Modified: 2015-Mar-24
- Auto-connect - Modified: 2015-Feb-03
- Multiple TCP clients - Modified: 2014-May-08
- Handling Multiple Clients with OOB Interrupts - Modified: 2015-Apr-10
TLS Client
- Secure TLS Client - Modified: 2014-Nov-28
- HTTPS Intermediate Certificates - 2016-Apr-07
TCP Server
- TCP Server + SoftAP - Modified: 2014-Apr-03
- Wireless Serial Port - Modified: 2015-Mar-24
- Serial HTTP Server - 2016-Mar-15
- Handling Multiple Clients with OOB Interrupts - Modified: 2015-Apr-10
UDP Client
- UDP Client - Modified: 2015-Mar-31
- Broadcast UDP Packet - Modified: 2014-Nov-28
- Multi-client WLAN Messaging - Modified: 2014-May-08
- Wireless Serial Port - Modified: 2015-Mar-24
- Auto-connect - Modified: 2015-Feb-03
UDP Server
- Wireless Serial Port - Modified: 2015-Mar-24
WebSockets
- WebSocket Demonstration - Modified: 2015-May-05
WLAN
- Multi-client WLAN Messaging - Modified: 2014-May-08