Top | ![]() |
![]() |
![]() |
![]() |
NMSettingSerialNMSettingSerial — Describes connection properties for devices that use serial communications |
guint | baud | Read / Write / Construct |
guint | bits | Read / Write / Construct |
NMSettingSerialParity | parity | Read / Write / Construct |
guint64 | send-delay | Read / Write / Construct |
guint | stopbits | Read / Write / Construct |
#define | NM_SETTING_SERIAL_SETTING_NAME |
enum | NMSettingSerialParity |
#define | NM_SETTING_SERIAL_BAUD |
#define | NM_SETTING_SERIAL_BITS |
#define | NM_SETTING_SERIAL_PARITY |
#define | NM_SETTING_SERIAL_STOPBITS |
#define | NM_SETTING_SERIAL_SEND_DELAY |
The NMSettingSerial object is a NMSetting subclass that describes properties necessary for connections that may use serial communications, such as mobile broadband or analog telephone connections.
NMSetting *
nm_setting_serial_new (void
);
Creates a new NMSettingSerial object with default values.
NMSettingSerialParity
nm_setting_serial_get_parity (NMSettingSerial *setting
);
guint64
nm_setting_serial_get_send_delay (NMSettingSerial *setting
);
“bits”
property“bits” guint
Flags: Read / Write / Construct
Allowed values: [5,8]
Default value: 8
“parity”
property“parity” NMSettingSerialParity
Flags: Read / Write / Construct
Default value: NM_SETTING_SERIAL_PARITY_NONE
“stopbits”
property“stopbits” guint
Flags: Read / Write / Construct
Allowed values: [1,2]
Default value: 1