490 Commits

Author SHA1 Message Date
matthias.ringwald
33a315a555 init sdp_service_records 2011-05-12 18:55:02 +00:00
matthias.ringwald
7392f586da remembered to close all RFCOMM channels and unregister RFCOMM services - close channels not implemented yet 2011-05-05 22:18:39 +00:00
matthias.ringwald
7934ed2f08 don't process SDP record for EMBEDDED configuration - no malloc uese 2011-05-05 20:10:23 +00:00
matthias.ringwald
9cfcc54d6f replaced printf and fprintf(\stderr with log_dbg and log_err 2011-05-05 18:45:28 +00:00
matthias.ringwald
933d8a8084 manage RFCOMM channel services by name for iOS platform, rework RFCOMM service registration 2011-05-03 21:14:41 +00:00
matthias.ringwald
a7c3dae54a also forgot to add rfcomm.c, fix include path for rfcomm.h, update source code boilerplate 2011-05-01 11:36:12 +00:00
matthias.ringwald
3574283731 also add rfcomm.h 2011-05-01 10:25:46 +00:00
matthias.ringwald
e115bf24db Added RFCOMM 2011-04-30 20:30:05 +00:00
matthias.ringwald
3c4d4b9093 support for prefsbundle, bug fixes, other stuff 2011-04-30 20:11:20 +00:00
matthias.ringwald
be93675935 provide option to HCI_DUMP_FULL_LOG 2011-03-19 18:39:03 +00:00
matthias.ringwald
87afd6f135 check return of read 2011-03-19 18:33:52 +00:00
matthias.ringwald
16d01b5338 don't use cocoa run loop. BTdaemon was loosing bytes from /dev/tty.Bluetooth on iOS 2011-03-19 17:37:09 +00:00
matthias.ringwald
66858bb853 use separate thread to receive IOKit power notifications 2011-03-19 17:17:23 +00:00
matthias.ringwald
9886033ccb correct spelling, new hci commands (thanks to jens) 2011-03-19 15:34:55 +00:00
matthias.ringwald
7400fe0c15 unload BTServer while BTstack is active 2011-03-16 10:44:17 +00:00
matthias.ringwald
d0b5eda730 retain timer twice, don't free null timer 2011-03-16 10:43:01 +00:00
matthias.ringwald
0a90cc4090 re-enable inquiry scan after sleep if it was on before 2011-02-03 19:41:43 +00:00
matthias.ringwald
4ddb5bed9e fix deadlock when going from Sleep into Power off 2011-02-02 22:05:11 +00:00
matthias.ringwald
33871ba6fd register for SpringBoardDidLaunch notifications and wait up to ten seconds for SpringBoardAccess server before adding BTstack icon again 2011-02-02 21:37:40 +00:00
matthias.ringwald
7ec5eeaa74 fix exration of num hci cmds allowed from command status packets 2011-01-30 18:37:02 +00:00
matthias.ringwald
89db417b22 disable page and inquiry scan when entering sleep mode 2011-01-30 17:38:07 +00:00
matthias.ringwald
574e07e180 list hci_discoverable_control 2011-01-30 17:06:28 +00:00
matthias.ringwald
7ba356d267 query interface description for bluetooth endpoints 2011-01-12 20:43:27 +00:00
matthias.ringwald
60085dbc01 also include config.h 2011-01-12 19:48:08 +00:00
matthias.ringwald
95e4feb291 use Vendor/Product ID as specified by config.h 2011-01-12 19:47:07 +00:00
matthias.ringwald
aac0272b3e handle no USB BT found 2011-01-12 19:45:29 +00:00
matthias.ringwald
c30257d4f4 check control before using it 2011-01-12 19:36:27 +00:00
matthias.ringwald
6ad890d319 use internal hci_send_cmd instead of client bt_send_cmd 2011-01-12 19:35:08 +00:00
matthias.ringwald
67a3e8ec46 hci_shutdown_connection returns void 2011-01-12 19:30:25 +00:00
matthias.ringwald
b429b9b757 don't release UART during SLEEP - fixes problem with BTServer trying to do power management 2011-01-11 21:38:56 +00:00
matthias.ringwald
8bbce7f8c2 fill kilall commands 2011-01-11 21:32:22 +00:00
matthias.ringwald
381fbed89a add, track, and handle btstack_set_disoverable 2011-01-10 21:11:58 +00:00
matthias.ringwald
bc2af4fc4b added btstack_set_discoverable command 2011-01-10 20:29:29 +00:00
matthias.ringwald
8dd2fb2c4b add compile flag for delayed power off 2011-01-09 22:22:12 +00:00
matthias.ringwald
37d9a96df4 store CFSocket in data_source_t, too, invalidate CFSocket and CFTimer on remove 2011-01-09 22:21:18 +00:00
matthias.ringwald
7382b6a1c5 group better 2011-01-09 22:20:21 +00:00
matthias.ringwald
5d27b96dbd don't use user_data field of data_source 2011-01-09 22:19:53 +00:00
matthias.ringwald
3144bce463 try using BlueTool wake on/off 2011-01-09 16:19:42 +00:00
matthias.ringwald
15ae62c252 try using BlueTool wake on/off 2011-01-09 16:18:56 +00:00
matthias.ringwald
554582176e add wake() to bt_control.h: OFF<->ON<->SLEEP (SLEEP -> OFF is possible) 2011-01-09 14:53:57 +00:00
matthias.ringwald
ca7336dc02 provide per client information: connection, power mode 2011-01-09 14:48:03 +00:00
matthias.ringwald
edcbc4405e emit DAEMON_EVENT_CONNECTION_OPENED 2011-01-09 14:47:16 +00:00
matthias.ringwald
27d86fbbd8 added DAEMON_EVENT_CONNECTION_OPENED 2011-01-09 14:46:59 +00:00
matthias.ringwald
72ea52390f call sleep() instead of off() 2011-01-08 23:03:00 +00:00
matthias.ringwald
8ebcfd8dd8 move IOKIT power event code to bt_control_iphone.m 2011-01-08 22:45:27 +00:00
matthias.ringwald
0df774e2ac add enum POWER_EVENTS {POWER_WILL_SLEEP, POWER_WILL_WAKE_UP), add register_for_power_management_notifictations( void (*callback)(POWER_EVENTS event)); to bt_control.h 2011-01-08 22:12:03 +00:00
matthias.ringwald
a8d66173c1 keep list of clients that requested Blueooth to be active, Bluetooth is on iff at least one client did request it. delay off by 10 seconds 2011-01-08 22:01:06 +00:00
matthias.ringwald
e1aafbfb72 use shorter Bluetooth timeout, use cocoa run loop if available 2011-01-07 22:21:25 +00:00
matthias.ringwald
d661ed1955 log message for power change 2011-01-07 22:20:37 +00:00
matthias.ringwald
cd1fcc0c4e fix bug in corefoundation timer setup: unix time vs. absolute time 2011-01-07 22:19:39 +00:00