From 1788fb5e5aad82355c0330abc07417ea58f44677 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 12 Jun 2015 22:01:52 +0200 Subject: [PATCH] remove test for setting bd addr --- platforms/arduino/examples/LEPeripheral/LEPeripheral.ino | 5 ----- 1 file changed, 5 deletions(-) diff --git a/platforms/arduino/examples/LEPeripheral/LEPeripheral.ino b/platforms/arduino/examples/LEPeripheral/LEPeripheral.ino index 116ec91ea..5641b3c74 100644 --- a/platforms/arduino/examples/LEPeripheral/LEPeripheral.ino +++ b/platforms/arduino/examples/LEPeripheral/LEPeripheral.ino @@ -35,14 +35,9 @@ void setup(void){ BTstack.addGATTCharacteristic(new UUID("f897177b-aee8-4767-8ecc-cc694fd5fcef"), ATT_PROPERTY_READ, "This is a String!"); BTstack.addGATTCharacteristicDynamic(new UUID("f897177b-aee8-4767-8ecc-cc694fd5fce0"), ATT_PROPERTY_READ | ATT_PROPERTY_WRITE | ATT_PROPERTY_NOTIFY, 0); - // use dummy address to force refresh on iOS devices - bd_addr_t dummy = { 1,2,3,4,5,6}; - BTstack.setPublicBdAddr(dummy); - // startup Bluetooth and activate advertisements BTstack.setup(); BTstack.startAdvertising(); - // BTstack.enablePacketLogger(); } /* LISTING_END(LEPeripheralSetup): Setup */