/* new todo file for BTstack */ 2009-11-08: Release 0.1 NEXT: - Add BluetoothToggle (shutdown of Apple's stack) - Add improved RFCOMM user-client - use switch on RFCOMM control field in rfcomm.c packet handler - BUG: bt_close crashes when used in CocoaTouch app - BUG: BTdaemon crashes on iPhone when CocoaTouch app is closed (sometimes) - implement rest of L2CAP state machine - incoming connections - list of supported PSM - commands and events- - figure out how to receive iPhone System Power IONotifications (in BTdaemon) to detect, when phone gets locked - some trick - use Cocoa run loop for background app? - see iPhone imsomnia project at http://code.google.com/p/iphone-insomnia/ - can we get willGoToSleep event, should we turn off Bluetooth? - would be nice, if we could get woken up by Bluetooth data - create - add timeouts to cocoa run loop - CocoaTouch User Interface Components - Provide BTstack class - Warning and shutdown of Apple's stack - BUG (non-reproducible): hci_state gets confused. - BlueTool used although hci state should be on (right after quitting example/test) - BlueTool not used although stack not working - more log messages - non-reproducible bug: debug BlueTool's "I'm not a Bluetooth stack" error message == Release 0.2 - Incoming L2CAP supported + UI Support - extend SpringBoard feedback - show alerts/messages using SpringBoardAcccess, e.g. Bluetooth disconnected by remote device - add code to notify about remote disconnets - configuration: /etc/btstack - single Bluetooth module supported - transport type: H4, H5, USB - h4/h5: UART path - usb: product/vendor ID - logging mode: text, bluez, packetlogger - implement rest of L2CAP state machine - error handling - error notification - flow control - reassembly/segmentation == Release Version 0.3 - implement RFCOMM - implement SDP - implement PAN == Release Version 0.4 - unify packet generation - btstack events - cmd packets - l2cap commands - auto-generate code for sending commands from structured text input file - devise concept for access to event data - auto-generate event struct getter? STRUCTURE_get_FIELD - Bluetooth low-power modes useful == USB Support == - Store array of data sources to be able to remove them on usb_close -