Greetings All,
Am using BlueRadios_Bluetopia_4_0_1_3_MSP430 and have flashed SPP demo on two BR-LE4.0-D2 modules.
Module A is running in server mode and module B is in Client Mode.
Module A Module B
> Server > Client
> SetBaudRate 460800 > Inquiry
> SetConfigParams 329 987 2303 > SetBaudRate 460800
> Open 1 > SetConfigParams 329 987 2303
>Write > Open 1 1
> DisplayRawModeData 1
Here on the server side I send 'Write' commend and test string is transmitted from Server to client and this appears on console. I want to test
the maximum throughput that can be achieved by sending a large stream of data. To do this I tried to increase the TEST_DATA to 512 Bytes but this is to
large for SPP_Write function to transmit at a time thus message "Wrote 0" appears along with "Transmit Buffer Empty Indication, ID: 0x0001" message.
In the Write function I also used a 'for loop' to call SPP_Write multiple times but the data received does not exceeds 2000 bytes appx at a time.
I am using a serialPort throughput monitor tool to visualize throughput on the receiver serial port. Using the above method the Throughput ranges to approximately 80kbps. Since I am new to this I would appreciate
1. Effective way to transmit stream of data to test throughput of about 337Kbps (ref: http://processors.wiki.ti.com/index.php/CC256x_MSP430_Bluetopia_Basic_SPPDemo_APP_Improving_throughput_v14 ) other than using for loop and increasing TEST_DATA.
2. Am I monitoring the effective throughput correctly by checking the throughput on the receiver serial port (460800), or is there an other way to monitor this throughput. As far as I can see my PC serial is not a cap to over all throughput. 1) ConfigParams, 2) BaudRate, 3) UART Buffer affecting throughput which are currently enough to achieve 337kbps.
Thank you.