64 Commits

Author SHA1 Message Date
Matthias Ringwald
19830e3fd9 daemon: fix warnings 2017-06-15 14:32:52 +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
a046efa634 ios: fix build 2016-10-25 11:47:20 +02:00
Matthias Ringwald
8c9f78e5bf deamon: fix compile warnings with H2 2016-09-28 09:38:51 +02:00
Matthias Ringwald
7ef6a7bbd9 l2cap: drop reason arg for l2cap_decline_connection - only 'no resources' expected 2016-07-17 22:49:15 +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
0ce46700de gatt_client: drop packet handler for gatt_client_write_value_of_characteristic_without_response 2016-04-08 12:35:18 +02:00
Matthias Ringwald
1bb145c93b daemon: fix compile 2016-04-01 16:10:26 +02:00
Matthias Ringwald
8b26961ae5 mtk: fix hci transport, daemon: fix compile 2016-04-01 16:04:35 +02:00
Matthias Ringwald
62c64df103 daemon: prefix l2cap/rfcomm/sdp events only used by daemon 2016-04-01 15:37:36 +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
9490bce5e8 fix compile 2016-03-29 22:05:00 +02:00
Matthias Ringwald
e32b1c032a drop HAVE_SO_NOSIGPIPE 2016-03-29 21:51:43 +02:00
Matthias Ringwald
f8d88472fc rename cocoa to corefoundation 2016-03-28 13:15:21 +02:00
Matthias Ringwald
e3f52beb49 daemon: fix compile 2016-03-28 11:36:15 +02:00
Matthias Ringwald
af0d0df5e5 replace malloc+memset by calloc 2016-03-27 23:01:37 +02:00
Matthias Ringwald
a32d71b603 replace malloc+memset by calloc 2016-03-27 22:54:25 +02:00
Matthias Ringwald
51acb41463 fix old contact email 2016-03-26 22:03:43 +01:00
Matthias Ringwald
24ced5a6f6 runloop: enable callback for all data sources 2016-03-24 22:12:50 +01:00
Matthias Ringwald
896424b78e runloop: add data source callback type to ds handler 2016-03-24 21:53:42 +01:00
Matthias Ringwald
7cd5ef9557 runloop: pass callback type to data source process functions 2016-03-24 20:46:20 +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
3a5c43eebf runloop: set data source fd by new setter 2016-03-24 20:04:14 +01:00
Matthias Ringwald
835c167141 runloop: set ds->process via setter 2016-03-24 19:36:55 +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
80ccb146b2 daemon: fix rfcomm_service_db_memory.c 2016-03-04 15:26:04 +01:00
Matthias Ringwald
463a5e8dac daemon: fix example compile 2016-03-04 14:45:37 +01:00
Matthias Ringwald
0e2df43f5c event: introduce hci_event_packet_get_type 2016-02-19 14:52:36 +01:00
Matthias Ringwald
fc64f94a83 use hci_con_handle_t more 2016-02-19 13:57:49 +01:00
Matthias Ringwald
711e6c8033 use hci_con_handle_t more 2016-02-19 11:24:51 +01:00
Matthias Ringwald
2531c97e16 daemon: move examples from example/daemon to platform/daemon/example. fix mtk compile 2016-02-19 10:33:52 +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
Matthias Ringwald
ff839116f5 hci_transport_h4.c -> hci_transport_h4_posix.c 2016-01-07 10:42:11 +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
a449c50a68 remove hand out credit code in l2cap/rfcomm. 2016-01-05 17:21:16 +01:00
Matthias Ringwald
8736ab0cf2 prefix linked_list 2015-12-22 21:48:13 +01:00
Matthias Ringwald
972d111a8e fix compile for iOS port 2015-12-18 16:47:50 +01:00
Matthias Ringwald
c0be408cdc Merge branch 'master' into ble-api-cleanup 2015-12-18 16:36:10 +01:00
Matthias Ringwald
0dae983f2f rename btstack.h to btstack_client.h 2015-11-17 13:46:49 +01:00
Matthias Ringwald
1ff66993a4 fix compile of daemon examples 2015-11-16 15:11:40 +01:00
Matthias Ringwald
a8307d38d6 extract daemon cmds from hci_cmds into platform/daemon/src/daemon_cmd 2015-11-16 15:03:02 +01:00
Matthias Ringwald
818d1ad4f5 move event emit code outside HAVE_BLE section 2015-11-16 14:52:35 +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
f08f6ff2f7 drop sdp packet handler 2015-11-15 14:04:48 +01:00
Matthias Ringwald
f1a4af62ee drop connection from sdp register/unregister 2015-11-15 14:02:45 +01:00
Matthias Ringwald
045ba8fec0 move sdp_emit_service_registered to daemon 2015-11-14 23:26:59 +01:00