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

Transmitting 6 packets

Hi there,

I am trying to send six 20 byte packets per connection interval. Is changing the length of charecteristic simply

attr_char_value.init_len     = sizeof(uint8_t)*20;
attr_char_value.max_len      = sizeof(uint8_t)*20;

and then also the gatts value length to

gatts_value.len = sizeof(uint8_t)*20;

how do i send 6 packets as apose to 1? will a data stream just fill six 20 byte chars sequentially untill they are full and then send that?

Related