Matthias Ringwald
d5f71a7e3a
hci: fix warnings
2022-02-10 15:47:49 +01:00
Matthias Ringwald
911801ca95
hci: stop extended and periodic advertisements during halt
2022-02-10 15:33:35 +01:00
Matthias Ringwald
c42da3bc27
hci: extract hci_le_scan_stop
2022-02-10 11:40:37 +01:00
Matthias Ringwald
0c88d5ef91
hci: rework hci halting states, stop scans and advertisements
...
# Conflicts:
# src/hci.c
2022-02-10 11:30:37 +01:00
Matthias Ringwald
184dbe2ff5
hci: extract hci_power_transition_to_halting, try to wait for disconnection complete event
2022-02-10 11:23:41 +01:00
Matthias Ringwald
22df2fe23a
hci: trigger read rssi and write link supervision timeout via gap_connection_tasks
2022-02-09 21:32:11 +01:00
Matthias Ringwald
9afaa4d426
gap: gap_enable_link_watchdog() uses automatic flush timeout to disconnect if data cannot be sent
2022-02-09 21:23:19 +01:00
Matthias Ringwald
de5414a240
l2cap: extract l2cap_classic_packet_boundary_flag function
2022-02-09 20:24:35 +01:00
Matthias Ringwald
7f839e2c2f
hci: fix returnes status for sniff and qos functions
2022-02-09 11:58:53 +01:00
Matthias Ringwald
39bcce032d
hci_cmd: add hci_write_automatic_flush_timeout
2022-02-09 11:48:15 +01:00
Matthias Ringwald
f9b19c4c3e
btstack_defines: complete HCI_EVENT_FLUSH_OCCURRED
2022-02-09 11:44:49 +01:00
Matthias Ringwald
b96d60a610
sm: allow to override ltk with sm_register_ltk_callback
2022-02-09 10:23:23 +01:00
Matthias Ringwald
0f7610ad0c
hci: fix GAP_EVENT_EXTENDED_ADVERTISING_REPORT
2022-02-07 17:04:50 +01:00
Matthias Ringwald
f9c3ba6a54
btstack_event: fix HCI_SUBEVENT_LE_PERIODIC_ADVERTISING_REPORT
2022-02-07 17:04:50 +01:00
Matthias Ringwald
0cbe469026
hci: fix set periodic advertising command
2022-02-03 12:48:42 +01:00
Matthias Ringwald
2e4aaf70bb
hci: use const for advertisment/scan response data
2022-02-03 12:48:42 +01:00
Matthias Ringwald
b02cfc15b9
hci: stop timer on deinit
2022-02-01 10:10:03 +01:00
Milanka Ringwald
cf78f0053e
avrcp: stop timer on disconnect
2022-02-01 10:00:58 +01:00
Milanka Ringwald
773594b8bb
gatt-service/vcs: emit GATTSERVICE_SUBEVENT_VCS_VOLUME_STATE and GATTSERVICE_SUBEVENT_VCS_VOLUME_FLAGS events
2022-01-31 16:26:29 +01:00
Milanka Ringwald
5e5d40aab7
gatt-service/vcs: use bit mask for volume flags
2022-01-31 16:26:29 +01:00
Milanka Ringwald
2ea782cb4d
gatt-service/vcs: extend API to allow setting of the volume change step
2022-01-31 16:26:29 +01:00
Milanka Ringwald
1a170bd9c8
gatt-service/vcs: notify on flags when server changes the volume settings
2022-01-31 16:26:29 +01:00
Milanka Ringwald
26b0d6301b
gatt-service/vcs: read configurations
2022-01-31 16:26:29 +01:00
Milanka Ringwald
4233611f94
gatt-service/vcs: register packet handler for receiving HCI_EVENT_DISCONNECTION_COMPLETE event
2022-01-31 16:26:29 +01:00
Milanka Ringwald
1368507633
gatt-service/vcs: extract function for setting the con_handle
2022-01-31 16:26:29 +01:00
Milanka Ringwald
b6e9083e7a
gatt-service/vcs: rename variable
2022-01-31 16:26:29 +01:00
Milanka Ringwald
33a4cc063d
gatt-service/vcs,mics: use pointer to the AICS and VOCS info struct, instead of copying them
2022-01-31 16:26:29 +01:00
Milanka Ringwald
ac4ac6f130
gatt-service/mics: init AICS audio input description length
2022-01-31 16:26:29 +01:00
Milanka Ringwald
04dc1f59cb
gatt-service/aics: handle description write, and emit event to the application
2022-01-31 16:26:29 +01:00
Milanka Ringwald
043b518bec
gatt-service/vocs: emit events to the application
2022-01-31 16:26:29 +01:00
Milanka Ringwald
511344e1e5
gatt-service/vocs: use char array for storing description
2022-01-31 16:26:29 +01:00
Milanka Ringwald
2f138c3f44
gatt-service/vcs: wrap AICS and VOCS API
2022-01-31 16:26:29 +01:00
Milanka Ringwald
6803ef270c
gatt-service/vocs: handle audio output desc read and write
2022-01-31 16:26:29 +01:00
Milanka Ringwald
18e0ad7603
gatt-service/vocs: handle audio location read and write
2022-01-31 16:26:29 +01:00
Milanka Ringwald
cd40d08438
gatt-service/vocs: handle volume offset write
2022-01-31 16:26:29 +01:00
Milanka Ringwald
3d17b524c5
gatt-service/vocs: remove STATE suffix from function and task name
2022-01-31 16:26:28 +01:00
Milanka Ringwald
e16b86dc06
gatt-service/vocs: use uint32_t for audio location
2022-01-31 16:26:28 +01:00
Milanka Ringwald
e3a2b18180
gatt-service/aics: define max audio output desc length and add audio location define from general audio spec
2022-01-31 16:26:28 +01:00
Milanka Ringwald
6bf95cbdd2
gatt-service/vcs: init included AICS and VOCS services
2022-01-31 16:26:28 +01:00
Milanka Ringwald
86b3826175
gatt-service/vocs: add skeleton code
2022-01-31 16:26:28 +01:00
Milanka Ringwald
11390a5dd8
btstack_event: add events for VOCS and AICS
2022-01-31 16:26:28 +01:00
Ricardo Quesada
6fe4481560
HCI: Add periodic inquiry mode command
...
This commit adds the HCI periodic inquiry mode command.
It is part of the Core spec defined in "Link Control" secion with the
name "7.1.3 Periodic Inquiry Mode Command"
It was tested with:
hci_send_cmd(&hci_periodic_inquiry_mode, 5, 4, GAP_IAC_GENERAL_INQUIRY,
2, 0);
And then verified the dump with Wireshark and the command was sent as
expected.
2022-01-30 21:43:47 -08:00
Matthias Ringwald
7dceaecac5
hfp: extract hfp_handle_slc_setup_error
2022-01-27 17:22:39 +01:00
Matthias Ringwald
8a7c272db9
hfp: finalize connection on slc setup error
2022-01-27 17:16:34 +01:00
Matthias Ringwald
7095467ff6
hfp: pass role to hfp_emit_slc_connection_event
2022-01-27 17:09:49 +01:00
Matthias Ringwald
293fae36ed
hfp: extract hfp_emit_event_for_role
2022-01-27 11:39:11 +01:00
Matthias Ringwald
6c0d5426fc
hci: ENABLE_HCI_SERIALIZED_CONTROLLER_OPERATIONS serializes Inquiry, Remote Name Request and Create Connection operations
2022-01-24 18:10:16 +01:00
Matthias Ringwald
8ce1c2c25b
hfp_gsm_model: fix tracking for call dropped during outgoing ringing
2022-01-24 16:35:01 +01:00
Matthias Ringwald
df1e871fcf
hfp_gsm_model: use bool for hfp_gsm_call.used_slot
2022-01-24 13:18:07 +01:00
Milanka Ringwald
f7a636a293
gatt-service/mics: wrap set audio input status AICS API
2022-01-21 10:34:30 +01:00