Commit Graph

52 Commits

Author SHA1 Message Date
Milanka Ringwald
8aee7be2bb gap: introduce GIAC and LIAC, use gap_start_inquiry wrapper function 2018-09-24 11:40:59 +02:00
Matthias Ringwald
c19bb75c13 ez430-rf2560 + msp-exp430f5438-cc2564: remove old ant_test.c example 2017-10-02 15:04:40 +02:00
Matthias Ringwald
f6a20ec99f eHCILL: use ENABLE_EHCILL instead of HAVE_EHCILL plus runtime enable call, updated docs 2016-04-27 15:18:55 +02:00
Matthias Ringwald
084ad01c1a hci_transport/btstack_uart_block: create btstack_uart_block_embedded on top of hal_uart_dma. Pass in uart driver to H4/H5 instances 2016-04-20 23:18:15 +02:00
Matthias Ringwald
797dcf6d10 docu: get rid of remote_device_db 2016-04-01 16:51:17 +02:00
Milanka Ringwald
32fe02795b use hci_event_link_key_request_get_bd_addr 2016-04-01 14:43:59 +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
be7cc9a0c2 use btstack_event_state_get_state 2016-04-01 12:27:13 +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
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
726a19abef fix msp430 ports 2016-03-04 14:37:06 +01:00
Matthias Ringwald
e72801c4a5 fix comile 2016-02-24 17:10:29 +01:00
Matthias Ringwald
0e2df43f5c event: introduce hci_event_packet_get_type 2016-02-19 14:52:36 +01:00
Matthias Ringwald
711e6c8033 use hci_con_handle_t more 2016-02-19 11:24:51 +01:00
Matthias Ringwald
15a95bd5aa gap: declare more hci functions as gap functions 2016-02-18 17:12:57 +01:00
Matthias Ringwald
591423b2a5 att -> att_db 2016-02-11 21:23:06 +01:00
Matthias Ringwald
2d5e09d6d4 hci: set link_key_db via hci_set_link_key_db instead of via hci_init(). 2016-02-11 20:10:17 +01:00
Matthias Ringwald
724d70a2cf bt_flip_addr(dest,src) -> reverse_bd_addr(src,dest) 2016-02-11 15:20:08 +01:00
Matthias Ringwald
746ccb7e4a rename sdp -> sdp_server 2016-02-07 00:16:04 +01:00
Matthias Ringwald
1b89a84bb7 use L2CAP/RFCOMM_EVENT_CAN_SEND_NOW instead of DAEMON_EVENT_HCI_PACKET_SEND 2016-02-05 22:36:46 +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
d9a7306a10 hci/sm: use btstack_packet_handler instead of (*fn)(type,packet,size) for events 2016-02-04 17:45:02 +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
a98592bc68 split remote_device_db into btstack_link_key_db and btstack_device_name_db 2016-02-02 21:57:10 +01:00
Matthias Ringwald
f8fbdce0c5 use little/big_endian_read/store_16/24/32 2016-01-31 00:07:32 +01:00
Matthias Ringwald
24b3c62931 hci_transport: cleanup struct, add init(void *transport_config) 2016-01-24 20:10:17 +01:00
Matthias Ringwald
fb55bd0acc remove btstack_control_h from hci_init. mark btstack_control, hci_transport, and hci_transport_config as const 2016-01-22 17:16:06 +01:00
Matthias Ringwald
faa6c1f625 renamed bt_control_chipsetname into btstack_chipset_chipsetname. fix some builds 2016-01-22 17:01:08 +01:00
Matthias Ringwald
3fb36a2984 chipset: remove all chipset functions from btstack_control.h and use from hci.c 2016-01-22 15:41:59 +01:00
Matthias Ringwald
c67501cb47 hci: add hci_set_chipset and set it for all ports 2016-01-22 14:55:13 +01:00
Matthias Ringwald
8f1b6c7162 use _ instead of - in file names 2016-01-21 15:47:16 +01:00
Matthias Ringwald
7907f06931 btstack-config.h -> btstack_config.h 2016-01-21 15:41:16 +01:00
Matthias Ringwald
28190c0b45 rfcomm: drop _internal 2016-01-21 12:09:19 +01:00
Matthias Ringwald
5604262918 hci_cmds -> hci_cmd 2016-01-21 11:33:17 +01:00
Matthias Ringwald
d4c40e6512 use hci_transport_TYPE_instace() consistently. Fix iOS port build 2016-01-21 11:05:09 +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
ec820d7756 prefix data_source_t and timer_source_t with btstack 2016-01-20 16:00:45 +01:00
Matthias Ringwald
528a4a3b3e prefix run_loop_ functions with btstack_ 2016-01-20 15:58:46 +01:00
Matthias Ringwald
8263662281 run_loop.h -> btstack_run_loop.h 2016-01-20 15:08:39 +01:00
Matthias Ringwald
9796ebea28 hci_trasport: add type to hci transport config, update all ports 2016-01-06 23:02:46 +01:00
Matthias Ringwald
a484130c09 run_loop: pass in run_loop_X_get_instance() to run_loop_init(). Various other fixes 2016-01-06 17:31:20 +01:00
Matthias Ringwald
e53943d75d pass in service record handle for sdp spp create 2015-11-25 15:57:48 +01:00
Matthias Ringwald
f7a05cdac4 integrate gap_le.h into gap.h 2015-11-16 23:04:25 +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
457b5cb16b drop connection from rfcomm_register_service_internal and rename to rfcomm_register_service 2015-11-13 22:36:27 +01:00
Matthias Ringwald
ffbf82013e drop void * connection param from l2cap packet handlers 2015-11-13 21:57:19 +01:00
Matthias Ringwald
5d1e858f3a create rfcomm_create_channel and rfcomm_create_channel_with_initial_credits that don't use connection. use in daemon 2015-11-13 21:01:26 +01:00