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
Milanka Ringwald
f688316327
gatt-service/aics: reset con_handle on disconnect
2022-01-21 10:34:30 +01:00
Milanka Ringwald
19ceea51d9
gatt-service/aics: initialize con_handle when notification is enabled
2022-01-21 10:34:30 +01:00
Milanka Ringwald
4db9175d40
gatt-service/aics: use field 'state' for mute mode and gain mode in GATTSERVICE_SUBEVENT_AICS_MUTE/GAIN_MODE events
2022-01-21 10:34:30 +01:00
Milanka Ringwald
d8949d2eb0
gatt-service/aics: notify client on client induced change
2022-01-21 10:34:30 +01:00
Milanka Ringwald
47cfcd64cd
gatt-service/aics: remove PTS test output
2022-01-21 10:34:30 +01:00
Milanka Ringwald
31c9394106
gatt-service: fix bit mask
2022-01-21 10:34:30 +01:00
Milanka Ringwald
b7738b7bb3
gatt-service/aics: move functions
2022-01-21 10:34:30 +01:00
Milanka Ringwald
cbfad4fcc0
gatt-service/mics: wrap set_audio_input_description of AICS
2022-01-21 10:34:30 +01:00
Milanka Ringwald
2acb756a8e
gatt-service/aics: implement set_audio_input_description
2022-01-21 10:34:29 +01:00
Milanka Ringwald
2de5806ad9
gatt-service/mics: update audio_input_state of AICS service via MICS service API
2022-01-21 10:34:29 +01:00
Milanka Ringwald
f5da71dc1d
gatt-service/mics: use index starting with 0 for enumerating AICS services
2022-01-21 10:34:29 +01:00
Milanka Ringwald
78a2f29be8
gatt-service/mics: rename aics_services_index to aics_services_num
2022-01-21 10:34:29 +01:00
Milanka Ringwald
1129f6cf59
gatt-service/mics: rename function
2022-01-21 10:34:29 +01:00