4614 Commits

Author SHA1 Message Date
Matthias Ringwald
8799c04358 collect Bluetooth defines from hci.h 2015-11-15 21:28:35 +01:00
Matthias Ringwald
47f4e325b4 extract all standard Bluetooth definitions from hci_cmds.h into the new bluetooth.h 2015-11-15 21:23:43 +01:00
Matthias Ringwald
22c004edd1 remove alignment hack for sdp service record buffer 2015-11-15 21:03:03 +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
60416aa529 fix test compile due to change l2cap packet handler signature 2015-11-15 20:45:43 +01:00
Matthias Ringwald
bddf0de434 Merge branch 'ble-api-cleanup' of https://github.com/bluekitchen/btstack into ble-api-cleanup 2015-11-15 19:42:29 +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
b34012481f create service_record_item memory pool 2015-11-15 14:16:15 +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
9b425432dd fix compile 2015-11-15 14:01:52 +01:00
Matthias Ringwald
32a66b8deb drop connection field in service_record_item_t 2015-11-14 23:29:44 +01:00
Matthias Ringwald
00cae490be fix compile 2015-11-14 23:27:21 +01:00
Matthias Ringwald
045ba8fec0 move sdp_emit_service_registered to daemon 2015-11-14 23:26:59 +01:00
Milanka Ringwald
ec0ee77dc3 fix codecs connection tests 2015-11-13 23:19:36 +01:00
Matthias Ringwald
0cc6429e00 drop connection from bnep implementation 2015-11-13 23:09:03 +01:00
Matthias Ringwald
9f3b2b8a86 drop connection from rfcomm_channel and rfcomm_service 2015-11-13 22:57:38 +01:00
Matthias Ringwald
96585c7d12 lookup connection by l2cap/rfcomm cid for data packets 2015-11-13 22:56:09 +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
d43f0d5d08 lookup connection by rfcomm cid in daemon 2015-11-13 22:17:55 +01:00
Matthias Ringwald
dac6bd0973 lookup connection by l2cap cid in daemon 2015-11-13 22:14:19 +01:00
Matthias Ringwald
c5a819b6c9 fix more l2cap packet handler 2015-11-13 22:03:53 +01:00
Matthias Ringwald
ffbf82013e drop void * connection param from l2cap packet handlers 2015-11-13 21:57:19 +01:00
Matthias Ringwald
02f83142d4 replace l2cap_unregister_interal with l2cap_unregister 2015-11-13 21:34:43 +01:00
Matthias Ringwald
be2053a636 use l2cap_register instead of l2cap_register_internal, move service registered event generation to daemon 2015-11-13 21:32:29 +01:00
Matthias Ringwald
6551847ef9 remove deprecated l2cap_create_channel_internal 2015-11-13 21:18:00 +01:00
Matthias Ringwald
90a28bde02 use l2cap_create_channel instead of deprecated l2cap_create_channel_internal 2015-11-13 21:16:30 +01:00
Matthias Ringwald
4b7dd87a0e use l2cap_create_channel instead of deprecated l2cap_create_channel_internal 2015-11-13 21:12:29 +01:00
Matthias Ringwald
16e13fd0d2 remove deprecated rfcomm_create_(with_initial_credits_)internal 2015-11-13 21:10:33 +01:00
Matthias Ringwald
ea83240353 use rfcomm_create_channel instead of rfcomm_create_channel_internal 2015-11-13 21:08:36 +01:00
Matthias Ringwald
432fe57e13 check out_rfcomm_cid if not NULL 2015-11-13 21:05:52 +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
Milanka Ringwald
d212fbd898 rework codecs connection state machine 2015-11-13 17:13:48 +01:00
Matthias Ringwald
bc2c4f26a4 disable portaudio stuff until test's over 2015-11-13 17:12:39 +01:00
Matthias Ringwald
dd3f3c3c5e use new l2cap_create_channel in daemon 2015-11-13 17:07:10 +01:00
Matthias Ringwald
0ce034e079 use daemon_client instead of incorrect gatt_client 2015-11-13 16:51:44 +01:00
Matthias Ringwald
9077cb155a add l2cap_create_channel that return local cid instead of setting connection_t field 2015-11-13 16:47:02 +01:00
Matthias Ringwald
117f0209cd append _cmd to l2cap_, rfcomm_, and sdp_ btstack commands 2015-11-13 16:31:30 +01:00
Matthias Ringwald
5139cb21b9 append _cmd to l2cap_, rfcomm_, and sdp_ btstack commands 2015-11-13 16:29:01 +01:00
Matthias Ringwald
bf01b0119c rename internal function 2015-11-13 15:22:59 +01:00
Matthias Ringwald
e8474f1aaa more .gitignore 2015-11-13 15:10:43 +01:00
Matthias Ringwald
3edc84c5b6 fix paths after source reorg 2015-11-13 15:04:41 +01:00
Matthias Ringwald
40276177c4 describe tree structure 2015-11-13 10:31:44 +01:00
Matthias Ringwald
6887ca698d move ant_cmds.h to ant_cmds.c 2015-11-13 10:22:31 +01:00
Matthias Ringwald
8caefee39d separate platform specific code and ports for a particular setup 2015-11-13 10:18:04 +01:00
Matthias Ringwald
8b53bde7cb remote_device_db is classic-only 2015-11-13 10:01:39 +01:00
Matthias Ringwald
a705b1a26d sort out embedded implementations 2015-11-13 09:58:30 +01:00
Matthias Ringwald
0c22758f65 sort btstack.h for client/server use 2015-11-13 09:47:26 +01:00
Matthias Ringwald
3deb3ec680 split sources into core, ble, and classic 2015-11-13 09:45:13 +01:00