|  |  |  | libnm-glib Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Signals | ||||
NMSerialDevice; NMSerialDeviceClass; guint32 nm_serial_device_get_bytes_received (NMSerialDevice *self); guint32 nm_serial_device_get_bytes_sent (NMSerialDevice *self);
GObject +----NMObject +----NMDevice +----NMSerialDevice +----NMCdmaDevice +----NMGsmDevice
typedef struct {
	NMDeviceClass parent;
	/* Signals */
	void (*ppp_stats) (NMSerialDevice *self, guint32 in_bytes, guint32 out_bytes);
	/* Padding for future expansion */
	void (*_reserved1) (void);
	void (*_reserved2) (void);
	void (*_reserved3) (void);
	void (*_reserved4) (void);
	void (*_reserved5) (void);
	void (*_reserved6) (void);
} NMSerialDeviceClass;
guint32             nm_serial_device_get_bytes_received (NMSerialDevice *self);
Gets the amount of bytes received by the serial device. This counter is reset when the device is activated.
| 
 | a NMSerialDevice | 
| Returns : | bytes received | 
guint32             nm_serial_device_get_bytes_sent     (NMSerialDevice *self);
Gets the amount of bytes sent by the serial device. This counter is reset when the device is activated.
| 
 | a NMSerialDevice | 
| Returns : | bytes sent | 
"ppp-stats" signalvoid user_function (NMSerialDevice *device, guint in_bytes, guint out_bytes, gpointer user_data) : Run First
Notifies that a NMAccessPoint is added to the wifi device.
| 
 | the serial device that received the signal | 
| 
 | the amount of bytes received | 
| 
 | the amount of bytes sent | 
| 
 | user data set when the signal handler was connected. |