- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When we sending data via SPP, we are using API 'wiced_bt_spp_rx_flow_enable'
We are testing In case of above, last some data cannot be sent
Test condition :
PC : Bluetooth intergrated on board
Teraterm Termianl : PC Side & Device(CYW20719) Side
Setting -> local echo off
Eclipsed IDE Modustoolbox2.3 Wiced BTSDK v3.10
Test application :
Modustoolbox RFCOMM_Serial_port base
Timer added for writing data through PUART
MEMCPY will be called in case of RFCOMM data receiving or Timer calling.
wiced_bt_spp_rx_flow_enable function will be called as following the buffer size increasing .
Test method :
PC scanning DEVICE(20719EVK) -> Connect -> Open Serial port with TERATERM -> Local Echo off -> Sending file( more than 20KB) -> Log check
spp_rx_data_callback handle:2 len:100 20-61, total rx 18500 |
If you send a one byte character by press keyboard in PC Side terminal, You can find out 100byte length data be recieved in device side on teraterm.
ex) spp_rx_data_callback handle:2 len:100 6d-64, total rx 66400
this phenomenon will keep going until bluetootn connection lost.
Solved! Go to Solution.
- Labels:
-
AIROC™ Bluetooth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you try to enable the flow control in the connection_up event? Per my test, there is no problem to enable the flow control once the connection is created. Please do not disable/enable the flow control during the transfer.