12146 Commits

Author SHA1 Message Date
Matthias Ringwald
cf4c9541a9 manual: add HID Device 2021-02-09 16:30:44 +01:00
Matthias Ringwald
9a9a8dbd1c changelog: add HID Host 2021-02-09 16:03:00 +01:00
Milanka Ringwald
de17dca448 manual: add hid host minimal docu 2021-02-09 15:59:56 +01:00
Milanka Ringwald
b0723cec01 readme: update profiles 2021-02-09 15:59:56 +01:00
Milanka Ringwald
b40259c13b hid_host: add APIs and example to online docu 2021-02-09 15:59:56 +01:00
Milanka Ringwald
d93f9014b1 hid_host_demo: update documentation 2021-02-09 15:59:56 +01:00
Milanka Ringwald
7379ca3deb hid_host: in finalize_connection call l2cap_disconnect when needed 2021-02-09 15:59:56 +01:00
Milanka Ringwald
2ba92e70de hid_host: fix outgoing connection in boot mode 2021-02-09 15:59:56 +01:00
Milanka Ringwald
e615b0ec8b hid_host: set hid_descriptor_status for incoming connection; emit descriptor_available_event in boot modus 2021-02-09 15:59:56 +01:00
Milanka Ringwald
f1aa1cdc5d hid_host_demo: improve console output 2021-02-09 15:59:56 +01:00
Milanka Ringwald
de89a6fc43 hid_host: for incoming connection emit descriptor available on SDP query done 2021-02-09 15:59:56 +01:00
Milanka Ringwald
48174cc50f hid_host: extend HID_SUBEVENT_SET_PROTOCOL_RESPONSE event with protocol_mode field 2021-02-09 15:59:56 +01:00
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