13434 Commits

Author SHA1 Message Date
Matthias Ringwald
4f68fbd0a4 test/pts: fix pbap_pce_test spelling 2021-11-27 19:53:00 +01:00
Matthias Ringwald
9ce3e3486f test/pts: use pbap_pce to set PropertySelector and vCardSelector 2021-11-27 19:50:31 +01:00
Matthias Ringwald
80448b76dc test/pts: update doc for pbap_pce_test 2021-11-27 19:50:31 +01:00
Matthias Ringwald
6640e9e0b6 pbap_client: allow to send abort operation while other request is active 2021-11-27 19:50:31 +01:00
Matthias Ringwald
e9b4d96784 pbap_client: add pbap_set_property_selector 2021-11-26 23:48:27 +01:00
Matthias Ringwald
7b0fffc958 pbab_client: use obex_parser 2021-11-26 22:34:48 +01:00
Matthias Ringwald
4de67120c0 example: add obex_parser.c to examples 2021-11-26 22:34:48 +01:00
Matthias Ringwald
ac9a0d84d5 obex: add stream-based obex parser and tests 2021-11-26 22:34:48 +01:00
Matthias Ringwald
eea7024143 test/pts: fix pbap_pce_test build 2021-11-26 22:34:48 +01:00
Matthias Ringwald
107ca0215e goep_client: increase outgoing buffer to 150 bytes 2021-11-26 22:34:48 +01:00
Matthias Ringwald
95f7509441 obex_message_builder: append trailing \0 in obex_message_builder_header_add_name_prefix 2021-11-26 22:34:48 +01:00
Matthias Ringwald
ce7b39ecfe l2cap: fix ertm fragmentation 2021-11-26 22:34:48 +01:00
Matthias Ringwald
d52170bc56 pbap_client: extract pbap_client_process_vcard_listing_body 2021-11-25 08:55:16 +01:00
Matthias Ringwald
f84f8a7f22 pbap_client: process obex packet in single pass 2021-11-25 08:55:16 +01:00
Matthias Ringwald
7687f39512 pbap_client: use switch in pbap_client_process_vcard_listing, delete unused code 2021-11-25 08:55:16 +01:00
Matthias Ringwald
74492e8dd1
Merge pull request #387 from Matheus-Garbelini/develop
gatt_client: add gatt_client_discover_secondary_services
2021-11-25 08:33:27 +01:00
Matheus Eduardo Garbelini
8d1f34d35f Add gatt_client_discover_secondary_services
Changes:
1.  In `gatt_client_discover_primary_services`,  gatt_client->uuid16 = GATT_PRIMARY_SERVICE_UUID; instead of gatt_client->uuid16 = 0;
2.  In `send_gatt_services_request`, second argument uses gatt_client->uuid16 instead of hardcoded definition

