Skip to content

02. Properties

Edgaras Janušauskas edited this page Sep 6, 2023 · 8 revisions

fullname

cyberos.cyberware.fullname

Displays the entire name of the cyberware e.g., "OLED DISPLAY 0.96” 128x64 REV 1.0".

type

cyberos.cyberware.type

Defines the cyberware type e.g., "BUTTON".

id

cyberos.cyberware.id

Unique ID of the cyberware e.g., b'OF889A'.

name

cyberos.cyberware.name

Combines type and id. Used for AP SSID e.g., "BUTTON-OF889A".

version

cyberos.cyberware.version

Version of the cyberware e.g., "1.0".

status

cyberos.cyberware.status
cyberos.cyberware.status = value

Display real-time status of the cyberware e.g., "OK", "PAIRING". Status is displayed when the user is connected to cyberware via the web console.

mac_private

cyberos.cyberware.mac_private

Private MAC address e.g., b'\x9c\x9c\x1f\xXX\xXX\xXX'. This MAC address is set on the STA interface and is used for communication between paired cyberwares.

mac_private_str

cyberos.cyberware.mac_private_str

Private MAC address as string e.g., "9C:9C:1F:XX:XX:XX".

mac_public

cyberos.cyberware.mac_public

Public MAC address bytearray(b'\x9e\x9c\x1f\x00\x00\x00'). This MAC address is hardcoded to every cyberware and set on the AP interface. It is used for just one thing - pairing. When cyberware starts to send pairing requests, it is sending them to a public MAC address.

mac_public_str

cyberos.cyberware.mac_public_str

Public MAC address as string "9E:9C:1F:00:00:00".

power_button

cyberos.cyberware.power_button

Single power button that is integrated into every cyberware. Primarily used for pairing and to enable/disable AP.

More details about cyberos.cyberware.power_button

buzzer

cyberos.cyberware.buzzer

Single buzzer that is integrated into every cyberware. Primarily used to notify user when cyberware is powered on, on successful pairing etc.

More details about cyberos.cyberware.buzzer

pixel

cyberos.cyberware.pixel

Single WS2812 that is integrated into every cyberware. Primarily used to identify the module AP via blinking colors.

More details about cyberos.cyberware.pixel

Clone this wiki locally