Setting by serial communication is available for obniz except obniz Board series.
Serial communication is connected as follows.
|Connection||TX(GPIO1 of ESP32 is output of ESP32), RX(GPIO3 is input of ESP32), GND|
Note: Some ESP32 devices may contain an automatic write circuit using DTR and RTS. In this case, you may not be able to communicate with the device even if it is connected, so try turning DTR and RTS on and off. (In most cases, normal communication is possible with both turned off.)
The console normally only outputs the internal status and does not accept settings.
It can be switched to setting mode by sending a command.
|OS||How to change setting mode|
|< 3.5.0||When sending a single
|3.5.0 <=||when 4 characters of
The main menu is the first thing that appears when you type
----- Select ----- 0:Exit ( Reboot ) 1:Configure Network by Typing 2:Configure ALL from Data 3:Clear All Setting Input number >> 1:Configure Network by Typing
|0:Exit ( Reboot )||Just reboot.|
|1:Configure Network by Typing||Input network configuration from Console, save and reboot.|
|2:Configure ALL from Data||Configure component and network settings in Setting JSON. No matter what settings you have, all internal settings will be replaced by this JSON.|
|3:Clear All Setting||Clear all settings.|
How to operate the console
If there is a numeric option, enter the number in half-width characters and press Enter.
If you need to enter a string of characters, enter it as is.
The console will not accept the string
\r\n. Switch to
\n if your terminal's line feed setting is set that way.
You can configure Wi-Fi and other settings, but the console operation will save and reboot when you complete the configuration or choose to clear the settings.
You can configure Wi-Fi settings by entering the SSID and Password.
Specify Mac address (BSSID)
This is supported since obnizOS 3.5.0.
You can specify the access point to connect by entering the Mac address of the access point using 12 alphanumeric characters in lower case.
You can specify the access point by entering the Mac address of the access point using 12 alphanumeric characters.
How to connect to a stealth SSID (private SSID)
This is supported since obnizOS 3.2.0.
You can set it by entering the SSID and password regardless of whether it is stealth or not.
How to set up a static IP
For a static IP, you will be asked a series of questions about the items required for configuration.
All four of the following are required to use a static IP.
--- IP Address Input address >> 192.168.0.10 --- Default Gateway --- Input address >> 192.168.0.10 Input address >> 192.168.0.1 --- Subnet Mask --- Input address >> 255.255.255.0 Input address >> 255.255.255.0 --- DNS Address --- Input address >> 192.168.0.1 Input address >> 192.168.0.1
Enter the required values for each, and press enter to move to the next item.
How to set up Proxy
To configure Proxy, you will need the address and port information of your proxy server.
--- Proxy Config --- Proxy Address Input text >> 192.168.8.11 --- Proxy Port --- Port Area:0-65535 Port Area:0-65535 Input number >> 8080 Input text
Enter the required values in each field and press Enter to move to the next item.
If WPA2 Enterprise is enabled, Username, Password, and AnonymousID can be set.