25 Commits

Author SHA1 Message Date
Matthias Ringwald
dd148ddbc5 hid_device: added HID Meta Events 2017-04-27 14:56:07 +02: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
Matthias Ringwald
e222d6a026 avrcp: reorder fields in AVRCP_SUBEVENT_NOW_PLAYING_INFO, extend event generator to handle multiple variable length fields 2017-03-01 16:01:49 +01:00
Matthias Ringwald
6397af06fa events: emit warning if foramt and params don't match 2017-02-20 12:38:53 +01:00
Milanka Ringwald
decc740c46 avrcp: send cmd unit_info 2017-02-10 11:07:03 +01:00
Milanka Ringwald
3338b9aef0 sink initiator smg pts tests 2017-01-10 17:01:33 +01:00
Matthias Ringwald
82180fcac7 add le commands for reading and generating diffie-hellman keys via hci commands 2016-11-07 15:15:48 +01:00
Matthias Ringwald
9d585a824f tool: make btstack_event_generator independent from cwd 2016-06-20 11:33:49 +02:00
Matthias Ringwald
568284b08f events: use upper case for event name in descriptions 2016-04-01 16:35:09 +02:00
Milanka Ringwald
fb6e27a3e6 add att to event generator 2016-04-01 16:32:53 +02:00
Milanka Ringwald
8290d1f938 add LE to event generator 2016-04-01 16:22:52 +02:00
Matthias Ringwald
423c667c13 bnep: add bnep_cid to all events, generate bnep event getters, BNEP_EVENT_OPEN_CHANNEL_COMPLETE -> BNEP_EVENT_CHANNEL_OPENED 2016-04-01 11:41:58 +02:00
Matthias Ringwald
90944a9ab7 event: drop getter for subevent_code in subevent 2016-02-19 17:31:49 +01:00
Matthias Ringwald
0e2df43f5c event: introduce hci_event_packet_get_type 2016-02-19 14:52:36 +01:00
Matthias Ringwald
a59bfbf79c events: enable HCI, HSP, HFP events 2016-02-19 11:11:57 +01:00
Matthias Ringwald
313e337b78 event: support Service, Characteristic, Characteristic Descriptor in event generator needed for GATT Events. use new getter in examples 2016-02-18 16:16:46 +01:00
Matthias Ringwald
9c80e4cce8 util.h: rename swapX into reverse_x 2016-02-11 14:37:22 +01:00
Matthias Ringwald
b072ba3345 l2cap: document events, add L2CAP_CAN_SEND_NOW, generate events 2016-02-05 14:38:48 +01:00
Matthias Ringwald
72b5080138 ancs: fix demo. add SM events. Update to MODULE_event_... scheme 2016-02-03 16:10:30 +01:00
Matthias Ringwald
f8fbdce0c5 use little/big_endian_read/store_16/24/32 2016-01-31 00:07:32 +01:00
Matthias Ringwald
5611a760af use for event types 2016-01-30 23:58:36 +01:00
Matthias Ringwald
a481587475 ancs_client: drop ancs_client_event_t 2016-01-29 22:35:46 +01:00
Matthias Ringwald
4de250b4e0 sdp_parser: rename SDP_QUERY_ATTRIBUTE_VALUE -> SDP_QUERY_ATTRIBUTE_BYTE. Use SDP_QUERY_ATTRIBUTE_VALUE for daemon events 2016-01-29 21:58:46 +01:00
Matthias Ringwald
7bd8e93b3a sdp_parser: replace sdp_query_rfcomm_service_event_t with regular hci event 2016-01-29 18:06:32 +01:00
Matthias Ringwald
c3b5b8a5c3 btstack_event_generator.py: automatic generation of event getters/setters 2016-01-29 15:44:26 +01:00