Hi sandeepmistry, I tried the Just Work setting in handlePairingRequest of smp.js
this._pres = new Buffer([
SMP_PAIRING_RESPONSE,
0x03, // IO capability: NoInputNoOutput
0x00, // OOB data: Authentication data not present
0x01, // Authentication requirement: Bonding - No MITM
0x10, // Max encryption key size
0x00, // Initiator key distribution:
0x01 // Responder key distribution: EncKey
]);
but the pair is alwasy failed,
and the onAclStreamData received the code status as:
code 1
code 3
code 5
which measn finally it failed, could you help to have a look?
Why it failed even in just work, I also tried use passkey, but also nothing shown.
Hi sandeepmistry, I tried the Just Work setting in handlePairingRequest of smp.js this._pres = new Buffer([ SMP_PAIRING_RESPONSE, 0x03, // IO capability: NoInputNoOutput 0x00, // OOB data: Authentication data not present 0x01, // Authentication requirement: Bonding - No MITM 0x10, // Max encryption key size 0x00, // Initiator key distribution:
0x01 // Responder key distribution: EncKey
]);
but the pair is alwasy failed,
and the onAclStreamData received the code status as:
code 1
code 3
code 5
which measn finally it failed, could you help to have a look?
Why it failed even in just work, I also tried use passkey, but also nothing shown.