Skip to content
Permalink
Browse files

Use seemoo bundle identifier and 1 little change for disconnection co…

…mplete
  • Loading branch information
unixb0y committed Dec 22, 2019
1 parent 8045ff0 commit dd19701c2979ffd3d07c82ff64ed037fd02a64e9
@@ -9,11 +9,8 @@
from core import InternalBlue

import objc
from Foundation import *

import binascii
import os

filepath = os.path.dirname(os.path.abspath(__file__))

objc.initFrameworkWrapper("IOBluetoothExtended",
@@ -200,4 +197,4 @@ def shutdown(self):
self.iobe.shutdown()
socket.socket(socket.AF_INET, socket.SOCK_DGRAM).sendto(
"", ('127.0.0.1', self.s_snoop.getsockname()[1]))
super(macOSCore, self).shutdown()
super(macOSCore, self).shutdown()
@@ -419,7 +419,7 @@
"@executable_path/../Frameworks",
"@loader_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.davidetoldo.IOBluetoothExtended;
PRODUCT_BUNDLE_IDENTIFIER = "de.tu-darmstadt.seemoo.IOBluetoothExtended";
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "";
@@ -451,7 +451,7 @@
"@executable_path/../Frameworks",
"@loader_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.davidetoldo.IOBluetoothExtended;
PRODUCT_BUNDLE_IDENTIFIER = "de.tu-darmstadt.seemoo.IOBluetoothExtended";
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "";
@@ -151,7 +151,11 @@ extension HCIDelegate: IOBluetoothHostControllerDelegate {
else if opcode == 0x0406 {
let orig = data.hexEncodedString()
if orig.count == 0 { return }
let temp = "04050400\(orig)"
var temp = "040504"
for i in [2,1,0] {
temp.append(orig[i*2])
temp.append(orig[i*2+1])
}
self.sendOverUDP(data: temp.hexadecimal!, h, s!)
}
else {

0 comments on commit dd19701

Please sign in to comment.
You can’t perform that action at this time.