-
-
Notifications
You must be signed in to change notification settings - Fork 0
04. Network
This module serves as an interface for accessing the network functionality.
cyberos.network.sta_ssid
Retrieves the SSID of the client's Wi-Fi access point.
cyberos.network.sta_key
Retrieves the password of the client's Wi-Fi access point.
cyberos.network.sta_reconnect
Enables automatic reconnection to the last saved Wi-Fi access point once the STA_IF (Station Interface) is active.
cyberos.network.sta_reconnects
Specifies the number of reconnection attempts to make when the Wi-Fi connection is lost (an integer, where 0 means none, and -1 means unlimited).
cyberos.network.sta_hostname
Gets the hostname of the station interface.
cyberos.network.ap_ssid
Retrieves the SSID of the CYBERWARE Access Point (AP), for example, "BUTTON-02AD9A-YYG".
cyberos.network.ap_key
Retrieves the password for the CYBERWARE AP.
cyberos.network.ap_color
Retrieves the color settings for the CYBERWARE AP as a tuple, e.g., ((255, 255, 0), (255, 255, 0), (0, 255, 0)).
cyberos.network.ap_color_code
Retrieves the color code for the CYBERWARE AP, e.g., "YYG".
cyberos.network.ap_boot
Enables the CYBERWARE AP on boot.
cyberos.network.sta_ch
Retrieves the channel of the STA_IF.
cyberos.network.ap_ch
Retrieves the channel of the CYBERWARE AP.
cyberos.network.ch_reset
Resets the channel of the CYBERWARE AP when the STA_IF is disconnected from the Wi-Fi access point.
cyberos.network.ch_update
Automatically updates the channel of the CYBERWARE AP when requested.