Guide Navigation
Quick Start Path
For developers new to NetBurner, follow this learning path:
Start Here
│
v
┌───────────────────┐
│ 1. Introduction │
└───────────────────┘
│
v
┌───────────────────┐
│ 2. Web Server │
└───────────────────┘
│
v
┌───────────────────┐
│ 3. RTOS Basics │
└───────────────────┘
│
v
┌───────────────────┐
│ 4. File │
│ Descriptors │
└───────────────────┘
│
v
[Advanced Topics]
By Use Case
Web Application Development
- Introduction to NetBurner Programming
- Web Server Programming
- HTML Processing Techniques
- Configuration Server
Real-Time Systems
- NetBurner RTOS
- Interrupt Handling
- File Descriptors
Network Programming
- Network Protocols Guide
- IPv4-IPv6 Dual Stack
- SSL/TLS Security
- SSH Protocol
Data Management
- JSON Lexer
- EFFS File System
- Configuration Server
Product Deployment
- Custom Branding Options
- Configuration Management
- Security Implementation
Document Descriptions
Introduction to NetBurner Programming
Focus:** Getting started with NetBurner development Key Topics:**
Configuration Server
Focus:** Device configuration and settings management Key Topics:**
- Configuration system architecture
- Web-based configuration interface
- Serial configuration access
- AppData structure usage
System settings management
When to Read:** When you need persistent device settings
Configuration Hierarchy:**
Config (Root)
│
┌───────┴───────┐
│ │
v v
AppData Sys
(Application) (System)
│ │
v v
[Custom Data] [Boot/Network]
Custom Branding
Focus:** OEM customization and white-label solutions Key Topics:**
IPv4-IPv6 Dual Stack
Focus:** Dual-stack networking implementation Key Topics:**
EFFS File System
Focus:** Embedded Flash File System operations Key Topics:**
File Descriptors
Focus:** Unified I/O abstraction layer Key Topics:**
HTML Processing
Focus:** Dynamic web content generation Key Topics:**
Interrupt Handling
Focus:** Hardware interrupt processing Key Topics:**
JSON Lexer
Focus:** JSON parsing and data access Key Topics:**
NetBurner RTOS
Focus:** Real-Time Operating System concepts Key Topics:**
Network Protocols
Focus:** TCP/IP stack and protocol implementation Key Topics:**
SSL-TLS Security
Focus:** Secure communication implementation Key Topics:**
SSH Protocol
Focus:** Secure Shell implementation Key Topics:**
Web Server
Focus:** Embedded HTTP server programming Key Topics:**
Development Workflow
Typical Application Development Process
1. Requirements Analysis
│
v
2. Architecture Design
│
v
┌───────────────────┐
│ Select Components │
│ - RTOS features │
│ - Network stack │
│ - Web interface │
│ - File system │
└───────────────────┘
│
v
3. Implementation
│
v
┌───────────────────┐
│ Core Application │
│ - UserMain() │
│ - Task creation │
│ - Initialization │
└───────────────────┘
│
v
4. Integration
│
v
┌───────────────────┐
│ Add Features │
│ - Web interface │
│ - Configuration │
│ - Protocols │
└───────────────────┘
│
v
5. Testing & Debug
│
v
6. Deployment
│
v
┌───────────────────┐
│ Production │
│ - Branding │
│ - Security │
│ - Documentation │
└───────────────────┘
Common Implementation Patterns
Pattern 1: Web-Based Device Control
Components Used:**
Pattern 2: Network Data Logger
Components Used:**
- Network Protocols (communication)
- EFFS (data storage)
- JSON Lexer (data format)
Configuration (settings)
Architecture:**
Network Data Source
│
v
┌───────────────────┐
│ Network Interface │
│ - TCP/UDP │
└───────────────────┘
│
v
┌───────────────────┐
│ Data Processing │
│ - JSON parsing │
│ - Validation │
└───────────────────┘
│
v
┌───────────────────┐
│ File Storage │
│ - Data logging │
└───────────────────┘
int write(int fd, const char *buf, int nbytes)
Write data to the stream associated with a file descriptor (fd). Can be used to write data to stdio,...
Pattern 3: Secure Remote Monitoring
Components Used:**
Cross-Reference Guide
By Task
Setting Up Network Communication
- Introduction - Basic network initialization
- Network Protocols - Protocol implementation
- IPv4-IPv6 Dual Stack - IP version support
- File Descriptors - Socket I/O
Creating User Interfaces
- Web Server - HTTP server basics
- HTML Processing - Dynamic content
- Configuration Server - Built-in UI
- Custom Branding - UI customization
Managing Data
- JSON Lexer - Data parsing
- EFFS File System - Storage
- Configuration Server - Settings persistence
- File Descriptors - I/O operations
Implementing Real-Time Features
- NetBurner RTOS - Task management
- Interrupt Handling - Hardware events
- File Descriptors - Device I/O
- Network Protocols - Communication
Securing Your Application
- SSL/TLS Security - Encrypted communication
- SSH Protocol - Secure access
- Configuration Server - Access control
- Custom Branding - Security customization
Quick Start Checklist
Essential Reading for New Developers
[ ] 1. Read Introduction
- Understand UserMain()
- Study example code
[ ] 2. Review RTOS Basics
- Task creation
- Basic synchronization
- System timing
[ ] 3. Explore Web Server
- Static content
- Dynamic tags
- Basic callbacks
[ ] 4. Study Configuration
- System settings
- Application data
- Web interface
[ ] 5. Understand File Descriptors
- I/O abstraction
- Network sockets
- Serial ports
Advanced Topics Preparation
[ ] Master RTOS features
- All synchronization types
- Task priorities
- System configuration
[ ] Network programming
- TCP/UDP sockets
- Protocol implementation
- IPv4/IPv6 support
[ ] Security implementation
- SSL/TLS setup
- SSH configuration
- Certificate management
[ ] Custom development
- Interrupt handlers
- Custom drivers
- Branding options
Document Conventions
Code Examples
Throughout this guide, code examples use the following conventions:
void ExampleFunction() {
}
void ConceptualExample() {
}
Platform References
Platform-specific information is clearly marked:
- All Platforms - Universal features
- MCF5441x - ColdFire specific
- SAME70 - Cortex-M7 specific
- SOMRT1061 - i.MX RT specific
Getting Help
Documentation Resources
┌───────────────────────────┐
│ Online Resources │
│ - NetBurner website │
│ - Technical support │
│ - Community forums │
└─────────────┬─────────────┘
│
v
┌───────────────────────────┐
│ SDK Documentation │
│ - API reference │
│ - Example projects │
│ - Release notes │
└─────────────┬─────────────┘
│
v
┌───────────────────────────┐
│ This Programmer's Guide │
│ - Concept explanations │
│ - Implementation patterns │
│ - Best practices │
└───────────────────────────┘
Version Information
This Programmer's Guide is maintained alongside the NetBurner Network Development Kit (NNDK). Always refer to the documentation version matching your NNDK release.
Document Organization:**
- Each major topic has a dedicated section
- Cross-references guide related topics
- Examples demonstrate practical implementation
Next Steps
After reviewing this main guide:
- Begin with Introduction for fundamental concepts
- Choose topic areas based on your application needs
- Study example projects in the SDK
- Implement incrementally building on working examples
- Refer to API documentation for detailed function references