This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to send more than 20 bytes using sd_ble_gatts_hvx

Hello,

I am looking for a way to send more than 20 bytes by using 'sd_ble_gatts_hvx' function. I want to get the maximum debit that is in theory 6x20 bytes Do I just have to send the set the p_len parameter to 6x20, because i didn't succeed through this way! I am using the S110 firmware and the nRF51-Dongle Thanks for you help

Parents
  • Thanks for the example link. In this example all the data will be sent and "The ble_hrs_heart_rate_measurement_send(&m_hrs, heart_rate)" is calling untill no data in the &m_hrs buffer. I think by this way every 8ms, 20 bytes are sent and not 6x20 bytes every 8ms as i expect, am I right?

    I am little bit lost by going trought all the forum&link to get a solution. Do you have a projet example with a maximum bytes sending every 8ms ? Thanks

Reply
  • Thanks for the example link. In this example all the data will be sent and "The ble_hrs_heart_rate_measurement_send(&m_hrs, heart_rate)" is calling untill no data in the &m_hrs buffer. I think by this way every 8ms, 20 bytes are sent and not 6x20 bytes every 8ms as i expect, am I right?

    I am little bit lost by going trought all the forum&link to get a solution. Do you have a projet example with a maximum bytes sending every 8ms ? Thanks

Children
No Data
Related