58 Commits

Author SHA1 Message Date
Matthias Ringwald
95a8ee01a4 btstack_stdin: provide console input in callback 2017-05-27 21:50:39 +02:00
Matthias Ringwald
7ea7688a8f btstack_stdin: replace stdin_support.[ch] with btstack_stdin.h and platform implementations 2017-05-27 21:50:19 +02:00
Matthias Ringwald
16f28706fd examples: use gap_pin_code_response in examples and tests 2017-05-22 11:44:40 +02:00
Matthias Ringwald
235946f152 bluetooth_sdp: use scraped SDP UUID and PSMs for SDP record creation and parsing 2017-03-26 22:19:18 +02:00
Matthias Ringwald
13e6e052f6 pts: fix compile 2016-04-01 14:50:10 +02:00
Milanka Ringwald
caa8239151 use getters in RFCOMM_EVENT_INCOMING_CONNECTION and RFCOMM_EVENT_CHANNEL_OPENED 2016-04-01 14:31:18 +02:00
Milanka Ringwald
a6ef64ba22 use hci_event_pin_code_request_get_bd_addr 2016-04-01 14:04:14 +02:00
Milanka Ringwald
f8744dea34 use hci_event_inquiry_result_get_num_responses 2016-04-01 12:16:32 +02:00
Milanka Ringwald
fb42b6e599 use btstack_event_state_get_state 2016-04-01 12:07:08 +02:00
Matthias Ringwald
f8f6a918bd events: RFCOMM_EVENT_OPEN_CHANNEL_COMPLETE -> RFCOMM_EVENT_CHANNEL_OPENED 2016-03-31 23:37:33 +02:00
Matthias Ringwald
3583331350 fix prototypes for fn() 2016-03-28 11:54:38 +02:00
Matthias Ringwald
60b9e82fcb hci/gap: move set_class_of_device to gap 2016-03-26 23:14:43 +01:00
Matthias Ringwald
c4ae7169b8 runloop: replace struct btstack_data_source with btstack_data_source_t 2016-03-24 20:26:16 +01:00
Matthias Ringwald
99a1006758 Merge branch 'master' into develop 2016-03-17 14:16:38 +01:00
Matthias Ringwald
efda0b48f9 sdp_util: extract sdp_create_spp_service into spp_server and use spp_create_sdp_record 2016-03-17 11:24:38 +01:00
Matthias Ringwald
763c9b6f30 sdp_client: rename sdp_query_rfcomm -> sdp_client_query_rfcom 2016-03-17 10:58:11 +01:00
Matthias Ringwald
7fbb5f59ef sdp_client: use sdp_client_query prefix for rfcomm queries 2016-03-17 10:42:14 +01:00
Matthias Ringwald
15a95bd5aa gap: declare more hci functions as gap functions 2016-02-18 17:12:57 +01:00
Matthias Ringwald
827b1c43e5 use DAEMON prefix for daemon events 2016-02-18 12:24:44 +01:00
Matthias Ringwald
6c927b22a9 sdp_query: pass in packet handler on query instead of global registration. integrate sdp_parser into sdp_client 2016-02-17 20:21:21 +01:00
Matthias Ringwald
33885e447f pts: fix compile 2016-02-12 16:41:58 +01:00
Matthias Ringwald
073bd0fad0 hci: COMMAND_COMPLETE_EVENT->HCI_EVENT_IS_COMMAND_COMPLETE. COMMAND_STATUS_EVENT->HCI_EVENT_IS_COMMAND_STATUS 2016-02-11 16:12:55 +01:00
Matthias Ringwald
058e3d6b6b util.h: use lower case for bd_addr_copy and bd_addr_cmp 2016-02-10 17:09:24 +01:00
Matthias Ringwald
746ccb7e4a rename sdp -> sdp_server 2016-02-07 00:16:04 +01:00
Matthias Ringwald
fc376368bd rfcomm: drop rfcomm_register_packet_handler and send events via per channel handler 2016-02-05 12:02:46 +01:00
Matthias Ringwald
ccb8ddfbd8 rfcomm: pass packet handler for create service or channel. store in service and channel structs 2016-02-05 11:50:47 +01:00
Matthias Ringwald
c5b64319fd l2cap: don't forward HCI to l2cap packet handler. Replace l2cap_register_packet_handler with hci_add_event_handler. Fix tests 2016-02-03 21:55:36 +01:00
Matthias Ringwald
bb4c225d53 l2cap: don't forwared HCI Events to L2CAP Connectionless Packet Handler 2016-02-03 20:10:26 +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
a874746709 sdp_parser: drop sdp_query_event_t finally 2016-01-29 21:31:07 +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
7907f06931 btstack-config.h -> btstack_config.h 2016-01-21 15:41:16 +01:00
Matthias Ringwald
add0254b7d drop _internal from doc and remaining places 2016-01-21 12:21:03 +01:00
Matthias Ringwald
28190c0b45 rfcomm: drop _internal 2016-01-21 12:09:19 +01:00
Matthias Ringwald
ce8f182ecc l2cap: drop _internal 2016-01-21 12:03:39 +01:00
Matthias Ringwald
5604262918 hci_cmds -> hci_cmd 2016-01-21 11:33:17 +01:00
Matthias Ringwald
eb8860135e fix missing bstack_ for struct data_source and struct timer. utils->btstack_util 2016-01-20 16:10:07 +01:00
Matthias Ringwald
8263662281 run_loop.h -> btstack_run_loop.h 2016-01-20 15:08:39 +01:00
Matthias Ringwald
e53943d75d pass in service record handle for sdp spp create 2015-11-25 15:57:48 +01:00
Matthias Ringwald
9293bfa465 rework SDP Service Record management. Service Records can be stored in ROM, daemon creates records on the heap 2015-11-15 20:56:59 +01:00
Matthias Ringwald
f1a4af62ee drop connection from sdp register/unregister 2015-11-15 14:02:45 +01:00
Matthias Ringwald
e4dd59a7e3 drop connection from rfcomm_register_packet_handler callback 2015-11-13 22:52:48 +01:00
Matthias Ringwald
457b5cb16b drop connection from rfcomm_register_service_internal and rename to rfcomm_register_service 2015-11-13 22:36:27 +01:00
Matthias Ringwald
c5a819b6c9 fix more l2cap packet handler 2015-11-13 22:03:53 +01:00
Matthias Ringwald
3edc84c5b6 fix paths after source reorg 2015-11-13 15:04:41 +01:00
Matthias Ringwald
83d0b0a548 call gap_set_bondable_mode in classic_test 2015-11-08 21:42:44 +01:00
Matthias Ringwald
c1a76a575f fix -Wmissing-prototypes and -Wshadow warnings for pts 2015-11-08 17:33:27 +01:00
Matthias Ringwald
ab00563d6f set Networking flag in CoD to indicate BNEP/PAN 2015-11-07 22:16:34 +01:00