Skip to content

Commit d6fba6a

Browse files
cparatasandeepmistry
authored andcommitted
Fix issue on Disconnection event
1 parent 5e44386 commit d6fba6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/utility/ATT.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ void ATTClass::handleData(uint16_t connectionHandle, uint8_t dlen, uint8_t data[
351351
}
352352
}
353353

354-
void ATTClass::removeConnection(uint8_t handle, uint16_t /*reason*/)
354+
void ATTClass::removeConnection(uint16_t handle, uint8_t /*reason*/)
355355
{
356356
int peerIndex = -1;
357357
int peerCount = 0;

src/utility/ATT.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class ATTClass {
5353

5454
void handleData(uint16_t connectionHandle, uint8_t dlen, uint8_t data[]);
5555

56-
void removeConnection(uint8_t handle, uint16_t reason);
56+
void removeConnection(uint16_t handle, uint8_t reason);
5757

5858
uint16_t connectionHandle(uint8_t addressType, const uint8_t address[6]) const;
5959
BLERemoteDevice* device(uint8_t addressType, const uint8_t address[6]) const;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy