Tool/software: TI-RTOS
Hello,
Is there any broadcasting example in TI 15.4 for cc1310. I am currently using simpleink sdk 1_60_00_21.
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.
Tool/software: TI-RTOS
Hello,
Is there any broadcasting example in TI 15.4 for cc1310. I am currently using simpleink sdk 1_60_00_21.
Hi YiKai,
Thanks for the prompt response! Even if there's no example, can you let me know if broadcast is supported on the cc1310 802.15.4g stack?
In our tests the unicast packets (with extended addresses) are transmitted without a problem but as soon as we use the short address 0xFFFF, the application crashes. Before we proceed with further debugging, I was curious if there's anything special that we need to set on the mcps data request for broadcasting a packet or any other steps that we may have missed. Fyi, we are using the simplelink SDK v1.60.
Regards,
Rohit
Hello,
We have the following library defined values in api_mac.h:
/*! Special address value - Broadcast short address */ #define APIMAC_SHORT_ADDR_BROADCAST 0xFFFF /*! Special address value - Short address when there is no short address */ #define APIMAC_SHORT_ADDR_NONE 0xFFFF
Hi,
I believe you should set the following options
dataReq.txOptions.ack = false;
and
dataReq.txOptions.indirect = false;
Regards,
Hector
Thanks Hector!
"txOptions.indirect =false;" did the trick. We were already setting txOptions.ack to false;
What I'm wondering though is that we use direct transmission for unicast packets as well but that works without setting txOptions.indirect to false. Could this be a bug in the sdk?
Regards,
Rohit