Home  >> Developers Forum  >> SDK API Btsdk_SetSecurityMode

GP2

Add new friend

Join Date:2014/5/18

Location: Japan

Posts:1

Posted at 2014-05-19 18:44:31
[ SDK API Btsdk_SetSecurityMode ]

I call Btsdk_SetSecurityMode. However return code is BTSDK_ER_FUNCTION_NOTSUPPORT.

Does not SDK 2.1.5 have this function?

 

Because BT device does not have PIN code, I want to connect it by non secure mode.

BT device is not available SSP, too.

Does the method not to request PIN code at pairing?

Lee

Add new friend

Join Date:2014/2/21

Location:

Posts:0

Posted at 2014-05-23 01:06:14

SDK 2.1.5 has Btsdk_SetSecurityMode function. But in early versions long ago, even though this function existed but it  was not supported, so inside this function, the return value was set as BTSDK_ER_FUNCTION_NOTSUPPORT. After this function being supported, we are sorry that its return value was forgotten to modify to BTSDK_OK. So your BTSDK_ER_FUNCTION_NOTSUPPORT should equal to BTSDK_OK if your BlueSoleil software version is not very old.

We have corrected this error recently, and will add in to the next BlueSoleil version.

By the way, request PIN code or not when pairing devices depends on what device you pair:
If the device's bluetooth version is 2.1 and above, then you need to set security mode as 
BTSDK_SECURITY_MEDIUM;
Other Bluetooth versions that prior to version 2.1, still requests PIN code no matter what security mode you set.

GP2

Add new friend

Join Date:2014/5/18

Location: Japan

Posts:1

Posted at 2014-05-26 17:59:49

I understand return code.


I found similar problem with following link. If you have solution, please advice me.

http://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/windows-7-microsoft-bluetooth-stack-unable-to-use/9101e903-02ca-46b1-852c-6116804ff834



StanleyGreen

Add new friend

Join Date:2019/3/12

Location: Pakistan

Posts:0

Posted at 2019-03-13 19:03:32

Thank you blue soleil for this informative post over here and also this post on free temporary phone number. Learning all on this has been really helpful, looking forward to getting more on this, appreciate the post.

JuanaMante

Add new friend

Join Date:2019/10/23

Location: Azerbaijan

Posts:0

Posted at 2019-10-23 05:48:56

In the previous version of this software, the function which you are longing for was present but it was not working properly. I need to get college essay writing help for my assignment. Latest version of SDK 2.1.5 has Btsdk_Set Security Mode has removed this function now.

poonam

Add new friend

Join Date:2020/2/14

Location: India

Posts:0

tech

Add new friend

Join Date:2019/11/19

Location: Pakistan

Posts:0

Posted at 2022-06-03 12:52:54

I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts. joker game

NOTE:
1.The reply should be more than 20 characters.
2.Image Size: less than 1MB, max pixel: 300 * 300.