LE Set Data Length Command valid values

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I am evaluating the CY5676A PRoC BLE 256KB Module in HCI mode. I am trying to use the data length procedure.

   

If I use the command with values different to the min and max of the range (0x1b and 0xFB) the command complete event returns an error. In the command the TxTime is set to the duration of the packet depending of the data length requested.

   

Is it possible to select a data size different than 27 and 251?

0 Likes
1 Solution
Anonymous
Not applicable

it is possible to set the size in between 27 and 251.

   

what is the error code that you are receving?

View solution in original post

0 Likes
2 Replies
Anonymous
Not applicable

it is possible to set the size in between 27 and 251.

   

what is the error code that you are receving?

0 Likes
Anonymous
Not applicable
        I forgot the 4 bytes of the MIC in case of encryption. The formula was TxTime = 80 usec (empty packet overhead) + (TxBytes * 😎 the correct one is: TxTime = 80 usec (empty packet overhead) + (TxBytes * 😎 + 32 usec (4 bytes MIC) I have another question, seems that the TxTime must be equal to the calculated in the formula (the new one) if the TxTime is bigger the event returns an error for incorrect paramaters. Is it?   
0 Likes