25 Commits

Author SHA1 Message Date
Matthias Ringwald
e8bde1e163 sm: deprecated sm_send_security_request 2020-12-07 12:46:06 +01:00
Matthias Ringwald
bd37f2bf6e sm_pairing examples: handle ERROR_CODE_PIN_OR_KEY_MISSING 2020-12-07 12:46:06 +01:00
Matthias Ringwald
7c4db9dc71 sm_pairing examples: report pairing started event 2020-12-03 20:27:49 +01:00
Matthias Ringwald
3c3e5a84cc example: init gatt client for sm pairing examples, pretty print gatt result 2020-12-02 21:11:07 +01:00
Matthias Ringwald
39620ea5de example/sm_pairing: improve console output 2020-11-16 15:46:19 +01:00
Matthias Ringwald
7e65711b3f sm pairing examples: print re-encryption events 2020-11-12 11:35:19 +01:00
Milanka Ringwald
7bbeb3ad8c add missing default switch cases 2020-10-27 13:44:55 +01:00
Milanka Ringwald
ec8ae085b4 docu: copy editing examples titles 2020-10-23 09:55:01 +02:00
Matthias Ringwald
99c44ab2c7 sm_pairing_peripheral: fix IO Capabilities for Secure Connections with Just Works 2020-10-21 14:34:35 +02:00
Matthias Ringwald
321122182e example/sm_peripheral + sm_central: improve comment, add example config for keyboard entry 2020-06-19 22:11:01 +02:00
Matthias Ringwald
3cdbe9dbd5 sm: support LE Secure Connections Only mode with sm_set_secure_connections_only_mode 2020-05-26 10:52:52 +02:00
Matthias Ringwald
414eb680d1 example/sm_pairing_peripheral: disable security request on connection complete 2019-12-07 21:31:08 +01:00
Matthias Ringwald
e501bae083 Use BTSTACK_FILE__ without __ prefix (MISRAC2012-Rule-21.1) 2019-05-11 19:31:55 +02:00
Matthias Ringwald
73704aa932 sm_pairing_peripheral: only registser for sm events 2018-11-26 20:11:47 +01:00
Matthias Ringwald
bde654efb0 sm_pairing_peripheral: add 0x1111 to service list, make it discoverable by sm_pairing_central 2018-11-26 20:06:59 +01:00
Matthias Ringwald
a4fe646795 example: register for events after setting up the stack, register for hci events after sm_init() 2018-08-24 10:03:14 +02:00
Matthias Ringwald
bf85c2858a merge fixes from master 2018-08-03 22:20:28 +02:00
Matthias Ringwald
0614d6792d example/sm_pairing_central: print SM_EVENT_PAIRING_COMPLETE 2018-02-01 17:37:32 +01:00
Matthias Ringwald
4b8c611fad sm: sm_use_fixed_legacy_pairing_passkey_in_display_role -> sm_use_fixed_passkey_in_display_role 2017-11-13 12:06:04 +01:00
Matthias Ringwald
bace42effc fix format warnings for uint32_t values 2017-05-02 16:17:33 +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
Matthias Ringwald
9ec2630ce4 fix unused parameters warning 2016-12-22 22:16:16 +01:00
Matthias Ringwald
9c22b849b4 example/sm_pairing_peripheral: print identity address and type 2016-10-27 11:12:13 +02:00
Matthias Ringwald
d7ee901afc example: add sm_pairing_peripheral 2016-06-10 10:21:46 +02:00