use mobile account and Internet Tethering IP adddress, update TODOs

This commit is contained in:
matthias.ringwald 2009-07-01 20:55:10 +00:00
parent c828bcdbdb
commit 40c7e443c8
2 changed files with 18 additions and 3 deletions

View File

@ -1,11 +1,14 @@
NAME = BTdaemon
# set IP address of your phone. this is using USB and Internet Tethering
IPHONE = 192.168.20.1
SRCDIR = src
VPATH = src
# These paths must be changed to match the compilation environment
DEVELOPER_PATH = /Developer/Platforms/iPhoneOS.platform/Developer
SDK_VERSION = 2.1
SDK_VERSION = 2.0
SDK_PATH = $(DEVELOPER_PATH)/SDKs/iPhoneOS$(SDK_VERSION).sdk
GCC_VERSION = 4.0.1
@ -54,7 +57,7 @@ $(SRCS): $(HEADERS)
$(NAME): $(SRCS)
$(CC) $(CFLAGS) -o $(NAME) $(filter %.mm,$^) $(filter %.m,$^) $(filter %.c,$^) $(LDFLAGS)
export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate ; ldid -S $(NAME)
ssh root@192.168.3.102 rm -f BTdaemon
scp $(NAME) root@192.168.3.102:/var/mobile
ssh mobile@$(IPHONE) rm -f /var/mobile/$(NAME)
scp $(NAME) mobile@$(IPHONE):/var/mobile
.PHONY: all clean

View File

@ -1,5 +1,17 @@
/* new todo file for BTstack */
NEXT:
- implement client BT API in btstack.h: prefix all functions by bt_$PROTOCOL_*
- client/server part using unix domain sockets (portable and fast)
- generalize run_loop_add/remove into linked_list_add/remove
- use linked_list for:
- run loop
- event handler
- data handler
- keep track of HCI state (links, inquiries, acl flow control) in linked list
- implement L2CAP state machine
- implement PAN
IMPROVE
- make data_source_t opaque: data_source_set_fd, data_source_set_cb
- implement TimerSource