problems: data transfer with the notification and uart.

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

cross mob
Anonymous
Not applicable

Hello, Hi, I'm using the BCM20732(SDK-1.1.0) now.

Interface block diagram is below.

ble.jpg

BCM20732 has a 16-byte fifo. Microcontroller sends 16 byte of data, then BCM20732 is a notification to Android this data.

It's a period of 250ms interval. But I can not get the data properly in android when operating at less than 250ms.

I have to make this period as short as possible.

If the 100 bytes sent, number of bytes is not received in Android. Not constant the number of data is not receiving.

If we operate at less than 20ms, BCM20732 will stop and restart. show that does not take the uart interrupt.

How do I fix it?

How much traffic(byte) is sent once the notification?

0 Likes
1 Solution
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

if i recall correctly, the ble specs dictate the max data payload to be 20bytes in a frame (eg notification).

View solution in original post

3 Replies
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

if i recall correctly, the ble specs dictate the max data payload to be 20bytes in a frame (eg notification).

MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

mmpBT is correct.

The thread here discusses a technique to send more than 20 bytes within a notification: Notify 80 bytes data?

0 Likes
Anonymous
Not applicable

Thanks.

Is there any way to reduce the 250ms interval?

If you reduce this period because the fifo is 16 bytes, the total data is too small.

0 Likes