Next: Device Filter, Previous: Device Map, Up: Device Interface
The function
device_set_statussets the status of a device. The possible values for flavor and their interpretation is device specific.The function returns
D_SUCCESSif some data was successfully written andD_NO_SUCH_DEVICEif device does not denote a device port or the device is dead or not completely open.
The function
device_get_statusgets the status of a device. The possible values for flavor and their interpretation is device specific.The function returns
D_SUCCESSif some data was successfully written andD_NO_SUCH_DEVICEif device does not denote a device port or the device is dead or not completely open.