}
BT_EXPORT_API int bluetooth_hid_device_reply_to_report(const char *remote_addr,
- bt_hid_header_type_t htype,
- bt_hid_param_type_t ptype,
+ bluetooth_hid_header_type_t htype,
+ bluetooth_hid_param_type_t ptype,
const char *data,
unsigned int data_len)
{
HTYPE_TRANS_SET_PROTOCOL,
HTYPE_TRANS_DATA,
HTYPE_TRANS_UNKNOWN
-} bt_hid_header_type_t;
+} bluetooth_hid_header_type_t;
/**
* HID Param type
typedef enum {
PTYPE_DATA_RTYPE_INPUT,
PTYPE_DATA_RTYPE_OUTPUT
-} bt_hid_param_type_t;
+} bluetooth_hid_param_type_t;
/**
* Stucture to hid receive data
*/
typedef struct {
const char *address;
- bt_hid_header_type_t type;
+ bluetooth_hid_header_type_t type;
/**< Header type containing */
- bt_hid_param_type_t param;
+ bluetooth_hid_param_type_t param;
/**< Param type in header like INPUT Report or OutPut Report */
int buffer_size;/**< the length of the receive buffer */
char *buffer;
/**
* @fn int bluetooth_hid_device_reply_to_report(const char *remote_addr,
- * bt_hid_header_type_t htype,
- * bt_hid_param_type_t ptype,
+ * bluetooth_hid_header_type_t htype,
+ * bluetooth_hid_param_type_t ptype,
* char *buffer)
*
* @brief write the event data on the socket.
* @remark None
*/
int bluetooth_hid_device_reply_to_report(const char *remote_addr,
- bt_hid_header_type_t htype,
- bt_hid_param_type_t ptype,
+ bluetooth_hid_header_type_t htype,
+ bluetooth_hid_param_type_t ptype,
const char *data,
unsigned int data_len);