首页 > 其他 > 详细

peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 133

时间:2020-08-19 15:22:44      阅读:349      评论:0      收藏:0      [点我收藏+]

调试nordic 52840 hids_keyboard 例程时,和手机配对,配对失败,提示:peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 133

最后测试发现,需要将板子绑定的peer addr擦除,才能重新配对成功。

 

<info> app: HID Keyboard example started.
<info> app: Erase bonds!
<error> peer_manager_handler: Peer deleted successfully: peer_id: 0
<info> peer_manager_handler: All peers deleted.
<info> app: m_whitelist_peer_cnt 1, MAX_PEERS_WLIST 8
<info> app: Fast advertising.

 

原因可能是peer_manager_init()函数中一些参数的设置导致的,目前只是猜测,具体原因需要看到该函数才能分析出。

 

peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 133

原文:https://www.cnblogs.com/hjj801006/p/13529440.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!