mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-23 20:24:21 +08:00
android/pan: Add notify method to PAN notifications
This commit is contained in:
parent
ab8a2ab554
commit
fcf2331ada
@ -31,6 +31,12 @@ static bool interface_ready(void)
|
||||
return cbs != NULL;
|
||||
}
|
||||
|
||||
void bt_notify_pan(uint8_t opcode, void *buf, uint16_t len)
|
||||
{
|
||||
if (!interface_ready())
|
||||
return;
|
||||
}
|
||||
|
||||
static bt_status_t pan_enable(int local_role)
|
||||
{
|
||||
struct hal_cmd_pan_enable cmd;
|
||||
|
@ -31,3 +31,4 @@ void bt_thread_associate(void);
|
||||
void bt_thread_disassociate(void);
|
||||
void bt_notify_hidhost(uint8_t opcode, void *buf, uint16_t len);
|
||||
void bt_notify_a2dp(uint8_t opcode, void *buf, uint16_t len);
|
||||
void bt_notify_pan(uint8_t opcode, void *buf, uint16_t len);
|
||||
|
Loading…
Reference in New Issue
Block a user