Re: security code in pairing
Re: security code in pairing
- Subject: Re: security code in pairing
- From: 罗煜卿 <email@hidden>
- Date: Sat, 05 Jan 2013 14:24:19 +0800
It's something that you should done on peripheral side.
Thanks for your reply ! Finally I figure out what "characteristic permission " is ,but it seems that "CBCharacter.h" is used when the iphone played in a peripheral role . What I want to do is make the iphone connect a BLE device (like , heartrate monitor ) via a "pairing code ".But I still fail to find an answer .
2013/1/5 Khaos Tian
<email@hidden>
Have you tried to set characteristic's permission to
CBAttributePermissionsReadEncryptionRequired or CBAttributePermissionsWriteEncryptionRequired?In traditional ways , if two cell phones want to communicate with each other , either of them should type a pairing code (for example:"1234" ). Only when the two pairing code match ,can the connection be set up successfully. However, it seems that with "core-bluetooth" framework , iphone can connect a BLE device without typing this kind of "pairing code". Considering a situation that need a higher level of security , "pairing code " must be necessary . So how can I work out that ?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden