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.

RemoTI 广播消息收不到

Other Parts Discussed in Thread: REMOTI

TI工程师,我用RemoTI中的BasicRomote和RNP 程序,在BasicRemote基础上进行修改,配对成功后,发送单播消息OK, 但改为Broastcast消息类型时,对方接收不到消息,请问是哪里有问题,还需要修改哪里?我的发送代码大概如下:

uint8 len = 3;
    uint8 pData[5];  // Note that array size has to match maximum possible data length
    //uint8 txOptions = RTI_TX_OPTION_ACKNOWLEDGED;
    uint8 txOptions = RTI_TX_OPTION_BROADCAST;
    uint8 profileId = RTI_PROFILE_CERC;
    uint16 vendorId = RTI_VENDOR_TEXAS_INSTRUMENTS;
    pData[0] = 0x11;
    pData[1] = 0x22;
    pData[2] = 0x33;
//
    RTI_WriteItem(RTI_SA_ITEM_PT_CURRENT_ENTRY_INDEX, 1, &rsaDestIndex);
    if (RTI_ReadItem(RTI_SA_ITEM_PT_CURRENT_ENTRY, sizeof(rsaPairingEntryBuf),
                     (uint8 *) &rsaPairingEntryBuf) == RTI_SUCCESS &&
        rsaPairingEntryBuf.pairingRef != RTI_INVALID_PAIRING_REF &&
          rsaPairingEntryBuf.securityKeyValid)
    {
      txOptions |= RTI_TX_OPTION_SECURITY;
    }
    //RCN_NlmeDiscoveryAbortReq();
    RTI_SendDataReq( rsaDestIndex, profileId, vendorId, txOptions, len, pData);