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/TIDA-010032: Linear Hop Topology

Part Number: TIDA-010032
Other Parts Discussed in Thread: TIDA-010024,

Tool/software: Code Composer Studio

Sir,

I want to create a 4 Node Liner Hop topology.

For DCU/Data Collector or concentrator  I'm using TIDA010032 and For node side, I'm using TIDA-010024.

I have tried many ways like 

1 enable the CONFIG_MULTIHOP_TESTING  flag at all the node and collector.

2. At node end  In /Application/middleware.c file I have added the white list entries. (ie at node 1 = collector address and node 2 address, At Node 2 = node 1 address and node 3 address and so on).

Still, I'm not able to achieve the liner hop topology.

In Collector/Concentratoe web GUI page only Collector and Node 1 is visible.

Please help me to create this 

Thanks in advance 

Sourabh Vyas

  • Hi Sourabh,

    You settings look correct. 

    Do you get any errors while compiling the code? How are you testing the linear hop topology in your case?

    With Regards,

  • Thanks For reply sir,

    No, I haven't got any error.

    I will give you detail scenario and code.

    In Data Collector/DCU I'm using TIDA-010032.

    DCU

    1. in host_config.h file         #define MULTIHOP_TESTING enable.

    2. in mt_mac.c file              #define NUM_ENTRIES 4

                                               UINT8 whitelist[NUM_ENTRIES][8]={

                                                  {0x00, 0x12, 0x4B, 0x00, 0x1C, 0xA0, 0xF5, 0x3F},

                                                  {0x00, 0x12, 0x4B, 0x00, 0x1C, 0xA0, 0xF4, 0x8B},

                                                  {0x00, 0x12, 0x4B, 0x00, 0x1C, 0xA0, 0xF5, 0x2E},

                                                  {0x00, 0x12, 0x4B, 0x00, 0x1C, 0xA0, 0x36, 0xB3},

                                                 };

    IN Node side; -  i'm using TIDA-010024

    1. in Config.h          #define CONFIG_MULTIHOP_TESTING  is enable

    2. in Middelewere.c 

    #define NUM_ENTRIES 1//2

    // Address filter to create multi-hop topology
    // 1st entry: target parent, 2nd entry: target child

    uint8_t whitelist[NUM_ENTRIES][8]={
    /*Node 1 26D7 - F53F*/
    //{0x00, 0x12, 0x4B, 0x00, 0x1C, 0xAA, 0x26, 0xD7},
    //{0x00, 0x12, 0x4B, 0x00, 0x1C, 0xA0, 0xF5, 0x3F}

    /*Node 2 F52E - F48B*/
    //{0x00, 0x12, 0x4B, 0x00, 0x1C, 0xA0, 0xF5, 0x2E},
    //{0x00, 0x12, 0x4B, 0x00, 0x1C, 0xA0, 0xF4, 0x8B}

    /*Node 3 F53F - 36B3*/
    //{0x00, 0x12, 0x4B, 0x00, 0x1C, 0xA0, 0xF5, 0x3F},
    //{0x00, 0x12, 0x4B, 0x00, 0x1C, 0xA0, 0x36, 0xB3}

    /*Node 4 F48B */
    //{0x00, 0x12, 0x4B, 0x00, 0x1C, 0xA0, 0xF4, 0x8B}

    };

    For Every node, I'm putting 2 entries expect the last node. The last Node has one entire.1st entire is a parent and 2nd entry is child entry.

    Whenever I'm putting this and if I'm debugging with CCS I can see the respective parent entry in CCS debugging window.

    But My main concern is All Node is not visible to the Data collector. 

    Collector GUI page has a polling mechanism where I can poll data with a desire time interval. 

    Please suggested me where I'm doing wrong 

  • Hi Sourabh,

    I don't see any issue in your settings. 

    >>Whenever I'm putting this and if I'm debugging with CCS I can see the respective parent entry in CCS debugging window.

    Do you see parent entry in all the nodes?

    >>But My main concern is All Node is not visible to the Data collector. 

    How many nodes do you see in the data collector?

    >>Collector GUI page has a polling mechanism where I can poll data with a desire time interval.

    You mean, data from all the nodes or only from one node? Did you try sending different data from different nodes to distinguish between them?

    With Regards,

  • Thanks for reply sir,


    >>Do you see parent entry in all the nodes?
    Sir CCS debugging window Node 1 have collector entry, Node2 have Node1 entry, Node3 have Node2 entry and so on. (devInformation_t.trackParent[] this is where I can see the respective parent entry.)

    >>How many nodes do you see in the data collector?
    None Sir, This is very strange whenever I tried to liner Hop I see 0 entry in the collector and when I disable the MULTIHOP_TESTING, CONFIG_MULTIHOP_TESTING flag (without customized hop topology) All node connected to DCU and I can see all in the collector GUI.

    >>You mean, data from all the nodes or only from one node? Did you try sending different data from different nodes to distinguish between them?

    No sir, Collector has two code running (TI15.4 stack in CC1312 and app.js and 6LowPAN and RPL stack in Linux BBB). So without any entry in the collector, I'm not able to send data to the node form collector.
    But in sniffer, I can see that all the node are sending keepalive message.

  • SIr,

    Is any other setting I have to do achieve liner hop topology.

    Please guide me to achieve that.

    Thanks 

    Sourabh Vyas 

  • Hi Sourabh,

    I don't think there is any other settings to change it to linear hop topology. I am guessing this might be due to the collector GUI which may not be supporting linear hop. 

    I am trying to replicate similar setup to see if we see similar issue. Unfortunately, it may take longer time than usual.

    With Regards,

  • Thanks for reply sir,

    Please guide me after your test setup.

    We have tried to give node address on the whitelist to achieve that but not achieve that. So please try that scenario also.

    Thanks 

    Sourabh Vyas 

  • Sir,

    Please let me know what other changes I have to do to achieve liner hop topology 

    Thanks 

    Sourabh Vyas

  • Hi Sourabh,

    I have sent a separate message to you. Can you take a look and respond to that?

    With Regards,