Skip to content

Commit 3dd53d1

Browse files
author
unknownconstant
committed
Spellcheck fixes
1 parent a429760 commit 3dd53d1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Diff for: examples/Peripheral/EncryptedBatteryMonitor/EncryptedBatteryMonitor.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ void setup() {
116116
// The LTK is the secret key which is used to encrypt bluetooth traffic
117117
BLE.setGetLTK([](uint8_t* address, uint8_t* LTK){
118118
// address is input
119-
Serial.print("Recieved request for address: ");
119+
Serial.print("Received request for address: ");
120120
btct.printBytes(address,6);
121121

122122
// Set these to the MAC and LTK of your devices after bonding.

Diff for: src/local/BLELocalDevice.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ int BLELocalDevice::begin()
123123

124124
/// The HCI should allow automatic address resolution.
125125

126-
// // If we have callbacks to rememember bonded devices:
126+
// // If we have callbacks to remember bonded devices:
127127
// if(HCI._getIRKs!=0){
128128
// uint8_t nIRKs = 0;
129129
// uint8_t** BADDR_Type = new uint8_t*;

Diff for: src/utility/ATT.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ bool ATTClass::handleNotify(uint16_t handle, const uint8_t* value, int length)
602602
memcpy(&notification[notificationLength], value, length);
603603
notificationLength += length;
604604

605-
/// TODO: Set encyption requirement on notify.
605+
/// TODO: Set encryption requirement on notify.
606606
HCI.sendAclPkt(_peers[i].connectionHandle, ATT_CID, notificationLength, notification);
607607

608608
numNotifications++;

Diff for: src/utility/HCI.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ void HCIClass::handleEventPkt(uint8_t /*plen*/, uint8_t pdata[])
841841
if((ATT.getPeerEncryption(encryptionChange->connectionHandle)&PEER_ENCRYPTION::PAIRING_REQUEST)>0){
842842
if(ATT.localKeyDistribution.EncKey()){
843843
#ifdef _BLE_TRACE_
844-
Serial.println("Enc key set but sould be ignored");
844+
Serial.println("Enc key set but should be ignored");
845845
#endif
846846
}else{
847847
#ifdef _BLE_TRACE_
@@ -1364,7 +1364,7 @@ void HCIClass::handleEventPkt(uint8_t /*plen*/, uint8_t pdata[])
13641364

13651365
if((encryption & PEER_ENCRYPTION::RECEIVED_DH_CHECK) > 0){
13661366
#ifdef _BLE_TRACE_
1367-
Serial.println("Recieved DHKey check already so calculate f5, f6 now.");
1367+
Serial.println("Received DHKey check already so calculate f5, f6 now.");
13681368
#endif
13691369
L2CAPSignaling.smCalculateLTKandConfirm(connectionHandle, HCI.remoteDHKeyCheckBuffer);
13701370

0 commit comments

Comments
 (0)