Skip to content

Generic command verb for non-GPIO firmware #4

Description

@jonasneves

send writes a fixed [pin, level] and wifi writes ssid\npass — both hardcoded payloads. Firmware that needs any other command (set a threshold, switch a mode, send a string) can't be driven without a bespoke client.

Add a generic command verb that writes arbitrary bytes / a string / JSON to the board's writable characteristic, and make send and wifi thin sugar over it. Keeps the BLE-property contract (runtime._pick) intact.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions