Skip to content

Commit a34850e

Browse files
committed
fix: remove binary mac addr
1 parent 2b31728 commit a34850e

File tree

4 files changed

+0
-14
lines changed

4 files changed

+0
-14
lines changed

src/BLEDevice.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ String BLEDevice::address() const
8282
return result;
8383
}
8484

85-
void BLEDevice::address(uint8_t address[6]) const
86-
{
87-
memcpy(address, _address, 6);
88-
}
89-
9085
bool BLEDevice::hasLocalName() const
9186
{
9287
return (localName().length() > 0);

src/BLEDevice.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ class BLEDevice {
4949

5050
virtual String address() const;
5151

52-
virtual void address(uint8_t address[6]) const;
53-
5452
bool hasLocalName() const;
5553

5654
bool hasAdvertisedServiceUuid() const;

src/local/BLELocalDevice.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -280,11 +280,6 @@ String BLELocalDevice::address() const
280280
return result;
281281
}
282282

283-
void BLELocalDevice::address(uint8_t address[6]) const
284-
{
285-
HCI.readBdAddr(address);
286-
}
287-
288283
int BLELocalDevice::rssi()
289284
{
290285
BLEDevice central = ATT.central();

src/local/BLELocalDevice.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ class BLELocalDevice {
4545
virtual bool disconnect();
4646

4747
virtual String address() const;
48-
49-
virtual void address(uint8_t address[6]) const;
5048

5149
virtual int rssi();
5250

0 commit comments

Comments
 (0)