Enables or disables debug logging on the device. When enabled, the device
will emit unsolicited DEBUG_LOG frames (frame type 21) over the WebSocket
connection. Each frame contains a DebugLogMessage protobuf message with a
message string field.
Important: This setting is not persisted on the device. After a reconnect the device reverts to its firmware default (logging off).
The server stores incoming DEBUG_LOG frames per device (up to 1000 entries).
Stored logs are accessible via the CMS API:
GET /api/cms/devices/{id}/debug-logs — paginated log retrievalDELETE /api/cms/devices/{id}/debug-logs — clear all logsReturns 404 if the device is not currently connected.
Device Token for SDK operations. Obtain via: GET /api/haptics/device/device_token Format: {device_id}-{1|2}-{random} Note: ApiToken (from POST /device/otp/confirm) can also be used for most SDK endpoints.
Set to true to enable debug logging on the device, false to disable.
true
OK — debug logging state applied on device.
The debug information of the device.
The free heap size of the device in bytes.
100000
The external flash size of the device in bytes.
100000
Whether debug logging is currently enabled on the device. When true,
the device emits DEBUG_LOG frames (frame type 21) over the WebSocket
containing a DebugLogMessage { message: string } protobuf payload.
false