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.

Simplicity LinkID

Hi all,

I'm developing a network with CC1110 and Simplicity. 

By default all ED are in Comission mode and they are transmit info. I want to implement a polling RX capability in order to configure an ED. 

I want to assign an ID to each ED and if during the RX polling an ED receive a link request with his ID, then the link will be done.

My idea is through a software, put the ID that I want to link, in order to avoid multiples links requests from others ED.

Now I can make this, but only for one ED and without ID, using the SMPL_LinkListen(&LinkID) function. And I can't choose my ID.

I read in the forum that the LinkID pointer is not used for this purpose.

So, here my questions:

1. It exists any way to assign a fixed ID to the funcition SMPL_LinkListen(&LinkID)?

2. It's possible to make this with Simplicity?

Thanks.

Joaquim.

  • Hi Joaquim,

    it is not clear what you are trying to do here.

    Joaquim Martinez said:

    I want to assign an ID to each ED and if during the RX polling an ED receive a link request with his ID, then the link will be done.

    What do you exactly mean withe ID in this sentence? Do you mean address in this case?

    The LinkID is basically assigned by the lower layer stack when calling SMPL_Link() or SMPL_LinkListen(),

  • Hi Leo,

    I have a star network. Each End Device must have a identifier (number from 1 to 65535) in the network.

    These end devices basically measure analogic variables and store (datalogger) them.

    In order to upload these logs through a master, I want to implement in each ED, a RX polling time (similar to a beacon). The master have a software to configure and upload the logs.

    The function of the system basiccaly is:

    1. In the soft I put the identifier of the ED which I want to upload the logs. Then the master sends a SMPL_Link() or similar with the ED identifier to stablish a peer to peer connection with the ED desired.

    2. The ED is sleeping the major part of the time.

    3. Each ED, every XX minutes wakes up and make a SMPL_LinkListen() or similar and must determinate the ID received. If it's his own ID, then it accept the peer to peer connection.

    4. If the received Id doesn't match, then ED goes to sleep, and it will wake up the time beacon.

    I hope it's clear now.

    It's possible to do this?

    Thanks.

    Joaquim

  • Joaquim,

    I think this can be done by having different link token in the EDs:

    http://processors.wiki.ti.com/index.php/SimpliciTI_FAQ#Link_Token

    on the master side, you can change its Link Token using the SMPL_Ioctl() function.

    Let me know if this works for you.

  • Hi Leo,

    I'll try it.

    Thank you very much.

    Joaquim.