mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-23 19:20:51 +00:00
updated plan
This commit is contained in:
parent
e5f8862c28
commit
d02d25349c
15
TODO.txt
15
TODO.txt
@ -4,21 +4,16 @@ Last milestone reached: Restart client app without restarting BTdaemon possible
|
|||||||
|
|
||||||
NEXT:
|
NEXT:
|
||||||
- autostart by launchd: ch.ringwald.BTstack.plist
|
- autostart by launchd: ch.ringwald.BTstack.plist
|
||||||
- provide SIGTERM handler
|
- get to work
|
||||||
- Unix Socket example Mac: http://lists.apple.com/archives/Macnetworkprog/2007/Oct/msg00078.html
|
- better deal with Apple stack
|
||||||
- Mac OS X book: 472-485
|
- detect that it is running
|
||||||
- check with launchd, too?
|
- figure out how to shut it down
|
||||||
- launch.h exists in 3.0 SDK, but also in inofficial headers before
|
- user interface
|
||||||
- stop BTdaemon after X minutes idle
|
|
||||||
- iPhone status icon support
|
- iPhone status icon support
|
||||||
- set BTstack SpringBoard icon from background deamon
|
- set BTstack SpringBoard icon from background deamon
|
||||||
- possible without MobileSubstrate
|
- possible without MobileSubstrate
|
||||||
- MobileSubstrate used by veency
|
- MobileSubstrate used by veency
|
||||||
- extend hci_logger to write to /var/hci_dump.txt as text
|
- extend hci_logger to write to /var/hci_dump.txt as text
|
||||||
- better deal with Apple stack
|
|
||||||
- detect that it is running
|
|
||||||
- figure out how to shut it down
|
|
||||||
- user interface
|
|
||||||
- Cocoa User Interface Components
|
- Cocoa User Interface Components
|
||||||
- Alert and shutdown of Apple's stack
|
- Alert and shutdown of Apple's stack
|
||||||
- Inquiry
|
- Inquiry
|
||||||
|
@ -52,8 +52,9 @@ static void dummy_bluetooth_status_handler(BLUETOOTH_STATE state){
|
|||||||
static void (*bluetooth_status_handler)(BLUETOOTH_STATE state) = dummy_bluetooth_status_handler;
|
static void (*bluetooth_status_handler)(BLUETOOTH_STATE state) = dummy_bluetooth_status_handler;
|
||||||
|
|
||||||
static void daemon_no_connections_timeout(){
|
static void daemon_no_connections_timeout(){
|
||||||
printf("No connection for %u seconds -> POWER OFF\n", DAEMON_NO_CONNECTION_TIMEOUT);
|
printf("No connection for %u seconds -> POWER OFF and quit\n", DAEMON_NO_CONNECTION_TIMEOUT);
|
||||||
hci_power_control( HCI_POWER_OFF);
|
hci_power_control( HCI_POWER_OFF);
|
||||||
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int btstack_command_handler(connection_t *connection, uint8_t *packet, uint16_t size){
|
static int btstack_command_handler(connection_t *connection, uint8_t *packet, uint16_t size){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user