wcl |
A derived class must override this method to provide hardware dependent code that sends a error respond.
An application must call this method in case if there is an error appeared during request processing. The Error is one of the Wireless Communication Library GATT error.
The WCL_E_INVALID_ARGUMENT result indicates that the error code passed to the method is not one from the GATT errors list.
Valid error codes are:
WCL_E_BLUETOOTH_LE_INVALID_HANDLE
WCL_E_BLUETOOTH_LE_READ_NOT_PERMITTED
WCL_E_BLUETOOTH_LE_WRITE_NOT_PERMITTED
WCL_E_BLUETOOTH_LE_INVALID_PDU
WCL_E_BLUETOOTH_LE_INSUFFICIENT_AUTHENTICATION
WCL_E_BLUETOOTH_LE_REQUEST_NOT_SUPPORTED
WCL_E_BLUETOOTH_LE_INVALID_OFFSET
WCL_E_BLUETOOTH_LE_INSUFFICIENT_AUTHORIZATION
WCL_E_BLUETOOTH_LE_PREPARE_QUEUE_FULL
WCL_E_BLUETOOTH_LE_ATTRIBUTE_NOT_FOUND
WCL_E_BLUETOOTH_LE_ATTRIBUTE_NOT_LONG
WCL_E_BLUETOOTH_LE_INSUFFICIENT_ENCRYPTION_KEYSIZE
WCL_E_BLUETOOTH_LE_INVALID_ATTRIBUTE_VALUE_LENGTH
WCL_E_BLUETOOTH_LE_INSUFFICIENT_ENCRYPTION