|
NetBurner 3.5.6
PDF Version |
The NetBurner Secure Serial-to-Ethernet Factory Application is a comprehensive embedded application that provides secure bi-directional communication between serial interfaces and Ethernet networks. This application is pre-programmed into NetBurner Serial-to-Ethernet devices and serves as a bridge between various serial protocols and network connectivity. The application pre-programmed into NetBurner Serial to Ethernet devices. This application source code is provided for customers that wish to customize the application.
Interfaces:
The application starts in UserMain() (located in src/main.cpp), which is the standard entry point for all NetBurner applications, rather than the typical C/C++ main() function.
Multi-Protocol Support:**
Multiple serial interface protocols (RS-232, RS-485, CAN Bus, I2C)
Network Capabilities:**
HTTPS web server interface
Security Features:**
src/main.cpp** - Main application entry point and core logicsrc/nbfactory.h** - Factory configuration definitions and platform-specific settingssrc/serialrecord.cpp/h** - Core serial port management and data handlingsrc/serialburnerdata.h** - Serial port configuration structuressrc/atparserforssh.cpp** - AT command parser for SSH configurationsrc/sshuser.cpp/h** - SSH user authentication and key managementsrc/ssluser.cpp/h** - SSL/TLS user authenticationsrc/certificatekey.cpp** - Certificate and key managementsrc/ServerKey.cpp** - Server key handlingsrc/ServerCert.cpp** - Server certificate handlingsrc/gpioserver.cpp/h** - GPIO server for pin controlsrc/i2cserver.cpp/h** - I2C server implementationsrc/i2cfuncs.cpp/h** - I2C utility functionssrc/analog.cpp/h** - Analog input handlingsrc/configweb.cpp** - Web-based configuration interfacesrc/configweb_wifi.cpp** - WiFi-specific web configurationsrc/formtools.cpp/h** - HTML form processing utilitiessrc/post.cpp** - HTTP POST request handlingsrc/effs_std.cpp/h** - EFFS (Embedded Flash File System) STD implementationsrc/effsStdPartition.cpp** - Flash partition managementsrc/FileSystemUtils.cpp/h** - File system utility functionssrc/ftp_fs.cpp/h** - FTP file system interfacesrc/fdtimer.cpp/h** - File descriptor timer managementsrc/fnbrtosdump.cpp** - RTOS debugging and diagnosticssrc/autoupdate.cpp** - Remote firmware update functionalityThe application includes a comprehensive web-based configuration interface with the following pages:
html/network.html** - Main network settingshtml/tcp.html** - TCP protocol configurationhtml/udp.html** - UDP protocol configurationhtml/wifi.html** - WiFi connectivity settingshtml/ssh.html** - SSH server configurationhtml/ssl.html** - SSL/TLS settingshtml/certificate.html** - Certificate managementhtml/keys.html** - Cryptographic key managementhtml/serial.html** - Serial port settingshtml/advancedserial.html** - Advanced serial configurationhtml/i2c.html** - I2C interface settingshtml/advanced.html** - Advanced system settingshtml/gpio.html** - GPIO pin configurationhtml/password.html** - User authentication settingsThe project uses a standardized NetBurner makefile with the following key components:
SecureSerToEthFactoryAppsrc/htmldata.cppPlatform-specific memory settings:
The SerialRecord class manages bidirectional data flow between serial ports and network connections, implementing:
The application supports multiple connection modes:
The device can be configured through multiple interfaces:
This source code is provided to enable customers to customize the factory application for specific requirements. Key customization points include:
For detailed documentation and user manuals, visit www.netburner.com and refer to the Secure Serial Factory App Users Manual.