How to send n number of packets continuosly everytime from bluetooth peripheral to central

I am reading the sensor values and collecting to the array and Iam sending that data to bluetooth.

I tried different ways to send constant number of packets everytime but I cant .

I am receiving the data to nrf connect mobile app, In log I am seeing the data. 

please help on this.

Parents
  • Hello,

    Could you elaborate on what you mean when you say 'constant number of packets everytime'? Is your intention to send the exact same number of packets every connection event? And if so, could you elaborate on this requirement?
    In essence, the SoftDevice Controller will fit as many packets into a connection event as necessary within the configured connection event time.
    So, if you have queued additional data for sending, it will attempt to send these as soon as possible, within these constraints.

    Could you elaborate on your approach to this thus far, and what issues you have faced?

    Best regards,
    Karl

Reply
  • Hello,

    Could you elaborate on what you mean when you say 'constant number of packets everytime'? Is your intention to send the exact same number of packets every connection event? And if so, could you elaborate on this requirement?
    In essence, the SoftDevice Controller will fit as many packets into a connection event as necessary within the configured connection event time.
    So, if you have queued additional data for sending, it will attempt to send these as soon as possible, within these constraints.

    Could you elaborate on your approach to this thus far, and what issues you have faced?

    Best regards,
    Karl

Children
Related