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
c82c6cb221
gatt-services/gatt-profiles: update test and test docu for AICS
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
Matthias Ringwald
ba7c1726d0
Merge pull request #402 from ricardoquesada/periodic_inquiry
...
HCI: Add periodic inquiry mode command
2022-01-31 14:58:44 +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
e743b7ab23
hfp: free HFP Connection object on SDP error / Service not found
2022-01-27 17:26:35 +01: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
1e24899de3
pts/vocs: list tests
2022-01-21 10:34:30 +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
cca6f7a031
pts/aics: add test docu and tests
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
ea31566a96
pts/avdtp_sink_test: fix compile warnings
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
f69d14d454
pts/aics: implement logic for PTS tests
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
d9a0563ad8
pts/aics: update test code
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
Milanka Ringwald
ca54915fae
gatt-service/aics: update API docu, use ERROR_CODEs for return status
2022-01-21 10:34:29 +01:00
Milanka Ringwald
811891616a
gatt-service/aics: return AICS_ERROR_CODE_GAIN_MODE_CHANGE_NOT_ALLOWED when remote is setting the same value as it is on server
2022-01-21 10:34:29 +01:00
Milanka Ringwald
73b367b905
gatt-service/mics: fix storage reference
2022-01-21 10:34:29 +01:00