NM.SettingSerial¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/en |
|||
r/w/en |
|||
r/w |
|||
r/w/en |
|||
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class NM.SettingSerial(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Serial Link Settings
- classmethod new()¶
- Returns:
the new empty
NM.SettingSerialobject- Return type:
Creates a new
NM.SettingSerialobject with default values.
- get_baud()¶
- Returns:
the
NM.SettingSerial:baudproperty of the setting- Return type:
- get_bits()¶
- Returns:
the
NM.SettingSerial:bitsproperty of the setting- Return type:
- get_parity()¶
- Returns:
the
NM.SettingSerial:parityproperty of the setting- Return type:
- get_send_delay()¶
- Returns:
the
NM.SettingSerial:send-delayproperty of the setting- Return type:
- get_stopbits()¶
- Returns:
the
NM.SettingSerial:stopbitsproperty of the setting- Return type:
Property Details¶
- NM.SettingSerial.props.baud¶
- Name:
baud- Type:
- Default Value:
57600- Flags:
Speed to use for communication over the serial port. Note that this value usually has no effect for mobile broadband modems as they generally ignore speed settings and use the highest available speed.
- NM.SettingSerial.props.bits¶
- Name:
bits- Type:
- Default Value:
8- Flags:
Byte-width of the serial communication. The 8 in “8n1” for example.
- NM.SettingSerial.props.parity¶
- Name:
parity- Type:
- Default Value:
- Flags:
Parity setting of the serial port.
- NM.SettingSerial.props.send_delay¶
- Name:
send-delay- Type:
- Default Value:
0- Flags:
Time to delay between each byte sent to the modem, in microseconds.
- NM.SettingSerial.props.stopbits¶
- Name:
stopbits- Type:
- Default Value:
1- Flags:
Number of stop bits for communication on the serial port. Either 1 or 2. The 1 in “8n1” for example.