The command struct names should start with hal_cmd as the others.
static bt_status_t av_connect(bt_bdaddr_t *bd_addr)
{
- struct hal_op_av_connect cmd;
+ struct hal_cmd_av_connect cmd;
DBG("");
static bt_status_t av_disconnect(bt_bdaddr_t *bd_addr)
{
- struct hal_op_av_disconnect cmd;
+ struct hal_cmd_av_disconnect cmd;
DBG("");
} __attribute__((packed));
#define HAL_OP_AV_CONNECT 0x01
-struct hal_op_av_connect {
+struct hal_cmd_av_connect {
uint8_t bdaddr[6];
} __attribute__((packed));
#define HAL_OP_AV_DISCONNECT 0x02
-struct hal_op_av_disconnect {
+struct hal_cmd_av_disconnect {
uint8_t bdaddr[6];
} __attribute__((packed));