Loading system/hci/include/vendor.h +1 −2 Original line number Diff line number Diff line Loading @@ -31,8 +31,7 @@ typedef enum { VENDOR_OPEN_USERIAL = BT_VND_OP_USERIAL_OPEN, VENDOR_CLOSE_USERIAL = BT_VND_OP_USERIAL_CLOSE, VENDOR_GET_LPM_IDLE_TIMEOUT = BT_VND_OP_GET_LPM_IDLE_TIMEOUT, VENDOR_SET_LPM_WAKE_STATE = BT_VND_OP_LPM_WAKE_SET_STATE, VENDOR_SET_AUDIO_STATE = BT_VND_OP_SET_AUDIO_STATE VENDOR_SET_LPM_WAKE_STATE = BT_VND_OP_LPM_WAKE_SET_STATE } vendor_opcode_t; typedef enum { Loading system/main/bte_main.c +1 −2 Original line number Diff line number Diff line Loading @@ -55,7 +55,6 @@ #include "osi/include/log.h" #include "stack_config.h" #include "osi/include/thread.h" #include "vendor.h" /******************************************************************************* ** Constants & Macros Loading Loading @@ -291,7 +290,7 @@ int set_audio_state(UINT16 handle, UINT16 codec, UINT8 state, void *param) /* layer_specific shall contain return path event! for BTA events! * 0 means no return message is expected. */ p_msg->hdr.layer_specific = 0; vendor_get_interface()->send_command(VENDOR_SET_AUDIO_STATE, &(p_msg->audio)); hci->transmit_downward(MSG_STACK_TO_HC_HCI_CMD, p_msg); return result; } Loading Loading
system/hci/include/vendor.h +1 −2 Original line number Diff line number Diff line Loading @@ -31,8 +31,7 @@ typedef enum { VENDOR_OPEN_USERIAL = BT_VND_OP_USERIAL_OPEN, VENDOR_CLOSE_USERIAL = BT_VND_OP_USERIAL_CLOSE, VENDOR_GET_LPM_IDLE_TIMEOUT = BT_VND_OP_GET_LPM_IDLE_TIMEOUT, VENDOR_SET_LPM_WAKE_STATE = BT_VND_OP_LPM_WAKE_SET_STATE, VENDOR_SET_AUDIO_STATE = BT_VND_OP_SET_AUDIO_STATE VENDOR_SET_LPM_WAKE_STATE = BT_VND_OP_LPM_WAKE_SET_STATE } vendor_opcode_t; typedef enum { Loading
system/main/bte_main.c +1 −2 Original line number Diff line number Diff line Loading @@ -55,7 +55,6 @@ #include "osi/include/log.h" #include "stack_config.h" #include "osi/include/thread.h" #include "vendor.h" /******************************************************************************* ** Constants & Macros Loading Loading @@ -291,7 +290,7 @@ int set_audio_state(UINT16 handle, UINT16 codec, UINT8 state, void *param) /* layer_specific shall contain return path event! for BTA events! * 0 means no return message is expected. */ p_msg->hdr.layer_specific = 0; vendor_get_interface()->send_command(VENDOR_SET_AUDIO_STATE, &(p_msg->audio)); hci->transmit_downward(MSG_STACK_TO_HC_HCI_CMD, p_msg); return result; } Loading