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.

Timer app in older BLE stack release and HDP



Hello All,

Can someone post the Timer app which was there in older releases of BLE stack, which has been removed now please?

And is there anyone experienced with HEALTH DEVICE PROFILE (HDP) with BLE?

I believe if we want to send generic sensor data stream (in my case, its total 5 sensors at 25 Hz update rate) over Bluetooth (hope it will work for BLE as well), we need to use HDP., Kindly correct me if I am wrong., And TI's BLE stack doesn't seem to be having this profile built as of now.. Let me know please.,

Thanks and best regards,

Nagaraj Hegde

  • Hi Nagaraj,

    As far as I understand, HDP in the form it is over BR/EDR does not exist for BLE. The focus for BLE has been on specific profiles such as Health Thermometer, Heart Rate Monitor. Not sure if they are planning something HDP-like for the future.

    Best regards,

    Karl

  • Hello Karl, 

    Thanks so much for the response., So, if my requirement is to have 5 sensor data stream (from accelerometers and pressure sensors) at 25 Hz update rate over BLE, which profile I should use? Any hints are highly appreciated.,

     Thanks and best regards,

    Nagaraj Hegde

  • Hi Nagaraj,

    An app may use various profiles. For example, the KeyfobApp uses the SimpleKeys profile to manage key presses as well as a Security related profile for authentication  procedures and a GAP profile to manage discoveries, advertisements and so on. This is how it works, if I'm not wrong.

    So perhaps it is better to ask for an app you can base your code in instead of a profile, since probably it does not exist the one that specifically fits your needs (data being collected from so different types of sensors).

    In your case, perhaps most of the work can take profit of the already coded SimpleBLEperihperal app.

  • Hello,

    Thanks for the pointer., Can anyone post the timer code with the previous releases please?

    Thanks and best regards,

    Nagaraj Hegde

  • Hello,

    I am sorry for posting this again., Can anyone post the timer code with the previous releases of BLE please?

    Thanks and best regards,

    Nagaraj Hegde

  • I'm not aware the code you are talking of.

    Do you need to do something every second, for example?

  • Hello Kazola,

    I am talking about the below :

    C:\Texas Instruments\BLE-CC2540-1.1a\Components\hal\target\CC2540EB\hal_timer.c 

    I need to use the capture event of the timers and I thought it would be simple to use the APIs than writing my own code for this.,

    Thanks and best regards,

    Nagaraj Hegde