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: 15.4 Stack - FH mode - Multiple collector [Tree topology]

Part Number: CC1310

Tool/software: Code Composer Studio

Hi Everyone,

I have been developing a sensor network with multiple collectors(tree topology). To check the stability of the collector-sensor example to use in my project I have conduct following experiment. I have attached a image for further understanding.

The idea is to have a network if one sub-collector is turn off or out of range from the sensor it should be able to connect to another sub-collector (as shown in blue connections). But with the experiment using basic sensor-collector example (only change made was enabling the Frequency Hopping mode) it shows that it is not stable. The results as follows,

First experiment [all collectors turned on initially],

1. Turn all 3 collectors on >> turn on permission >> Turn on sensor >> It connected with one collector [It was collector 2, How did sensor select a particular collector?].

2. I turn off the collector 2 >> It is not connecting with other two collectors.

3. The GREEN LED in sensor launchpad which toggle in every reporting interval didn't toggle [Which may refer it hanged at some point of the code. Any idea?].

4. I turn on collector 2 >> sensor connect with collector 2.

5. Did step 2 & 3 it is same.

Second experiment [Turn on one collector>> turn of it >> turn on second collector >> turn off it >> turn on third collector],

* In this experiment it kept connecting with collectors (Important - only one collector turned on at a time). But this wont be the real case.

In practically the system will work as first experiment. So this is a serious problem in a multiple collector project. 

Thank you very much.

  • Hey Dulip,

    I am looking into this and will get back to you soon
  • Thank you very much Brocklobsta.

    An update: Experiment one, Step 4. It sometimes doesn't even connect with collector 2.[Which it was connected at first].

  • Hey Dulip,

    TI 15.4-Stack is a star topology software so the example applications are not built for this scenario, but it should be possible with a few application modifications. For a sensor to join a new network, it must forget the old network settings. This can be accomplished by calling Ssf_clearNetworkInfo() in the orphan state, and then the sensor can set the SENSOR_START_EVT event flag which then calls Jdllc_join(). A few things to consider is that the collectors will need to have permitJoin on at all times so the sensor can join a new network when it needs to. You can use the whitelist and blacklist feature to only join "your" collectors.
  • Hi Brocklobsta,

    I use the suggested method. It works but it is not reliable. I used 6 sensors and two collectors. But only some no: of sensors only reconnected[joining again after a orphan state with one of two collectors]. the sensors which reconnect is also varies. For further information, I only changed the followings in the example [Sensor-collector],


    *CONFIG_REPORTING_INTERVAL 5000
    *FH enabled
    *Added in orphan state - Ssf_clearNetworkInfo();
    Util_setEvent(&Sensor_events, SENSOR_START_EVT);


    Is there any suggestion? Thank you in advance for the help. Cheers.