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
Milanka Ringwald
3afce455f9
gatt-service/aics: add PTS test output
2022-01-21 10:34:29 +01:00
Milanka Ringwald
c48126a8c1
gatt-service/aics: rename variable
2022-01-21 10:34:29 +01:00
Milanka Ringwald
5f231cfce5
gatt-service/aics: audio input type is one byte ID defined in aics_audio_input_type_t
2022-01-21 10:34:29 +01:00
Milanka Ringwald
41d90c6aaf
gatt-service/mics: search and initialize AICS services
2022-01-21 10:34:29 +01:00
Milanka Ringwald
1a8039c1e1
gatt-service/aics: move index to audio_input_control_service_server_t
2022-01-21 10:34:29 +01:00
Milanka Ringwald
847bcf468a
gatt-service/aics: move all fields that need to be initialized by the application to aics_info_t
2022-01-21 10:34:29 +01:00
Milanka Ringwald
8ac08516cd
gatt-service/aics: implement audio input control server
2022-01-21 10:34:29 +01:00
Milanka Ringwald
42a6d14ec4
gatt-service: update license copyright year
2022-01-21 10:34:29 +01:00
Milanka Ringwald
61fcd3a1e8
pts/aics: add two AICS services to MICS
2022-01-21 10:34:29 +01:00
Matthias Ringwald
8e8577aa2e
port/stm32-wb55xx-nucleo-freertos: update README
2022-01-20 11:20:25 +01:00
Matthias Ringwald
d7fec25aef
port/stm32-wb55xx-nucleo-freertos: use btstack_run_loop_poll_data_sources_from_irq
2022-01-20 10:43:25 +01:00
Matthias Ringwald
1544bae6a2
btstack_run_loop_freertos: fix deprecated btstack_run_loop_freertos_trigger_from_isr
2022-01-20 10:37:27 +01:00
Matthias Ringwald
154c56cef6
tool/btstack_memory_generator: update copyright, fix deinit
2022-01-17 22:17:20 +01:00
Matthias Ringwald
182f71a59e
example/sdp_rfcomm_query: use btstack_strcpy
2022-01-17 16:45:03 +01:00
Matthias Ringwald
c10fde09c0
hfp: replace strncpy with btstack_strcpy
2022-01-17 16:44:47 +01:00
Matthias Ringwald
de22414a4c
btstack_util: add btstack_strcpy
2022-01-17 15:33:52 +01:00