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.

CCS/CC1310: hello, I use the cc1310 and ti15.4 stack, in some cases, the data from collector to sensor can not be processed by sensor.

Part Number: CC1310

Tool/software: Code Composer Studio

The mac security in stack is enabled.

when the sensor joined the collector's pan, it can communication normally.

but, when i powered the collector, after about 10s, the sensor poll packet was not ack, then i powered up the collector.

then i send a data from sensor to collector, the collector can received the data and return ack, and the collector can enter the function dataindcb.

but when the collector send a data to sensor, the data will also be acked by sensor, but the sensor can not enten the function dataindcb.

how to solve this problem, the data can not be received?

  • Hi

    Please provide info regarding what SDK you are using. Are you running default examples, or have you done any modifications?

    Can you please use the packet sniffer and provide log files from when your setup is failing?

    BR

    Siri

  • Hi, siri

    Thank you for you reply.

    I have done many modifications based the collector example, sdk 3_20_00_23, sensor example is based sdk version 4_10_02_04.

    now i can provide the packet in the air.

    in the picture below, the packet 1 is from sensor to collector, can be received and dataindcb is called.

    Packet 2 from collector to sensor, dataindcb in sensor also can be called.

    Then I powered down the collector.

    The poll packet from sensor to collector is not acked.

    Then power the collector up.

    Packet 3 from sensor to collector is ok, dataindcb called by this packet.

    But the packet 4 and 5 from collector to sensor is failed. Sensor's dataindcb was not be called.

    Only in a few condition, the packet 4 and 5 can be received normally. Mostly the packet 4 and 5 from collector to sensor is lost.

    And I compared the security function between my code and examples, nothing is changed.

    So how I can find the reason why the packet can not be received?

  • Hi Jisi,

    Are you using non-beacon mode or a different mode?

    When you say the message is not received in dataIndCB(), can you tell me exactly where you put the breakpoint?

  • Hi Marie,

    I use the non-beacon mode.

    And the breakpoint is in sensor.c file.

    As this picture shows, line 815.

    I have another question, is the "framecounter" useful for the data egypt?

  • Hi Jisi,

    I'm sorry for the delay.

    Can you test with a breakpoint in dataIndCB() instead?

    (When the collector sends a packet to the sensor, the sensor.c task will receive a dataIndCB(). When the sensor acks the packet, the collector will receive a dataCnfCB().)

  • sorry for mistake your advice.

    I checked the breakpoint again, it is in sensor.c, line 978, the packet from collector is acked but this function is not be called.