The settings command manages local CLI settings that are persisted between sessions.
These settings affect how cfcli behaves locally (e.g. scan addresses and connection timeout),
as opposed to config which configures the Crazyflie hardware itself.
Usage: cfcli settings <COMMAND>
Commands:
show Show all current settings
timeout Manage the connection timeout
address Manage scan addresses
help Print this message or the help of the given subcommand(s)
Display all current settings at once:
cfcli settings showThe connection timeout controls how long cfcli waits when connecting to a Crazyflie. The default is 1000ms.
cfcli settings timeout showSet the timeout in milliseconds:
cfcli settings timeout set 2000The timeout is appended as a query parameter to the URI at connection time (e.g.
radio://0/80/2M/E7E7E7E7E7?timeout=2000) but is not stored in the selected URI.
cfcli settings timeout clearScan addresses control which radio addresses are scanned when using the scan and
select commands. The default is a single address: E7E7E7E7E7. When multiple
addresses are configured, all of them are scanned and results are deduplicated.
An address provided as an argument to scan or select overrides the configured
addresses for that invocation.
cfcli settings address listcfcli settings address add E7E7E7E701Addresses are 5-byte hex strings (10 hex characters). Duplicate addresses are not added.
cfcli settings address remove E7E7E7E701If all addresses are removed, the list is automatically reset to the default
(E7E7E7E7E7).
cfcli settings address clear