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.

Sensortag Packets

Hi,

I need to make modifications in the Sensortag code. What I need to do is to prevent Sensortag from sending the accelerations ever time that they are sampled. I need to take 10 samples (that are collected over the course of 1 sec), do some processing on them and then send the result every 1 sec.

Can this be done?

Can I have control over the actions done by the timers?

Do I have any control over the structure of the sent packets?

I'd appreciate any help.

  • You can create a event and use osal_start_timerEx to control over the actions. I don't understand the question about control over the structure of the sent packets. You need to specify it so I can try to help.

  • Let's say I need to send a packet with 100 bytes that contain an arbitrary text ("Hello world, ....").

    My understanding is that BLE has an inflexible structure, there are characteristics and according values and we can't send a packet with our own defined structure (like any general purpose network connection) at a time that we intend to.