Commit Graph

277 Commits

Author SHA1 Message Date
matthias.ringwald
1b1784d0b0 implemented HCI disconnect command 2009-08-09 11:14:35 +00:00
matthias.ringwald
27a923d075 emit l2cap disconnect events when basedband connection closes 2009-08-08 21:55:55 +00:00
matthias.ringwald
f12adbd6cc only execute POWER_MODE commands when in the right HCI_STATE 2009-08-08 21:39:58 +00:00
matthias.ringwald
f62db1e31a implemented l2cap_disconnect command 2009-08-08 21:29:38 +00:00
matthias.ringwald
a828422156 Edited wiki page through web user interface. 2009-08-07 06:13:25 +00:00
matthias.ringwald
04cb695e90 updated plan 2009-08-05 11:23:46 +00:00
matthias.ringwald
ce30eed8ef getting closer 2009-08-02 19:56:45 +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
fcadd0ca34 streamline event forwarding in BTdaemon stack 2009-08-02 10:51:41 +00:00
matthias.ringwald
71d7104935 Update L2CAP description to follow reality :) 2009-08-02 10:15:16 +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
a2e6f504f0 updated todos 2009-07-30 21:48:30 +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
bb53b2914c fix l2cap signaling command dispatching 2009-07-30 19:40:06 +00:00
matthias.ringwald
ed21c97dcd Edited wiki page through web user interface. 2009-07-30 19:05:34 +00:00
matthias.ringwald
ff79d2cbc3 Edited wiki page through web user interface. 2009-07-30 19:04:56 +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
0b6464c774 Edited wiki page through web user interface. 2009-07-28 21:09:52 +00:00
matthias.ringwald
da269baadb start with l2cap implementation 2009-07-28 21:04:16 +00:00
matthias.ringwald
016f6766b7 Edited wiki page through web user interface. 2009-07-24 21:51:38 +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
fe1ed1b8b6 keep track of HCI connections 2009-07-24 21:13:53 +00:00
matthias.ringwald
b77926b5ca fix ACL send 2009-07-24 21:13:25 +00:00
matthias.ringwald
06b35ec001 added functions to get connectinon_t for a given connection handle or a bd_addr 2009-07-24 20:17:46 +00:00
matthias.ringwald
397b7985a6 Edited wiki page through web user interface. 2009-07-24 19:42:31 +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
dc369792cb use socket_connection also for client, drop duplicate code in BTstack.c 2009-07-22 21:31:35 +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
59cc82e457 prepare socket_server to be used by both client and server 2009-07-22 20:21:22 +00:00
matthias.ringwald
e7284470b7 Edited wiki page through web user interface. 2009-07-22 07:51:08 +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
matthias.ringwald
b7df1c5af1 forgot to add the basic linked_list 2009-07-18 20:43:58 +00:00
matthias.ringwald
b9fa6cb54b use casts also for 16-bit values 2009-07-18 08:06:03 +00:00
matthias.ringwald
b7d49065bd Edited wiki page through web user interface. 2009-07-17 09:06:09 +00:00
matthias.ringwald
31452debc2 client/server: client cmd received, but crash during response 2009-07-16 22:04:11 +00:00
matthias.ringwald
8adf0dda45 work on btstack client/server commands, allow logging to stdout using HCI_DUMP_STDOUT 2009-07-16 20:12:42 +00:00
matthias.ringwald
c13e4b9a30 alloc mem before using... :) 2009-07-16 19:09:17 +00:00
matthias.ringwald
4b7a7cf2b5 fix --with-uart-device setting 2009-07-16 19:00:56 +00:00
matthias.ringwald
1cd208ad37 untested code for BTstack lib connection to BTdaemon 2009-07-15 22:12:54 +00:00