當simple_central與simple_peripheral第一次連接時
會在simple_central端出現" Unknown Cmd Status: 0x2026::0x00 "
而後才出現Bond save success
在第二次連接之後就不會出現此訊息
請問此訊息" Unknown Cmd Status: 0x2026::0x00 "代表什麼?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
當simple_central與simple_peripheral第一次連接時
會在simple_central端出現" Unknown Cmd Status: 0x2026::0x00 "
而後才出現Bond save success
在第二次連接之後就不會出現此訊息
請問此訊息" Unknown Cmd Status: 0x2026::0x00 "代表什麼?
simplelink_cc13xx_cc26xx_sdk_6_10_00_29
我目前手上沒有sniffer
central 端會先出現Unknown Cmd Status: 0x2025::0x00
再出現Unknown Cmd Status: 0x2026::0x00
然後才Bond save success
請問此訊息是否跟以下相關?
hci_tl.h
#define HCI_LE_READ_LOCAL_P256_PUBLIC_KEY 0x2025
#define HCI_LE_GENERATE_DHKEY 0x2026
了解 請問連如果是連接超時的問題要麼解決?
還有, 有什麼指令可以偵測bonding完成, 我再進行下一步動作?
我目前是把指令放在"Bond save success"之後, 但是會出現blePending, task_sleep似乎也沒幫助
else if (state == GAPBOND_PAIRING_STATE_BOND_SAVED)
{
if (status == SUCCESS)
{
Display_printf(dispHandle, SC_ROW_CUR_CONN, 0, "Bond save success");
SimpleCentral_doSelectConn(0);
請問連如果是連接超時的問題要麼解決?
如果设备本身没有问题,基本不会超时,绑定需要一段时间才能生效,等待一段时间绑定完成后会自动连接上
gapBondMgrReadBondRec()可以获取保存在 NV 中的绑定信息
下面文档介绍了绑定详细信息: