I am using Uart Ble example of sdk , i want to write to Tx without UART can u please help me do it
i actualy want to send accelerometer data which is of size 40kb after aquistion.
I am using Uart Ble example of sdk , i want to write to Tx without UART can u please help me do it
i actualy want to send accelerometer data which is of size 40kb after aquistion.
Hi,
I am not sure exactly what you are asking about, so I will giv you a few hints about how to transfer large amounts of data as fast as possible, since that seems to be what you are after. Please elaborate and specify if you need more specific advice later.
To achieve high throughput, you should try to optimize the following:
You can refer to the throughput example in the SDK. You can also adapt the BLE UART example since you allready mentioned it (it was not clear to me if you wanted to not use the NUS service, or just did not what to use physical UART).
I have 40 kb of data i need to send, and what i thought was using notification by creating a timer, which will be started as soon as device gets connected, in the timeout handler i will convert every data to string using sprintf 7 send in that for loop, which will be written inside timeout handler, but i am not able to receive all the data y.
or what should i do to achieve this in Uart ble example project , please help me ASAP.
I have 40 kb of data i need to send, and what i thought was using notification by creating a timer, which will be started as soon as device gets connected, in the timeout handler i will convert every data to string using sprintf 7 send in that for loop, which will be written inside timeout handler, but i am not able to receive all the data y.
or what should i do to achieve this in Uart ble example project , please help me ASAP.
Dude, people are here to ask and answer specific questions, not to develop projects for random people on the internet.
As Einar already said, take a look at the NUS and the throughput examples. The NUS example will help you figure out how to send large amounts of data, and the throughput example will help you figure out how to send it quickly.
"Please help me do my project" is not a valid question.