79 Commits

Author SHA1 Message Date
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
b83d5eab6c hci: mark most hci_emit_... as private 2016-02-11 16:01:44 +01:00
Matthias Ringwald
8314c363bc introduce log_info_key and log_info_hexdump, move prototypes to btstack_debug.h 2016-02-11 14:53:59 +01:00
Matthias Ringwald
9c80e4cce8 util.h: rename swapX into reverse_x 2016-02-11 14:37:22 +01:00
Matthias Ringwald
caed94df78 util.h: move some to hci.h and btstack_link_key_db_fs 2016-02-10 13:35:25 +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
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
72b5080138 ancs: fix demo. add SM events. Update to MODULE_event_... scheme 2016-02-03 16:10:30 +01:00
Matthias Ringwald
af204097d5 daemon/ios: use btstack_device_name_db_fs or _cocoa if appropriate 2016-02-02 22:32:29 +01:00
Matthias Ringwald
ea809503bf iOS: fix daemon compile 2016-02-02 22:11:15 +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
c4786d381e btstack_linked_list: remove user data field 2016-02-01 23:06:54 +01:00
Matthias Ringwald
4f396e87e6 remote name caching: moved from hci.c into daemon.c 2016-02-01 12:23:42 +01:00
Matthias Ringwald
0e537d1e66 move btstack_version.h to platform/daemon and only use by daemon 2016-01-31 20:31:52 +01:00
Matthias Ringwald
591605b768 sdp_query: remove context, update daemon 2016-01-31 20:16:56 +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
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
a874746709 sdp_parser: drop sdp_query_event_t finally 2016-01-29 21:31:07 +01:00
Matthias Ringwald
4225393c87 sdp_parser: replace sdp_query_attribute_value_event_t with regular hci event 2016-01-29 20:47:17 +01:00
Matthias Ringwald
fd2eb611c5 sdp_parser: replace sdp_query_complete_event_t with regular hci event 2016-01-29 18:30: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
24b3c62931 hci_transport: cleanup struct, add init(void *transport_config) 2016-01-24 20:10:17 +01:00
Matthias Ringwald
d0b87bef91 ios: fix compile, streamine function names 2016-01-22 17:44:04 +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
93bcd4d016 only use hostname for daemon 2016-01-21 22:19:02 +01:00
Matthias Ringwald
423a3e4940 add HAVE_PLATFORM_IPHONE_OS. remove USE_BLUETOOL and USE_POWERMANAGEMENT 2016-01-21 21:13:31 +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
8937488244 sdp_qeuery_rfcomm: delete sdp_query_rfcomm_deregister_callback 2016-01-21 12:55:42 +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
bcc59d6cd9 hci_create_cmd_internal -> hci_cmd_create_from_template 2016-01-21 11:30:24 +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
e9e0704f0b vesion.h -> btstack_version.h 2016-01-20 16:11:27 +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
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
16ece13520 prefix debug with btstack_ 2016-01-20 14:52:45 +01:00
Matthias Ringwald
665d90f25e prefixed all linked list types and functions with btstack_ 2016-01-20 14:50:38 +01:00
Matthias Ringwald
2c539f6e7e rename bk_linked_list_t to btstack_linked_list_t 2016-01-20 14:37:23 +01:00
Matthias Ringwald
4fd23d4738 rename bk_linked_list to btstack_linked_list 2016-01-20 14:34:04 +01:00
Matthias Ringwald
204f664b3d platform/daemon: drop src folder 2016-01-20 14:10:05 +01:00
Matthias Ringwald
7e300a8554 extract rfcomm_service_db from remote_device_db and use in daemon 2016-01-18 11:41:18 +01:00