Skip to content

Commit 0dea024

Browse files
committed
README.devices: document conn=bt/ extensions for more optional parameters
The conn=bt/ syntax grew support for optional additional parameters. Add them to the README.devices page for awareness.
1 parent 0e4a85a commit 0dea024

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.devices

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,16 @@ Formal syntax for serial communication:
201201
path may contain slashes
202202
path and serno are "greedy" (span to the end of the spec)
203203
- Bluetooth Classic and Bluetooth Low Energy (BLE):
204-
conn=bt/<conn>/<addr>
204+
conn=bt/<conn>/<addr>[/param=value]
205205
conn can be: rfcomm, ble122, nrf51, cc254x
206206
addr can be "dense" or separated, bt/cc254x/0123456789ab or
207207
bt/rfcomm/11-22-33-44-55-66 or bt/ble122/88:6b:12:34:56:78
208208
(note that colons may not be available when the conn= spec is taken
209209
from a string that separates fields by colon, e.g. in the "--driver
210210
<name>:conn=<spec>" example, that is why the dense form and the use
211211
of dashes for separation are supported)
212+
additional parameter keywords can be: channel, handle_rx, handle_tx,
213+
handle_cccd, value_cccd
212214

213215
Some of the drivers implement a default for the connection. Some of the
214216
drivers can auto-detect USB connected devices.

0 commit comments

Comments
 (0)