CYBT-413034 SPP sending failure

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

cross mob
lock attach
Attachments are accessible only for community members.
ilHw_4713311
Level 4
Level 4
5 solutions authored 50 sign-ins 50 replies posted

Hello.

My design is sending data that received PUART via SPP.

My base code is common/app/snip/bt/spp.

SPP sending without PUART interrupt, in your sample code, no error was found so far.

It is normal operation. I request to send 307 bytes, and check if buffer is not full and send 307 bytes(RFCOMM SENT) finally wrote 307 result 0

I found this operation SPP Lib source code.

pastedImage_0.png

But Sending data are missing during communication with stress ( PUART Tx/Rx, SPP Tx, Rx, and frequent timers.)

I got this log BTSpy

pastedImage_0.png

407, 507, 512, 95 Byest of data is missing with result 0.

In this case tx buffer was not full. I check it using wiced_bt_spp_can_send_more_data() in SPP lib.

In order to make it clear, I calculate attached test log using MS excel. (wrote and RFCOMMSEND)

wrote:  366939

RFCOMM SEND: 249127

I believe stress made this loss.

So How I can find out when I can send data without loss?

It is very urgent and important for me.

Thanks in advance.

0 Likes
1 Reply
ilHw_4713311
Level 4
Level 4
5 solutions authored 50 sign-ins 50 replies posted

I'll give you more information. let me have more time.

Thanks.

0 Likes