# Command Line Interface for Netsim (netsim) Usage: * `netsim [Options] ` Options: * `-h, --help`: Print help information * `-v, --verbose`: Set verbose mode ## Commands: * ### `version`: Print Netsim version information * Usage: `netsim version` * ### `radio`: Control the radio state of a device * Usage: `netsim radio ` * Arguments: * \: Radio type [possible values: ble, classic, wifi, uwb] * \: Radio status [possible values: up, down] * \: Device name * ### `move`: Set the device location * Usage: `netsim move [Z]` * Arguments: * \: Device name * \: x position of device * \: y position of device * [Z]: Optional z position of device * ### `devices`: Display device(s) information * Usage: `netsim devices [OPTIONS]` * Options: * `-c, --continuous`: Continuously print device(s) information every second * ### `reset`: Reset Netsim device scene * Usage: `netsim reset` * ### `pcap`: Control the packet capture functionalities with commands: list, patch, get * Usage: `netsim pcap ` * #### Commands * `list`: List currently available Pcaps (packet captures) * Usage: `netsim pcap list [PATTERNS]...` * Arguments: * [PATTERNS]...: Optional strings of pattern for pcaps to list. Possible filter fields include Pcap ID, Device Name, and Chip Kind * `patch`: Patch a Pcap source to turn packet capture on/off * Usage: `netsim pcap patch [PATTERNS]...` * Arguments: * \: Packet capture state [possible values: on, off] * [PATTERNS]...: Optional strings of pattern for pcaps to patch. Possible filter fields include Pcap ID, Device Name, and Chip Kind * `get`: Download the packet capture content * Usage: `netsim pcap get [OPTIONS] [PATTERNS]...` * Arguments: * [PATTERNS]...: Optional strings of pattern for pcaps to get. Possible filter fields include Pcap ID, Device Name, and Chip Kind * Options: * `-o, --location`: Directory to store downloaded pcap(s) * ### `help`: Print this message or the help of the given subcommand(s)