6979 Commits

Author SHA1 Message Date
matthias.ringwald
438751df71 removed alternative commented code 2009-11-23 20:29:38 +00:00
matthias.ringwald
d1c3f5e5b0 provide correct linker flags for shared library on non-darwin systems, e.g., linux 2009-11-23 20:28:00 +00:00
matthias.ringwald
6560583654 use run_loop_cocoa.m only on Darwin systems or when compiling for iPhone 2009-11-23 19:56:28 +00:00
matthias.ringwald
981eb02ec5 renamed timer_t to timer_source_t to avoid conflict with timer_t in /usr/include/time.h in Linux 2009-11-23 19:45:32 +00:00
matthias.ringwald
c21e623905 fix timer handling in posix run loop 2009-11-05 22:26:43 +00:00
matthias.ringwald
e5304ee6d1 fix compare of null pointer timers 2009-11-05 21:06:19 +00:00
matthias.ringwald
1713bcea3a prepend all source files with 'new BSD' copyright header 2009-10-29 20:25:42 +00:00
matthias.ringwald
6222af090d store run loop not socket in cocoa run loops 2009-10-28 22:16:25 +00:00
matthias.ringwald
c8164b0280 implement run_loop_remove for cocoa 2009-10-28 21:51:56 +00:00
matthias.ringwald
bfea266536 fix run loop for outdated timers 2009-10-28 21:25:51 +00:00
matthias.ringwald
afef42bd47 try to ignore SIGPIPE, shorter power off timeout 2009-10-25 21:43:04 +00:00
matthias.ringwald
583942ad47 add linebreak after debug statement 2009-10-25 20:00:31 +00:00
matthias.ringwald
b1cc843966 try to avoid crashing on closed socket 2009-10-25 19:47:59 +00:00
matthias.ringwald
141679a411 correct address of result field in CONNECTION_RESPONSE (really) 2009-10-23 21:38:30 +00:00
matthias.ringwald
cd56f93151 correct address of result field in CONNECTION_RESPONSE 2009-10-23 21:29:19 +00:00
matthias.ringwald
38e5900eda treat L2CAP CONNECTION_RESPONSE with result = pending as error, just wait 2009-10-23 16:39:31 +00:00
matthias.ringwald
c0557808b3 return old packet handler 2009-10-22 20:01:51 +00:00
matthias.ringwald
452683d08c use typedef for callback handler 2009-10-22 20:00:10 +00:00
matthias.ringwald
f32b992e39 map l2cap errors to general status code 2009-10-21 21:12:51 +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
f57a4e829f playing with the usb code 2009-10-18 21:06:57 +00:00
matthias.ringwald
fb84b45bcc usb on mac kind of working (l2cap connection opended but nothing happens after that 2009-10-18 20:49:46 +00:00
matthias.ringwald
790e3b27d6 usb on mac kind of working (l2cap connection opended but nothing happens after that 2009-10-18 20:49:27 +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
c35f2df118 allow to compile usb support again 2009-10-17 22:38:48 +00:00
matthias.ringwald
fe798a54df don't omit 3 when counting to 6 2009-10-11 23:09:31 +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
93ed97b351 move packet types to btstack.h or hci_cmds.h 2009-10-05 20:59:24 +00:00
matthias.ringwald
dc9af42b2c use -f to remove examples 2009-10-02 06:10:15 +00:00
matthias.ringwald
50a0f00727 rename run_loop.c to run_loop_posix.c and add run_loop_cocoa.m 2009-10-01 19:42:45 +00:00
matthias.ringwald
5f9c9ba9c5 add printfs 2009-09-30 21:32:38 +00:00
matthias.ringwald
3d7d58e9fa forgot to add new Makefile.in and create ./config folder 2009-09-30 20:44:48 +00:00
matthias.ringwald
6ee849a7da clarify event for Bluetooth status bar icon 2009-09-30 20:37:28 +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
b48a17ffb3 add printfs for spring board icon debugging, disable HCI logging as default 2009-09-30 19:25:56 +00:00
matthias.ringwald
97a34cd44c moved test macro to utils.h 2009-09-29 20:13:43 +00:00
matthias.ringwald
945627e442 removed internal functions from hci_cmds.h, more clean ups 2009-09-29 20:10:24 +00:00
matthias.ringwald
80d52d6be7 clean up command names and headers 2009-09-29 19:40:55 +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
d416da4205 added crc-8 functions from BTnut code needed for RFCOMM 2009-09-24 19:36:52 +00:00
matthias.ringwald
7fdefb05bf build BTstack libraries, create Framework 2009-09-22 22:31:58 +00:00
matthias.ringwald
942671929b use stderr for errors, stdout for log 2009-09-22 20:03:48 +00:00
matthias.ringwald
56c253c9c9 use SpringBoardAccess extension to signal Bluetooth state 2009-09-20 15:49:42 +00:00
matthias.ringwald
ac2e07f8dd added quick test if Bluetooh UART can be opened before running BlueTool. Before Apple's Bluetooth did turn back on after it was turned off in the Settings 2009-09-13 21:03:22 +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
ba000abd41 reorganized ToDos 2009-09-02 09:19:52 +00:00
matthias.ringwald
b91e361c63 only quit BTdaemon when (re)started by launchd 2009-08-30 18:17:16 +00:00
matthias.ringwald
19c019b4eb provide copy of launch.h 2009-08-30 16:22:04 +00:00