Additions:
1.  Added gatt_client_discover_secondary_services following uui16 changes above. gatt_client->uuid16 = GATT_SECONDARY_SERVICE_UUID;
2021-11-24 21:59:22 +08:00
Matthias Ringwald
0689ede586 cmake: set project name for test/pts and port/libusb 2021-11-24 10:23:01 +01:00
Matthias Ringwald
cebb917d08 test/auto-pts: fix build without classic 2021-11-24 10:22:40 +01:00
Matthias Ringwald
4b523b5e94 l2cap: fix compile without classic 2021-11-23 10:33:00 +01:00
Matthias Ringwald
8658ef7a1c test: fix warnings 2021-11-23 10:10:39 +01:00
Matthias Ringwald
5b192b3f55 daemon: fix build 2021-11-22 18:04:05 +01:00
Matthias Ringwald
24378be3a8 daemon: fix build 2021-11-22 17:55:35 +01:00
Matthias Ringwald
d2102f77fe l2cap: fix event ids and pts test 2021-11-22 17:36:47 +01:00
Matthias Ringwald
feadaffdb1 example: le cbm clien/server - fix build 2021-11-22 14:51:36 +01:00
Matthias Ringwald
01f33f4af1 l2cap: unify events for can send now, packet sent, channel closed (CbM/ECBM using existing events) 2021-11-22 14:42:42 +01:00
Matthias Ringwald
372dd7ce8a test/pts/l2cap_cbm_ecbm: use unified functinos 2021-11-22 12:38:51 +01:00
Matthias Ringwald
d2bf13739d l2cap: use decline reason in l2cap_cbm_decline_connection 2021-11-22 12:21:41 +01:00
Matthias Ringwald
8ec6b8c649 changelog: l2cap unify API for can send now, request to send, and send packet and disconnect channel 2021-11-22 12:21:11 +01:00
Matthias Ringwald
f062abd6f2 l2cap: fold cbm/ecbm send data into l2cap_send 2021-11-22 12:19:24 +01:00
Matthias Ringwald
7428aa283d l2cap: fix l2cap_can_send_packet_now without classic 2021-11-22 11:46:00 +01:00
Matthias Ringwald
ce7c252c10 l2cap: return L2CAP_LOCAL_CID_DOES_NOT_EXIST for l2cap_send_prepared and l2cap_send 2021-11-22 11:41:46 +01:00
Matthias Ringwald
ef59d01394 l2cap: fold cbm/ecbm request can send now into l2cap_request_can_send_now_event 2021-11-22 11:22:29 +01:00
Matthias Ringwald
169f7220e3 l2cap: return status for l2cap_request_can_send_now_event 2021-11-22 11:06:08 +01:00
Matthias Ringwald
10ab986964 l2cap: drop l2cap_cbm_can_send_now (use l2cap_can_send_packet_now) 2021-11-22 11:05:31 +01:00
Matthias Ringwald
1fb0b27a8a l2cap: drop cbm/ecbm disconnect functions 2021-11-22 10:51:21 +01:00
Matthias Ringwald
b93f89661e l2cap: drop reason param in l2cap_disconnect 2021-11-22 10:49:32 +01:00
Matthias Ringwald
d374cc2839 test/pts: use l2cap_cbm_ecbm for credit-based mode tests 2021-11-22 09:43:58 +01:00
Matthias Ringwald
9a98c7803e l2cap: emit ecbm closed on hci disconnect 2021-11-20 23:22:23 +01:00
Matthias Ringwald
f4e7dc8e95 test/l2cap-channel: rename tests 2021-11-20 23:11:03 +01:00
Matthias Ringwald
2bb7e314f8 test/l2cap-channel: fix build 2021-11-20 23:06:13 +01:00
Matthias Ringwald
2ef8fe0854 test: rename l2cap-le into l2cap-channel 2021-11-20 22:55:58 +01:00
Matthias Ringwald
284d66bc61 example: rename le_data_channel examples into le_credit_based_flow_control_mode 2021-11-20 22:51:15 +01:00
Matthias Ringwald
40b92a9edc l2cap: map connection response error codes to bluetooth error codes 2021-11-20 21:45:26 +01:00
Matthias Ringwald
c78b4f699d btstack_posix_tlv: use max value size of 2048, assert if size is larger in store 2021-11-20 20:34:09 +01:00
Matthias Ringwald
0d37aff3fe hci: assert can send now in initialization run 2021-11-20 12:30:41 +01:00
Matthias Ringwald
dfc5d4aed9 l2cap: use CBM and ECBM prefix in l2cap event 2021-11-19 15:30:43 +01:00
Matthias Ringwald
8d8936a60e l2cap: provide l2cap_ertm_decline_connection 2021-11-19 15:21:15 +01:00
Matthias Ringwald
fb0a3dc690 l2cap: allow to provide result in l2cap_cbm_decline_connection 2021-11-19 14:54:55 +01:00
Matthias Ringwald
285d8eee48 l2cap: prefix static cbm and ecbm functions 2021-11-19 14:46:31 +01:00