mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-23 09:41:03 +00:00
don't omit 3 when counting to 6
This commit is contained in:
parent
0e9f4109a6
commit
fe798a54df
@ -33,7 +33,7 @@
|
|||||||
+ (NSString *) stringForAddress:(bd_addr_t *) address {
|
+ (NSString *) stringForAddress:(bd_addr_t *) address {
|
||||||
uint8_t * addr = (uint8_t*) address;
|
uint8_t * addr = (uint8_t*) address;
|
||||||
return [NSString stringWithFormat:@"%02x:%02x:%02x:%02x:%02x:%02x", addr[0], addr[1], addr[2],
|
return [NSString stringWithFormat:@"%02x:%02x:%02x:%02x:%02x:%02x", addr[0], addr[1], addr[2],
|
||||||
addr[4], addr[5], addr[6]];
|
addr[3], addr[4], addr[5]];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSString *) nameOrAddress{
|
- (NSString *) nameOrAddress{
|
||||||
|
8
TODO.txt
8
TODO.txt
@ -1,12 +1,13 @@
|
|||||||
/* new todo file for BTstack */
|
/* new todo file for BTstack */
|
||||||
|
|
||||||
Last milestone reached: create script to build APT package for BTdeamon, Resources, and BTstack client library
|
Last milestone reached: create script to build APT package for BTdeamon, Resources, and BTstack client library
|
||||||
Last change: use single packet handler on client side
|
Last change: added Cocoa CFRunLoop support
|
||||||
|
|
||||||
|
|
||||||
NEXT:
|
NEXT:
|
||||||
|
- CocoaTouch User Interface Components
|
||||||
|
- Inquiry
|
||||||
|
- Alerts
|
||||||
- prepare WiiMoteDemo for release
|
- prepare WiiMoteDemo for release
|
||||||
- update to current stack version
|
|
||||||
- add inquiry code
|
- add inquiry code
|
||||||
- provide test version by setting up APT repository within BTstack SVN
|
- provide test version by setting up APT repository within BTstack SVN
|
||||||
- instructions: http://www.saurik.com/id/7
|
- instructions: http://www.saurik.com/id/7
|
||||||
@ -22,7 +23,6 @@ NEXT:
|
|||||||
- can we get willGoToSleep event, should we should down?
|
- can we get willGoToSleep event, should we should down?
|
||||||
- would be nice, if we could get woken up by Bluetooth data
|
- would be nice, if we could get woken up by Bluetooth data
|
||||||
- CocoaTouch User Interface Components
|
- CocoaTouch User Interface Components
|
||||||
- Inquiry
|
|
||||||
- Alerts and shutdown of Apple's stack
|
- Alerts and shutdown of Apple's stack
|
||||||
- create new GPG key for gmail account and sign APT package
|
- create new GPG key for gmail account and sign APT package
|
||||||
- non-reproducible bug: hci_state gets confused.
|
- non-reproducible bug: hci_state gets confused.
|
||||||
|
@ -55,6 +55,7 @@
|
|||||||
9C00F87210191130008DAB17 /* l2cap_signaling.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = l2cap_signaling.c; path = src/l2cap_signaling.c; sourceTree = "<group>"; };
|
9C00F87210191130008DAB17 /* l2cap_signaling.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = l2cap_signaling.c; path = src/l2cap_signaling.c; sourceTree = "<group>"; };
|
||||||
9C04B825107D1CED002A63D0 /* run_loop.c */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.c; name = run_loop.c; path = src/run_loop.c; sourceTree = "<group>"; };
|
9C04B825107D1CED002A63D0 /* run_loop.c */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.c; name = run_loop.c; path = src/run_loop.c; sourceTree = "<group>"; };
|
||||||
9C04B879107D2BA7002A63D0 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = "<absolute>"; };
|
9C04B879107D2BA7002A63D0 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = /System/Library/Frameworks/CoreFoundation.framework; sourceTree = "<absolute>"; };
|
||||||
|
9C04BD3110826575002A63D0 /* logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = logo.png; path = resources/logo.png; sourceTree = "<group>"; };
|
||||||
9C1813F71042FCCA00C68F09 /* mitm.c */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.c; name = mitm.c; path = example/mitm.c; sourceTree = "<group>"; };
|
9C1813F71042FCCA00C68F09 /* mitm.c */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.c; name = mitm.c; path = example/mitm.c; sourceTree = "<group>"; };
|
||||||
9C2071F210014D3200A07EA4 /* hci_transport_usb.c */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.c; name = hci_transport_usb.c; path = src/hci_transport_usb.c; sourceTree = "<group>"; };
|
9C2071F210014D3200A07EA4 /* hci_transport_usb.c */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.c; name = hci_transport_usb.c; path = src/hci_transport_usb.c; sourceTree = "<group>"; };
|
||||||
9C46FC340FA906F700ABEF05 /* hci.c */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.c; name = hci.c; path = src/hci.c; sourceTree = "<group>"; };
|
9C46FC340FA906F700ABEF05 /* hci.c */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.c; name = hci.c; path = src/hci.c; sourceTree = "<group>"; };
|
||||||
@ -215,6 +216,7 @@
|
|||||||
9C78A049103C671D003B2950 /* Resources */ = {
|
9C78A049103C671D003B2950 /* Resources */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
|
9C04BD3110826575002A63D0 /* logo.png */,
|
||||||
9C78A0BB103C9DEE003B2950 /* ch.ringwald.BTstack.plist */,
|
9C78A0BB103C9DEE003B2950 /* ch.ringwald.BTstack.plist */,
|
||||||
9C78A04A103C6734003B2950 /* Default_BTstack.png */,
|
9C78A04A103C6734003B2950 /* Default_BTstack.png */,
|
||||||
9C78A04B103C6734003B2950 /* Default_BTstackActive.png */,
|
9C78A04B103C6734003B2950 /* Default_BTstackActive.png */,
|
||||||
|
@ -216,7 +216,7 @@ int main (int argc, const char * argv[]){
|
|||||||
// @TODO: allow configuration per HCI CMD
|
// @TODO: allow configuration per HCI CMD
|
||||||
|
|
||||||
// use logger: format HCI_DUMP_PACKETLOGGER, HCI_DUMP_BLUEZ or HCI_DUMP_STDOUT
|
// use logger: format HCI_DUMP_PACKETLOGGER, HCI_DUMP_BLUEZ or HCI_DUMP_STDOUT
|
||||||
// hci_dump_open("/tmp/hci_dump.pklg", HCI_DUMP_PACKETLOGGER);
|
hci_dump_open("/tmp/hci_dump.pklg", HCI_DUMP_PACKETLOGGER);
|
||||||
// hci_dump_open(NULL, HCI_DUMP_STDOUT);
|
// hci_dump_open(NULL, HCI_DUMP_STDOUT);
|
||||||
|
|
||||||
// init HCI
|
// init HCI
|
||||||
|
Loading…
x
Reference in New Issue
Block a user