Other Parts Discussed in Thread: SIMPLICITI
Hi
I need good examples Simpliciti per to per. I need step by step description how to use Simpliciti. I have protocol Simplicitiin CCS5. I have big problem with simpliciti. I don't understand it.
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.
Other Parts Discussed in Thread: SIMPLICITI
Hi
I need good examples Simpliciti per to per. I need step by step description how to use Simpliciti. I have protocol Simplicitiin CCS5. I have big problem with simpliciti. I don't understand it.
Have you reviewed the sample applications user's guide found as a part of the documentation in the SimpliciTI installation? This is found in the .\Documents directory with filename "SimpliciTI Sample Application User's Guide.pdf".
The 4 sample applications are described starting in Chapter 3. One of those is Simple Peer-To-Peer.
is this completely example to running Simpliciti? I need example that if i touch button, device sending information to End Device and End Device sending delivery report. I don't understand how to do.
regards
Thomas TMEA said:is this completely example to running Simpliciti?
As I mentioned, this example is a part of the SimpliciTI software download, so yes, it is an example running on top of SimpliciTI.
Thomas TMEA said:I need example that if i touch button, device sending information to End Device and End Device sending delivery report. I don't understand how to do.
The example actually sends messages via a periodic timer interval. However, it should be straightforward for you to modify it to trigger off of a button press. Below is a snip from the documentation.
3.1 Simple Peer-to-Peer
In this example, there are two End-Devices, a Listener and a Talker, that establish a direct peer-to-peer connection. Initially, the Listener (ED2 in the diagram below) waits for a link message, and the Talker (ED1) sends the link message. After a connection has been established, the Talker periodically sends a 2-byte message to the Listener, which then sends a 2-byte reply to the Talker. The connection is actually bi-directional but the initial connection negotiation assigns the roles of Talker and Listener.
Hi Brandon,
Do you think I can use SimpliciTI on the MSP-EXPCC430RFx Experimenter Kit as a reference to build my F/W to support 100+ ED with the free CCS?
Thanks
Generically speaking, yes. If I follow the link to the MSP-EXPCC430RFx product folder it actually mentions SimpliciTI. There may be some porting involved to make it work, but I do know that SimpliciTI does support the CC430 family.
Thanks for your reply Brandon,
I got the MSP-EXPCC430RFx and started to play with it. It came with a code that is utilizing Simpliciti. The code will display an exclamation mark on the AP board LCD display once I press a botton on the ED board. I'm trying to add an 'acknowledge message' from the AP to the ED saying that it got the message that triggered the '!'. Once the ED receives the 'acknowledge message' it will blink its LED. To implement that I'm using 'SMPL_Send' in the AP's code and 'SMPL_Receive' in the ED's code but it doesn't work. It seems that the AP is executing the 'SMPL_Send' but the ED does not receive the 'acknowledge message'. Why it is not working. It should be so simple...Please help.
On the AP: SMPL_SUCCESS == SMPL_Send(lid, msg_to_ed, 1)
On the ED: SMPL_SUCCESS == SMPL_Receive(sLinkID1, msg_from_ap, &len_from_ap)
Where have you added the SMPL_Receive() call in the ED application code?
My suggestion is to add it in a receive callback function that is passed into SMPL_Init(). In this callback function, you would check to ensure it is the appropriate Link ID and then retrieve the message and process it.
Brandon,
Thanks for your email. I apologize for not sending an update, but after many hours I was able to pass bi-directional messages. It turned out that I didn't turn on the RX...
Now I'm facing more difficult issue. The link between the two boards is not reliable. Sometimes it works just fine and data is passing back and forth, but usually (even if I use the original code that came with the experimenter's board) the AP is not able to link with the ED. Sometimes after recycling the AP or the ED couple of times they get linked. But, even then, after couple of minutes the link will get broken again. This is what I'm observing when I loading the boards for 868MHz. When I try 915MHz, they never managed to link. These boards were designed to work for both frequencies.
I'm trying to get some help here in the E2E forum but it seems that no one at TI have this system on hand.
I was suggested to change the frequency a bit but it didn't help.
Any suggestion?
I'll appreciate your help!
**Attention** This is a public forum