12134 Commits

Author SHA1 Message Date
Milanka Ringwald
05439aa6ca hid_host: rewrite establishing input connection 2021-02-09 15:59:56 +01:00
Milanka Ringwald
31a4e45b22 hid_host: rename input variable 2021-02-09 15:59:56 +01:00
Milanka Ringwald
33d66f0378 hid_host: add new HID_SUBEVENT_DESCRIPTOR_AVAILABLE event 2021-02-09 15:59:56 +01:00
Milanka Ringwald
5f0d88b06f hid_host: document API 2021-02-09 15:59:56 +01:00
Milanka Ringwald
57e682fe0b hid_host: add state check to accept/decline connection 2021-02-09 15:59:56 +01:00
Milanka Ringwald
fc0126b991 pts/tests: rename define from __BTSTACK_FILE__ to BTSTACK_FILE__, and add it where it is missing 2021-02-09 15:59:56 +01:00
Milanka Ringwald
4d5e2508b4 pts/hid_host_test: reset unplug for the next PTS test 2021-02-09 15:59:56 +01:00
Milanka Ringwald
5961e15565 hid_host: remove printfs, finish connection establishment 2021-02-09 15:59:56 +01:00
Milanka Ringwald
c71a99a4fa hid_host: emit event if connection failed 2021-02-09 15:59:56 +01:00
Milanka Ringwald
01977ed11e hid_host: handle HID_PROTOCOL_MODE_REPORT_WITH_FALLBACK_TO_BOOT 2021-02-09 15:59:56 +01:00
Milanka Ringwald
fe493a7c9a hid_host: handle boot mode 2021-02-09 15:59:56 +01:00
Milanka Ringwald
a93a968fd2 hid_host: pass through input report to the app 2021-02-09 15:59:56 +01:00
Milanka Ringwald
01a4f16956 hid_host: add report event 2021-02-09 15:59:56 +01:00
Milanka Ringwald
4a4b5586fb hid_host: implement set report and get protocol response 2021-02-09 15:59:56 +01:00
Milanka Ringwald
baccf17d8f hid_host: add set report and get/set protocol events 2021-02-09 15:59:56 +01:00
Milanka Ringwald
dcec10e78d hid_host: disconnect on UNPLUG event, send get_report_response to app 2021-02-09 15:59:56 +01:00
Milanka Ringwald
a7b6332ea1 hid_host: add additional btstack error to handshake errors 2021-02-09 15:59:56 +01:00
Milanka Ringwald
ecd76fd157 hid_host: add HID_SUBEVENT_GET_REPORT_RESPONSE event 2021-02-09 15:59:56 +01:00
Milanka Ringwald
59a2ea7477 hid_host: implement hid control messages (suspend, exit suspend, unplug) 2021-02-09 15:59:55 +01:00
Milanka Ringwald
b6685dec89 hid_host: add incoming connection event 2021-02-09 15:59:55 +01:00
Milanka Ringwald
ab30106e8f hid_host: move code from test code to lib 2021-02-09 15:59:55 +01:00
Milanka Ringwald
fd7ba7a6d2 hid_host: start sdp query and connect 2021-02-09 15:59:55 +01:00
Milanka Ringwald
f399f7fbd7 hid_host: provide memory pool for hid_host_connection_t 2021-02-09 15:59:55 +01:00
Milanka Ringwald
63bf37cdf2 hid_host: start extracting API 2021-02-09 15:59:55 +01:00
Milanka Ringwald
7ec1cfe238 hid_host: handle boot mode, handle send report 2021-02-09 15:59:55 +01:00
Milanka Ringwald
17ec83426d test/pts/hid_host: handle get/set report/protocol 2021-02-09 15:59:55 +01:00
Milanka Ringwald
ffe3f1a125 hid_device: add BLUETOOTH_ATTRIBUTE_HID_NORMALLY_CONNECTABLE to SDP record and an input param to hid_create_sdp_record function 2021-02-09 15:59:55 +01:00
Milanka Ringwald
036cd8e1e8 test/pts/hid_device: handle virtural cable unplug, update test docu 2021-02-09 15:58:26 +01:00
Milanka Ringwald
acfd7ed247 hid_device: add HID_SUBEVENT_VIRTUAL_CABLE_UNPLUG, fix HID suspend events 2021-02-09 15:48:00 +01:00
Milanka Ringwald
1ad99f3bd3 hid_device: add hid_remote_wake attribute to API 2021-02-09 15:48:00 +01:00
Milanka Ringwald
f46aa6e163 test/pts/hid_device: update test documentation 2021-02-09 15:48:00 +01:00
Milanka Ringwald
f02a633419 hid: extract definitions common to both HID host and device into hid.h 2021-02-09 15:48:00 +01:00
Milanka Ringwald
4a32fadf2f test/pts/hid_device: start testing and add test documentation 2021-02-09 15:48:00 +01:00
Milanka Ringwald
caf9a54780 hid_device: remove redundant functions 2021-02-09 15:48:00 +01:00
Milanka Ringwald
517089d16a hid_device: fix event buffer size and remove size check 2021-02-09 15:48:00 +01:00
Milanka Ringwald
e9392950b0 hid_device: fix hid_device_send_interrupt_message 2021-02-09 15:48:00 +01:00
Matthias Ringwald
2cc827d492 zephyr: init sm in posix-h4-zephyr and windows-h4-zephyr 2021-02-09 12:19:08 +01:00
Matthias Ringwald
24f8772682 hci: avoid potential warning 2021-02-09 10:20:51 +01:00
Matthias Ringwald
e2ededa135 changelog: mention avrcp Controller + Target send fix 2021-02-09 10:17:07 +01:00
Matthias Ringwald
88603622f2 test/pts: add aac stream endpoint 2021-02-09 10:11:19 +01:00
Matthias Ringwald
e819545526 daemon/bindings: fix compile for java and python 2021-02-08 18:37:28 +01:00
Matthias Ringwald
457c6b991a doc: add ENABLE_EXPLICIT_IO_CAPABILITIES_REPLY 2021-02-08 18:14:03 +01:00
Matthias Ringwald
44565b0c35 gap: trigger IO Capabilites (Negative) Reply with gap_ssp_io_capabilities_response/gap_ssp_io_capabilities_negative if ENABLE_EXPLICIT_IO_CAPABILITIES_REPLY 2021-02-08 18:14:03 +01:00
Matthias Ringwald
9c2de2bcd6 btstack_defines: add format for HCI_EVENT_IO_CAPABILITY_REQUEST and HCI_EVENT_IO_CAPABILITY_RESPONSE 2021-02-08 18:14:03 +01:00
Matthias Ringwald
11b03efaa1 hci: introduce SEND_IO_CAPABILITIES_NEGATIVE_REPLY 2021-02-08 17:43:11 +01:00
Matthias Ringwald
aaa6d7d5fc docu: list ENABLE_CLASSIC_OOB_PAIRING 2021-02-08 17:19:05 +01:00
Matthias Ringwald
cf01e8888d gap: read local OOB data on start and on call to gap_ssp_generate_oob_data 2021-02-08 17:19:05 +01:00
Matthias Ringwald
75a8e4fae1 gap: emit GAP_EVENT_LOCAL_OOB_DATA 2021-02-08 17:19:05 +01:00
Matthias Ringwald
1849becd40 gap: support classic OOB pairing
new gap_ssp_remote_oob_data allows to report receive OOB data
set OOB data flag in IO Capabilities reply
respond to remote oob data request
2021-02-08 17:19:05 +01:00
Matthias Ringwald
f21849cb27 hci: check if Remote OOB Extended Data Request Reply and Read Local OOB Extended Data command are supported 2021-02-08 14:25:48 +01:00