Skip to content

02. Properties

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

Full Name

cyberos.cyberware.fullname

This field displays the complete name of the cyberware, for example, "OLED DISPLAY 0.96” 128x64 REV 1.0".

Type

cyberos.cyberware.type

This attribute defines the type of cyberware, such as "BUTTON".

ID

cyberos.cyberware.id

This is a unique identifier for the cyberware, for instance, b'OF889A'.

Name

cyberos.cyberware.name

The name field combines the type and id attributes, typically used for AP SSID, like "BUTTON-OF889A".

Version

cyberos.cyberware.version

This field indicates the version of the cyberware, for example, "1.0".

Model

cyberos.cyberware.model

Indicates the model of the cyberware, for example, "FCW-12345".

Status

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

It provides real-time status information about the cyberware, which can be "OK" or "PAIRING". The status is displayed when the user is connected to the cyberware via the web console.

Private MAC Address

cyberos.cyberware.mac_private

This field contains the private MAC address, represented as b'\x9c\x9c\x1f\xXX\xXX\xXX'. This MAC address is configured on the STA interface and is used for communication between paired cyberwares.

Private MAC Address

cyberos.cyberware.mac_private_str

This field represents the private MAC address as a string, e.g., "9C:9C:1F:XX:XX:XX".

Public MAC Address

cyberos.cyberware.mac_public

Here, you find the public MAC address as a bytearray(b'\x9e\x9c\x1f\x00\x00\x00'). This MAC address is hardcoded into every cyberware and is set on the AP interface. It is primarily used for pairing, as cyberware sends pairing requests to this public MAC address.

Public MAC Address

cyberos.cyberware.mac_public_str

This field presents the public MAC address as a string, such as "9E:9C:1F:00:00:00".

Power Button

cyberos.cyberware.power_button

This is a single power button integrated into every cyberware. Its primary functions include pairing and enabling/disabling the AP.

For more details, refer to fildz_button.

Buzzer

cyberos.cyberware.buzzer

A single buzzer is integrated into every cyberware. It is primarily used to notify the user when the cyberware is powered on, successfully paired, etc.

For more details, refer to fildz_buzzer.

Pixel

cyberos.cyberware.pixel

This field represents a single WS2812 integrated into every cyberware. Its primary function is to identify the module AP through blinking colors.

For more details, refer to fildz_neopixel.