Silicon Labs Host Libraries
HID_SMBUS_STATUS Return Codes definitions

Macros

#define HID_SMBUS_SUCCESS   SILABS_STATUS_SUCCESS
 Success. More...
 
#define HID_SMBUS_DEVICE_NOT_FOUND   0x01
 the specified device was not found More...
 
#define HID_SMBUS_INVALID_HANDLE   0x02
 an handle parameter was not valid More...
 
#define HID_SMBUS_INVALID_DEVICE_OBJECT   0x03
 the device object pointer does not match the address of a valid HID - to - UART device More...
 
#define HID_SMBUS_INVALID_PARAMETER   0x04
 a parameter was not valid More...
 
#define HID_SMBUS_INVALID_REQUEST_LENGTH   0x05
 the specified number of bytes to read or write is invalid. More...
 
#define HID_SMBUS_DEVICE_ALREADY_OPENED   SILABS_STATUS_DEVICE_ALREADY_OPENED
 the specified device is already (exclusively) opened More...
 
#define HID_SMBUS_READ_ERROR   0x10
 the read was not successful and did not time out. More...
 
#define HID_SMBUS_WRITE_ERROR   0x11
 the write was not successful. More...
 
#define HID_SMBUS_READ_TIMED_OUT   0x12
 a read failed to return the number of bytes requested before the read timeout elapsed. More...
 
#define HID_SMBUS_WRITE_TIMED_OUT   0x13
 a write failed to complete sending the number of bytes requested before the write timeout elapsed. More...
 
#define HID_SMBUS_DEVICE_IO_FAILED   0x14
 host was unable to get or set a feature report. More...
 
#define HID_SMBUS_DEVICE_ACCESS_ERROR   0x15
 the device or device property could not be accessed.Either the device is not opened, already opened when trying to open, or an error occurred when trying to get HID information. More...
 
#define HID_SMBUS_DEVICE_NOT_SUPPORTED   0x16
 the current device does not support the corresponding action More...
 
#define HID_SMBUS_UNKNOWN_ERROR   SILABS_STATUS_UNKNOWN_ERROR
 This value should never be returned. More...
 

Detailed Description

Macro Definition Documentation

◆ HID_SMBUS_DEVICE_ACCESS_ERROR

#define HID_SMBUS_DEVICE_ACCESS_ERROR   0x15

the device or device property could not be accessed.Either the device is not opened, already opened when trying to open, or an error occurred when trying to get HID information.

◆ HID_SMBUS_DEVICE_ALREADY_OPENED

#define HID_SMBUS_DEVICE_ALREADY_OPENED   SILABS_STATUS_DEVICE_ALREADY_OPENED

the specified device is already (exclusively) opened

◆ HID_SMBUS_DEVICE_IO_FAILED

#define HID_SMBUS_DEVICE_IO_FAILED   0x14

host was unable to get or set a feature report.

◆ HID_SMBUS_DEVICE_NOT_FOUND

#define HID_SMBUS_DEVICE_NOT_FOUND   0x01

the specified device was not found

◆ HID_SMBUS_DEVICE_NOT_SUPPORTED

#define HID_SMBUS_DEVICE_NOT_SUPPORTED   0x16

the current device does not support the corresponding action

◆ HID_SMBUS_INVALID_DEVICE_OBJECT

#define HID_SMBUS_INVALID_DEVICE_OBJECT   0x03

the device object pointer does not match the address of a valid HID - to - UART device

◆ HID_SMBUS_INVALID_HANDLE

#define HID_SMBUS_INVALID_HANDLE   0x02

an handle parameter was not valid

◆ HID_SMBUS_INVALID_PARAMETER

#define HID_SMBUS_INVALID_PARAMETER   0x04

a parameter was not valid

◆ HID_SMBUS_INVALID_REQUEST_LENGTH

#define HID_SMBUS_INVALID_REQUEST_LENGTH   0x05

the specified number of bytes to read or write is invalid.

◆ HID_SMBUS_READ_ERROR

#define HID_SMBUS_READ_ERROR   0x10

the read was not successful and did not time out.

◆ HID_SMBUS_READ_TIMED_OUT

#define HID_SMBUS_READ_TIMED_OUT   0x12

a read failed to return the number of bytes requested before the read timeout elapsed.

◆ HID_SMBUS_SUCCESS

#define HID_SMBUS_SUCCESS   SILABS_STATUS_SUCCESS

Success.

◆ HID_SMBUS_UNKNOWN_ERROR

#define HID_SMBUS_UNKNOWN_ERROR   SILABS_STATUS_UNKNOWN_ERROR

This value should never be returned.

◆ HID_SMBUS_WRITE_ERROR

#define HID_SMBUS_WRITE_ERROR   0x11

the write was not successful.

◆ HID_SMBUS_WRITE_TIMED_OUT

#define HID_SMBUS_WRITE_TIMED_OUT   0x13

a write failed to complete sending the number of bytes requested before the write timeout elapsed.