classic_send
Send ordered hex messages to a classic Bluetooth device's RFCOMM service or channel and collect replies; a human must arm the device first.
Instructions
send hex messages to a classic device's rfcomm channel and collect its answers.
refused unless the human armed this device by running harald arm <address>
in their own terminal. each message spends one armed write, a query included,
because classic has no read. all messages go over one connection, in order,
with listen seconds (at most 30) of listening after each, so handshakes and
acks can be sent as messages. service is an rfcomm service uuid or channel number from
classic_services; standard profiles and channels missing from
classic_services are refused, and firmware-update channels stay blocked.
received holds each chunk with the message number it followed (0 = before the
first), seconds since the channel opened and the value as hex. stopped
explains a budget that ran out partway, or a link that failed after the first
message; it is empty when every message was sent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listen | No | ||
| address | Yes | ||
| service | Yes | ||
| messages_hex | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |