6164 Commits

Author SHA1 Message Date
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
matthias.ringwald
fd7ed8d4e2 also compile example/test.c - not working otherwise 2009-07-14 20:41:14 +00:00
matthias.ringwald
37ac922291 remove test code from daemon and put into example/test.c - not working yet 2009-07-14 18:29:29 +00:00
matthias.ringwald
498571813b prepare socket_server and hci for client/server use 2009-07-13 22:47:32 +00:00
matthias.ringwald
9265f5e24d Edited wiki page through web user interface. 2009-07-13 22:04:03 +00:00
matthias.ringwald
4918f63ce1 implemented basic linked list and used it for the run loop 2009-07-13 21:51:42 +00:00
matthias.ringwald
855ca3c659 remove hci h4 transport data_source from run_loop before free 2009-07-12 19:42:27 +00:00
matthias.ringwald
71974eda64 add socket server to run_loop 2009-07-12 19:41:30 +00:00
matthias.ringwald
b2ae9e32ee fix bugs introduced yesterday 2009-07-12 15:33:07 +00:00
matthias.ringwald
74aad56003 daemon.h not obsolete 2009-07-11 18:41:14 +00:00
matthias.ringwald
e0463bdc94 Edited wiki page through web user interface. 2009-07-11 18:09:21 +00:00
matthias.ringwald
3ed2665de2 data_source not part of hci_transport_t anymore 2009-07-11 18:03:26 +00:00
matthias.ringwald
498d027682 eliminate main.c in BTdaemon 2009-07-11 17:51:09 +00:00
matthias.ringwald
899e4c5326 eliminate main.c in BTdaemon 2009-07-11 17:42:03 +00:00