Matthias Ringwald
d76b111942
goep_client: support de-init
2021-01-18 21:54:36 +01:00
Matthias Ringwald
cc92f22bee
hfp/goep_client/avdtp/a2dp: return SDP_SERVICE_NOT_FOUND
if no suitable SDP record is found
2020-12-14 11:39:43 +01:00
Matthias Ringwald
97d2cfbc6f
fix warnings for log_info/printf
2020-11-30 14:26:45 +01:00
Milanka Ringwald
7bbeb3ad8c
add missing default switch cases
2020-10-27 13:44:55 +01:00
Matthias Ringwald
9192020a66
remove <stdio.h>, <stdlib.h> and printf from most core files
2020-07-07 22:52:12 +02:00
Matthias Ringwald
6535961a1f
ignore memcpy return value (always returns first parameter)
2019-12-02 18:17:20 +01:00
Matthias Ringwald
c1ab6cc1be
MISRAC2012-Rule-12.1: add suggested parentheses
2019-11-19 14:31:48 +01:00
Matthias Ringwald
e501bae083
Use BTSTACK_FILE__ without __ prefix (MISRAC2012-Rule-21.1)
2019-05-11 19:31:55 +02:00
Milanka Ringwald
c4e8cd112f
goep_client: rename functions
2019-03-27 12:00:33 +01:00
Milanka Ringwald
948b36425d
obex_message_builder: rename function
2019-03-27 12:00:33 +01:00
Milanka Ringwald
c446645633
goep_client: use obex builder functions
2019-03-27 12:00:33 +01:00
Milanka Ringwald
41807e9105
goap client: support for put operation and body
2019-03-27 12:00:33 +01:00
Matthias Ringwald
c425ea4ad2
l2cap: add fcs_option to ERTM config l2cap_ertm_config_t
2019-01-08 09:18:09 +01:00
Matthias Ringwald
5715f07244
goep_client: send empty name without trailing \0
2018-10-13 13:29:46 +02:00
Matthias Ringwald
be267879ac
goep_client: enable SRM for RFCOMM connections
2018-10-11 18:17:32 +02:00
Matthias Ringwald
c49af926f2
goep_client: make generic add header functions public
2018-10-10 14:16:37 +02:00
Matthias Ringwald
07cec55730
goep_client: fix build by disabling ENABLE_GOEP_L2CAP
2018-10-09 17:52:17 +02:00
Matthias Ringwald
f68f852875
goep_client: add goep_client_create_abort_request
2018-10-09 17:27:18 +02:00
Matthias Ringwald
68d80bee2b
obex: add SRM and SRMP defines
2018-10-04 18:02:48 +02:00
Matthias Ringwald
78280ede65
geop_client: goep_client_add_header_srm_enable for GOEP v2.0 or higher
2018-10-04 16:19:46 +02:00
Matthias Ringwald
5dcb6ca761
Revert "l2cap ertm: allow SDU of szie MPS in first packet that contains L2CAP SDU Length"
...
This reverts commit f6fb536452573216b8c12692b87b78ef0221df9e.
2018-10-03 17:19:22 +02:00
Matthias Ringwald
f6fb536452
l2cap ertm: allow SDU of szie MPS in first packet that contains L2CAP SDU Length
2018-10-03 17:16:00 +02:00
Matthias Ringwald
6136aefe92
geop_client: temp comment not yet used goep_client_add_byte_header
2018-10-02 14:22:44 +02:00
Matthias Ringwald
fc76587a7f
goep_client: new goep_client_add_byte_header and goep_client_add_word_header
2018-10-01 21:03:14 +02:00
Matthias Ringwald
772b45fd10
goep_client: fix parsing of sdp protocol descriptor list
2018-10-01 17:23:15 +02:00
Matthias Ringwald
fcdd1a56e9
goep_client: use l2cap psm from protocol descriptor if provided
2018-09-28 15:10:14 +02:00
Matthias Ringwald
6092cabe85
pbap_client: only share pbap supported features if remote announces its features in sdp record
2018-09-28 11:43:22 +02:00
Matthias Ringwald
bca6857aa1
pbap_client: add PbapSupportedFeatures to OBEX Connect request
2018-09-20 17:44:10 +02:00
Matthias Ringwald
c08e23972a
goep_client: add goep_client_add_header_challenge_response
2018-09-17 17:08:17 +02:00
Matthias Ringwald
0729a915d3
pbap: send disconnect request before closing connection
2018-09-05 14:26:29 +02:00
Matthias Ringwald
645e6347ac
goep_client: move l2cap-related code into ENABLE_GOEP_L2CAP
2018-09-05 08:18:21 +02:00
Matthias Ringwald
8916d6f773
goep_client: use separate buffer for l2cap
2018-09-05 08:18:21 +02:00
Matthias Ringwald
c81ac70318
goep_client: cuse l2cap ertm channel
2018-09-05 08:18:21 +02:00
Matthias Ringwald
607adee94a
goep_client: implement sdp query to get l2cap psm, implement l2cap functionality
2018-09-05 08:18:21 +02:00
Matthias Ringwald
057d63da77
goep_client: implement l2cap variants
2018-09-05 08:18:21 +02:00
Matthias Ringwald
eef3970d70
goep_client: refactor goep packet generation
2018-09-05 08:18:21 +02:00
Matthias Ringwald
bedf64e313
goep_client: refactor rfcomm packet handler
2018-09-05 08:18:21 +02:00
Matthias Ringwald
ce4de57332
goep_client: add goep_client_add_header_application_parameters
2018-08-20 17:47:18 +02:00
Matthias Ringwald
c028280874
goep_client: fix handling of RFCOMM Channel Closed Event
2018-08-17 17:13:44 +02:00
Milanka Ringwald
6dbf1f9ab2
handle SDP query error
2017-08-22 11:12:08 +02:00
Matthias Ringwald
ab2c6ae4b7
tool: add update_filename.py that adds __BTSTACK_FILE__ to every .c file for use with debug output instead of __FILE__
2017-03-24 23:39:20 +01:00
Matthias Ringwald
f1b34e8dd9
pbap: add Phone Book Access Client (PBAP) over General Object Exchange (GOEP)
...
create RFCOMM connection
send OBEX Connect and receive response
retrieve phone book
repeat GET request when response incomplete
start extracting goep_client.h
support CONNECT message
support GET message
add obex_iterator
use obex_iterator
goep_client adds connection_id if available
avoid accessing internal goep state from pbap
start extracting pbap_client.h
events: add meta events and data packet types for GOEP and PBAP
use events and data packet type for goep
use events and data packet type for pbap
remove private fields from GOEP_SUBEVENT_CONNECTION_OPENED
implement SetPhoneBook
return cid in connect operations, return errors if busy, return obex errors
limit OBEX packet size by bearer MTU
split into obex.h, goep_client.h, goep_client.c, pbap_client.h, pbab_client.c
fix state after pull phonebook
add console UI for testing
clean up code
provide packet_handler in create connection for pbap_client and goep_client
annotate headers for goep_client and pbap_client
2017-03-23 22:27:59 +01:00