device_request
Query approved read-only CyberBrick device status, configuration, board info, Wi-Fi MAC, firmware version, and project/checksum details; unsupported methods and commands are refused.
Instructions
Call a read-only window.app.local method: isInLoader, getDeviceById, or sendGetMessage with a read-only B0 command (DEVICE_STATUS, GET_DEVICE_CONFIG, GET_BOARD_INFO, GET_BOARD_TYPE, GET_DEVICE_WIFI_MAC, SYSTEM_VERSION, MPY_PROJECT_INFO, MPY_CHECKSUM_INFO). Any other method or command is refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | JSON-serializable arguments. | |
| method | Yes | Method name on window.app.local, e.g. getDeviceById. |