53 Commits

Author SHA1 Message Date
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
a6efb91912 rewrite sscanf_bd_addr to be sscanf free 2016-03-04 14:21:22 +01:00
Matthias Ringwald
6e25cd8d95 ports: use MAX_NO_BTSTACK_LINK_KEY_DB_MEMORYS 2016-03-04 13:42:49 +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
bcf00d8fa4 examples: move out of embedded subfolder 2016-02-19 09:46:37 +01:00
Matthias Ringwald
15a95bd5aa gap: declare more hci functions as gap functions 2016-02-18 17:12:57 +01:00
Matthias Ringwald
023f27646b sdp_query_util: inline into sdp_util and sdp_client 2016-02-18 12:10:47 +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
80b9a8caa6 add ENABLE_CLASSIC to all examples 2016-01-24 18:09:29 +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
77b4f63d67 drop #define EMBEDDED 2016-01-21 22:53:31 +01:00
Matthias Ringwald
0d529a9fd2 streamline btstack_config.h files 2016-01-21 21:56:56 +01:00
Matthias Ringwald
2539bee62f HAVE_HCI_DUMP -> ENABLE_LOG_INTO_HCI_DUMP 2016-01-21 21:27:06 +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
a9a4c40924 structure btstack-config.h 2016-01-21 15:33:36 +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
986dfa11c7 hci_transport_h4_[ehcill_]_dma -> hci_transport_h4_[ehcill_]_embedded 2016-01-21 11:11:30 +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
4ab92137d3 missing run_loop.c -> btstack_run_loop.c renames 2016-01-20 15:42:54 +01:00
Matthias Ringwald
8f2a52f4d9 forgot to add files in earlier commit 2016-01-20 15:38:37 +01:00
Matthias Ringwald
8263662281 run_loop.h -> btstack_run_loop.h 2016-01-20 15:08:39 +01:00
Matthias Ringwald
d2e6c4b762 prefix memory_pool files with btstack_ 2016-01-20 14:56:28 +01:00
Matthias Ringwald
4fd23d4738 rename bk_linked_list to btstack_linked_list 2016-01-20 14:34:04 +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
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
cd9ee14457 add MAX_NO_SERVICE_RECORD_ITEMS to all configs, generated code 2015-11-15 14:20:35 +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