We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9f7d347 + d52e25a commit b3a6a5bCopy full SHA for b3a6a5b
src/utility/L2CAPSignaling.cpp
@@ -232,9 +232,9 @@ void L2CAPSignalingClass::handleSecurityData(uint16_t connectionHandle, uint8_t
232
Serial.print("V : ");
233
btct.printBytes(V,32);
234
Serial.print("X : ");
235
- btct.printBytes(X,16);
+ btct.printBytes(HCI.Na,16);
236
Serial.print("Y : ");
237
- btct.printBytes(Y,16);
+ btct.printBytes(HCI.Nb,16);
238
Serial.print("g2res : ");
239
btct.printBytes(g2Result,4);
240
Serial.print("Result : ");
@@ -415,7 +415,7 @@ void L2CAPSignalingClass::smCalculateLTKandConfirm(uint16_t handle, uint8_t expe
415
// Send our confirmation value to complete authentication stage 2
416
uint8_t ret[17];
417
ret[0] = CONNECTION_PAIRING_DHKEY_CHECK;
418
- for(int i=0; i<sizeof(Eb); i++){
+ for(uint32_t i=0; i<sizeof(Eb); i++){
419
ret[sizeof(Eb)-i] = Eb[i];
420
}
421
HCI.sendAclPkt(handle, SECURITY_CID, sizeof(ret), ret );
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments