equal
deleted
inserted
replaced
194 { |
194 { |
195 // Legacy Pin pairing. Check if a pin code is already available |
195 // Legacy Pin pairing. Check if a pin code is already available |
196 // in pairing manager for this device: |
196 // in pairing manager for this device: |
197 iParent.GetPinCode( pinCode, iRemote, iMinPinLength ); |
197 iParent.GetPinCode( pinCode, iRemote, iMinPinLength ); |
198 } |
198 } |
199 if ( pinCode().iLength != 0 ) |
199 if ( pinCode().iLength > 0 ) |
200 { |
200 { |
201 // a pin is ready for this pairing. |
201 // a pin is ready for this pairing. |
202 // write it back to client (stack) |
202 // write it back to client (stack) |
203 TInt err = iNotifierMessage.Write( EBTNotifSrvReplySlot, pinCode ); |
203 TInt err = iNotifierMessage.Write( EBTNotifSrvReplySlot, pinCode ); |
204 iNotifierMessage.Complete( err ); |
204 iNotifierMessage.Complete( err ); |