Cypress技术论坛
直播中

王雪

7年用户 208经验值
私信 关注
[问答]

CYBT-343026-01:非易失性存储器(内部闪存)的预定义区域中是否可以使用特定的配对代码?

我想限制谁可以与我的设备配对,我给谁的代码。

以上来自于百度翻译


     以下为原文
   I want to limit who can pair with my device to who I give the code to.

回帖(3)

王雪

2018-9-30 15:07:44
我道歉,因为我原来的问题还不清楚。
这是有可能改变的蓝牙配对码作为应用程序需要改变它,或是它打算成为一个固定的值?
我基本上需要能够改变配对码动态内的应用。动态意味着每天一次或两次。我不希望是一个固定的配对码,不能在现场改变

以上来自于百度翻译


     以下为原文
  My apologies as my original question was not clear.
 
Is it possible to change the Bluetooth pairing code as the application needs to change it, or is it intended to be a fixed value?
 
I essentially need to be able to change the pairing code dynamically within the application. Dynamically means once or twice a day every day.  What I don’t want is a fixed pairing code that cannot be changed in the field
举报

h1654155275.5741

2018-9-30 15:16:20
对于您的问题的第一部分,是使用白名单回答:CYW20706&CYW20179白名单示例项目

以上来自于百度翻译


     以下为原文
  For the first part of your question, is using a Whitelist the answer: Whitelist Example Project for CYW20706 & CYW20179 
举报

李兆水

2018-9-30 15:29:03
引用: 60user169 发表于 2018-9-30 17:53
我道歉,因为我原来的问题还不清楚。
这是有可能改变的蓝牙配对码作为应用程序需要改变它,或是它打算成为一个固定的值?
我基本上需要能够改变配对码动态内的应用。动态意味着每天一次或两次。我不希望是一个固定的配对码,不能在现场改变

MrBursTy箭矢USER2499259
如果你指的是“万能钥匙”作为配对的代码,那么你必须在管理btm_passkey_request_evt回调事件监视器。您可以更改密码,传递到wiced_bt_dev_pass_key_req_reply() API应该称为在上述回调。

以上来自于百度翻译


     以下为原文
  mroberts_arrow user_249199259
If you are referring to the 'passkey' as pairing code, then you have to monitor the BTM_PASSKEY_REQUEST_EVT event in the management callback. You can change the passkey that is passed to the wiced_bt_dev_pass_key_req_reply() API which should be called in the above mentioned callback.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分