49 Commits

Author SHA1 Message Date
matthias.ringwald
03cfbabc9a added status to L2CAP_CHANNEL_OPENED event 2009-10-19 20:21:32 +00:00
matthias.ringwald
776c142709 added WiiMote OpenGL demo as example - will be modified soon to use Cocoa Inquiry from BTstackCocoa 2009-10-18 18:39:55 +00:00
matthias.ringwald
6c9a8e599c Show alert when BTstack open fails because of no BTdaemon 2009-10-18 09:06:29 +00:00
matthias.ringwald
8396a0038f unify RFCOMM frame creation 2009-10-17 09:40:36 +00:00
matthias.ringwald
f9fd37aaf1 handle RFCOMM UIH_PF packet with credit frame 2009-10-15 20:08:35 +00:00
matthias.ringwald
fcd89c885f cleaned up RFCOMM ready a bit 2009-10-14 20:08:36 +00:00
matthias.ringwald
0d032301e2 first minimal working RFCOMM data reception 2009-10-10 20:00:45 +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
dc9af42b2c use -f to remove examples 2009-10-02 06:10:15 +00:00
matthias.ringwald
5c3b21f428 forgot to add new Makefile.in 2009-09-30 20:42:47 +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
ad2d687d4d ldid can be used (--enable-ldid) to sign binaries ; use Makefile.in instead of Makefile.am in example 2009-09-28 20:53:02 +00:00
matthias.ringwald
53bccd4f19 set install_name for library, don't build Framework 2009-09-28 18:18:03 +00:00
matthias.ringwald
5f974d96b9 try do send SABM on DLCI 1 (didn't work) 2009-09-28 18:17:11 +00:00
matthias.ringwald
632617fe34 started to hack on RFCOMM, but didn't get far 2009-09-24 19:37:12 +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
4b98823d28 try different stuff 2009-08-25 21:40:17 +00:00
matthias.ringwald
bbed6963f5 cleaned up code and program output, identify alice and bob by their BD_ADDR 2009-08-25 19:44:27 +00:00
matthias.ringwald
9edc874259 added capture mode to get all ACL packets from client app, started BTstack Man-in-the-Middle implementation 2009-08-24 21:56:12 +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
9dbf9f9329 remove unused part of stack from client example 2009-08-02 12:15:11 +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
95cbd9471c extract l2cap signaling code into l2cap_signaling 2009-07-23 21:55:36 +00:00
matthias.ringwald
ba681a6c12 extract utility functions into utils.c 2009-07-23 21:43:37 +00:00
matthias.ringwald
d8905019be extract code for HCI Command packet construction into hci_cmds.c 2009-07-23 21:25:39 +00:00
matthias.ringwald
8cdb50c161 forgot to add, but nobody complained 2009-07-23 20:53:17 +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