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.

send the message FROM CC2430EM (cordinator) TO CC2430DB (end device)



i'm implementing a comunication between the cc2430EM (cordinator) and the cc2430DB (end device). I managed to send the message from the end device to the cordinator. but how to send the message FROM CC2430EM (cordinator) TO CC2430DB (end device)???
does exist a peace of code of the GenericApp file which let me do this??? if not exist what do you suggest me?? (simpeApp file code is not compatible whit the code of the GenericApp file).

  • Hi renzo,

    The key is in filling out the afAddrType_t structure appropriately before you make the call to AF_DataRequest.
    e.g.

    afAddrType_t destAddr
    destAddr.addr.shortaddr = 0x796F (or whatever the end device short address is)
    destAddr.addrMode = afAddr16Bit
    destAddr.endpoint = 0xF; // this has to be the same as the receiver's logical endpoint (as declared in the simple descriptor)