45 Commits

Author SHA1 Message Date
matthias.ringwald@gmail.com
356170583a changed struct name 2013-10-25 12:26:33 +00:00
matthias.ringwald
98fea381a9 fix no newline at end of file 2011-11-09 15:31:58 +00:00
matthias.ringwald
7bba34d17e use bd_addr_to_str instead of print_bd_addr - and provide compat-svn.c to deal with fact that bd_addr_to_str is not in current Cydia release of BTstack 2011-08-01 11:52:27 +00:00
matthias.ringwald
549e6ebe45 more compiler warning fixes 2011-06-06 14:34:29 +00:00
matthias.ringwald
c61d85f627 revert accidental commit 2011-04-30 20:33:19 +00:00
matthias.ringwald
e115bf24db Added RFCOMM 2011-04-30 20:30:05 +00:00
matthias.ringwald
855942a4c2 don't set local name - done by BTdaemon since 885 2010-08-21 22:43:11 +00:00
matthias.ringwald
f096d74f23 add link key/pairing handling 2010-08-14 13:49:29 +00:00
matthias.ringwald
fc5ceb98a9 use 4x4 matrix 2010-06-13 19:01:46 +00:00
matthias.ringwald
2033929e11 added read/write link supervision timeout 2010-01-24 21:57:30 +00:00
matthias.ringwald
b77060e279 recommit wiimote code 2009-12-29 17:26:58 +00:00
matthias.ringwald
b66fb894f8 added note on client connection, re-added send link key negative command 2009-12-29 17:21:31 +00:00
matthias.ringwald
eb89b09731 use <string.h> instead of <strings.h> 2009-11-23 20:31:57 +00:00
matthias.ringwald
04611bcdb1 added command line inquiry scan, update packet handler signature 2009-11-07 16:40:12 +00:00
matthias.ringwald
1713bcea3a prepend all source files with 'new BSD' copyright header 2009-10-29 20:25:42 +00:00
matthias.ringwald
6f60b3f468 forward channel ID to client packet handler. only deliver payload to client instead of complete header incl acl + l2cap headers. fix examples 2009-10-21 19:58:40 +00:00
matthias.ringwald
03cfbabc9a added status to L2CAP_CHANNEL_OPENED event 2009-10-19 20:21:32 +00:00
matthias.ringwald
e29adc1159 add support for Cocoa CoreFoundation run loop - not fully implemented but usable by clients, use ms instead of s for run_loop_set_timer function 2009-10-07 20:17:19 +00:00
matthias.ringwald
1f86f1bbfd merge event and data handler into general packet handler 2009-10-05 22:06:12 +00:00
matthias.ringwald
b360b6ad92 remove BTSTACK_EVENT_WORKING. Use BTSTACK_EVENT_STATE with state == HCI_STATE_WORKING instead 2009-09-30 20:29:30 +00:00
matthias.ringwald
80d52d6be7 clean up command names and headers 2009-09-29 19:40:55 +00:00
matthias.ringwald
ffa95428fe include requried headers in btstack.h 2009-09-28 21:20:27 +00:00
matthias.ringwald
23053b9e43 organize headers: e.g. use <btstack/btstack.h> instead of "btstack.h" 2009-09-28 21:19:05 +00:00
matthias.ringwald
038bc64c95 check BlueTool for error codes, emit HCI_EVENT_POWERON_FAILED event 2009-09-13 20:42:43 +00:00
matthias.ringwald
c1f4fa9737 work on launchd plist 2009-08-20 22:54:29 +00:00
matthias.ringwald
70febe6942 implemented timer handling in run loop 2009-08-09 13:49:15 +00:00
matthias.ringwald
436a4afbf2 implemented timer handling in run loop 2009-08-09 13:49:02 +00:00
matthias.ringwald
7b22b9bc7d removed ready paramter from data_source callbacks, added timer management functions to run loop 2009-08-09 13:00:09 +00:00
matthias.ringwald
1b1784d0b0 implemented HCI disconnect command 2009-08-09 11:14:35 +00:00
matthias.ringwald
f62db1e31a implemented l2cap_disconnect command 2009-08-08 21:29:38 +00:00
matthias.ringwald
cd15c356ac first working version 2009-08-02 18:44:07 +00:00
matthias.ringwald
dc32489f4e fix l2cap data sending - WiiMote now reports acceleration data 2009-08-02 13:32:55 +00:00
matthias.ringwald
c8e4258af8 improve hci connection handling -> suppress create connection requests for connections already open and just emit connection complete event 2009-08-02 13:20:32 +00:00
matthias.ringwald
1e6aba4769 moved l2cap state machine to l2cap.c. added 'channel' parameter to packet header for socket communications. removed unused functions. dispatch btstack commands in daemon.c. renamed non-HCI commands 2009-07-31 21:41:15 +00:00
matthias.ringwald
31ce42f9cd add l2cap_send function. use source_cid to identify channels on client - dest_cid is choosen by remote side and may not be unique on client 2009-07-30 20:14:54 +00:00
matthias.ringwald
629ab2647c try WiiMote - not working yet 2009-07-29 21:49:53 +00:00
matthias.ringwald
5698302b40 removed unneccesary code in example 2009-07-29 21:13:42 +00:00
matthias.ringwald
87ea0ea477 implemented minimal outgoing-only L2CAP state machine, BT HID connection in test.c working 2009-07-29 21:06:04 +00:00
matthias.ringwald
da269baadb start with l2cap implementation 2009-07-28 21:04:16 +00:00
matthias.ringwald
4391d355ac removed accidental copyright note 2009-07-24 21:38:33 +00:00
matthias.ringwald
ee8bf225e1 implement power control by client (only single user mode yet) with hci_set_power_mode command 2009-07-24 21:37:45 +00:00
matthias.ringwald
70f86d379d renamed socket_server to socket_connection. it will be used by both client and server 2009-07-22 20:27:00 +00:00
matthias.ringwald
ff2d8aacc9 fix l2cap signal packet generation - connection to BT HID working now 2009-07-21 19:14:04 +00:00
matthias.ringwald
0af41d30f6 fixing bugs created while copy \& paste of code without event a single test. example connects, does paring and gets stuck in l2cap statemachine 2009-07-20 21:39:43 +00:00
matthias.ringwald
a45f1157be minimal test code (same as in main.c earlier but now as btstack client app) - ipc not working yet 2009-07-18 20:45:06 +00:00