Return all command specifications.
| Returns: | dict – All command specs, with the pattern:
“<alias>”: {
|
|---|
Get configuration for pyserial and the device.
| Parameters: | device_id – The string which identifies the command set to use with your device. |
|---|
Get device configuration.
| Parameters: | device_id – The string which identifies the command set to use. |
|---|---|
| Returns: | dict – The device configuration, including default |
pyserial settings, as well as the command set.
Get the pyserial config values from the device config.
This also checks that config values are sane, and casts them to the appropriate type, as needed.
get_device_config_from_id() must be called before this method.
| Returns: | dict – The config values for serial.Serial. |
|---|---|
| Raises : | KeyError |