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.

Compiler/CC2640: ToF Application

Part Number: CC2640
Other Parts Discussed in Thread: BLE-STACK

Tool/software: TI C/C++ Compiler

Hi,

I am working on the ToF sample application from the (SimpleLink CC2640R2 SDK 2.30.00.28) and I am trying to find in which function the master sends the packet format containing the syncword, payload and where it then saves the sending and receiving time. (What function are you using to send the data between master and slave?) can you please help me on finding the implementation of this process.

I have also tried sending a string (random message from slave to master like "hello world") using GATT_WriteCharValue() but i could not do it. is there any documents that explains that?

Thanks and best regards,

Amer

  • The thing is that the sample application has to go through the testing and therefore we can say how it is performing. The testing would say how it will be implemented. I have also once tried to work on the sample packet and I was doing it for the Windows platform. But it got an error because of the Microsoft compatibility telemetry and the transmitting of the MS scripts is not being done.

  • Hi,

    Please use the latest BLE-Stack available in SDKv3.10, and review  

  • thank you so much Joakim that helped a lot,

    One last question if you can help me with:

    I am trying to understand how to get the time a packet is received. in the code from TOF.C i understood that i need to use RF_cmdStartRAT to start radio timer and set the start and end time and the trigger type and call it with RF_runCmd (is that correct?)

    Is there any document like the one you send me that help me understanding the TOF.C and how the times are saved and extracted.

    thanks in advance,

    amer