88 Commits

Author SHA1 Message Date
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
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
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
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
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
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
899e4c5326 eliminate main.c in BTdaemon 2009-07-11 17:42:03 +00:00
matthias.ringwald
370399f9f8 correct kernel doesn't detach error handling 2009-07-11 10:54:59 +00:00
matthias.ringwald
c7b9c5599d add sys/stat.h for mode flags 2009-07-11 10:46:17 +00:00
matthias.ringwald
5e0fa50d74 use linux compatible mode flag 2009-07-11 10:45:06 +00:00
matthias.ringwald
a8cd57edc5 added install-iphone target, removed Makefile.iphone 2009-07-11 10:37:48 +00:00
matthias.ringwald
2d231ede68 started use of automake 2009-07-11 09:23:51 +00:00
matthias.ringwald
9bf70ccba9 achitectural change: hci_transport implementations must add itself to the run loop 2009-07-09 18:49:43 +00:00
matthias.ringwald
9320a67b01 adapting usb test code into HCI transport abstraction 2009-07-08 22:21:02 +00:00
matthias.ringwald
23c261e6ac used asynchronous libUSB API 2009-07-06 21:40:30 +00:00
matthias.ringwald
8f29b25e4b add XCode settings for libusb-1.0 in /usr/local/ 2009-07-06 16:37:53 +00:00
matthias.ringwald
359f6fcae4 start with USB support courtesy of libusb-1.0 2009-07-05 21:06:38 +00:00
matthias.ringwald
6511fa645e started client/server implementation 2009-07-01 21:55:08 +00:00
matthias.ringwald
bd67ef2f9d add more HCI commands 2009-07-01 20:56:27 +00:00
matthias.ringwald
c828bcdbdb Add support for modified BlueTool scripts on 3.0 2009-07-01 20:49:57 +00:00
matthias.ringwald
8830f3d672 try to implement man in the middle for BT 2009-06-14 21:48:53 +00:00
matthias.ringwald
f432a6ddd9 adde hci_write_scan_enable and hci_accept_connection_request 2009-06-14 21:48:08 +00:00
matthias.ringwald
46e65a7960 make iPod touch support optional 2009-06-14 20:56:41 +00:00
matthias.ringwald
e938d609c9 get bd_addr from IORegistry on iPod touch 2009-06-14 20:38:50 +00:00
matthias.ringwald
0d8ba09fd9 fix for experimental iPod touch support 2009-06-09 21:04:12 +00:00
matthias.ringwald
6852c42efe added experimental iPod touch 2G support 2009-06-09 20:39:03 +00:00
matthias.ringwald
e521ef4042 added hci_delete_stored_link_key command 2009-06-08 21:27:52 +00:00
matthias.ringwald
efbae73623 removed HCI debug printfs 2009-06-08 21:27:23 +00:00
matthias.ringwald
aff8ac5c98 added remote name request (cancel) cmds 2009-06-07 21:15:09 +00:00
matthias.ringwald
3b9efdc1c6 added HCI inquiry cancel command 2009-06-07 18:51:48 +00:00
matthias.ringwald
68d92d036b add hci_read_bd_addr, don't turn on BT in hci_init(), add temp hack to get socket data 2009-06-07 15:45:31 +00:00
matthias.ringwald
e1d15a27d1 added socket_server_register_process_callback as temp. hack to allow data reception 2009-06-07 11:58:40 +00:00
matthias.ringwald
7596e361ff implemented run_loop compatible socket_server 2009-06-06 21:10:20 +00:00
matthias.ringwald
bb96ef8cd9 adapt hci_transport_t to directly sub-class data_source_t 2009-06-06 19:52:36 +00:00
matthias.ringwald
94ab26f8d1 use new run_loop to handle BT stack 2009-06-06 19:00:32 +00:00
matthias.ringwald
8d4343fb95 start implementing generic run_loop 2009-06-06 17:43:50 +00:00
matthias.ringwald
d965992270 iPhone BT power cycling working\! 2009-06-04 20:30:03 +00:00