From: Gerhard Sittig Date: Mon, 20 Feb 2023 19:03:19 +0000 (+0100) Subject: README.devices: document conn=bt/ extensions for more optional parameters X-Git-Url: http://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=0dea0243dc7c7320d73266845908c85addbd0a78 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. --- diff --git a/README.devices b/README.devices index 95726786..fe4d6c8b 100644 --- a/README.devices +++ b/README.devices @@ -201,7 +201,7 @@ Formal syntax for serial communication: path may contain slashes path and serno are "greedy" (span to the end of the spec) - Bluetooth Classic and Bluetooth Low Energy (BLE): - conn=bt// + conn=bt//[/param=value] conn can be: rfcomm, ble122, nrf51, cc254x addr can be "dense" or separated, bt/cc254x/0123456789ab or bt/rfcomm/11-22-33-44-55-66 or bt/ble122/88:6b:12:34:56:78 @@ -209,6 +209,8 @@ Formal syntax for serial communication: from a string that separates fields by colon, e.g. in the "--driver :conn=" example, that is why the dense form and the use of dashes for separation are supported) + additional parameter keywords can be: channel, handle_rx, handle_tx, + handle_cccd, value_cccd Some of the drivers implement a default for the connection. Some of the drivers can auto-detect USB connected devices.