Hi,
How to send a file over ble? Is it possible??
Best Regards
Pspavi
Hi,
How to send a file over ble? Is it possible??
Best Regards
Pspavi
Hi,
Could you describe more on your application and setup ? Do you use Nordic on both sides or you plan to send file from the phone ?
Have you tried any of our BLE example in the SDK ?
Hi Hung Bui ,
I think it's feasible. The data you receive on the phone is a stream (array) of data and you just need to store them as a file on the phone.
We don't have the example on the phone to do the exactly same but we have an example where we stream image data to the phone and display it on the phone. The data was converted to a file before displaying.
Here is the Android app: https://github.com/NordicPlayground/Android-Image-Transfer-DemoAnd here is the application on the NRF52: github.com/.../nrf52-ble-image-transfer-demo
Do you have the same application for the ncs version? I see that the links are for the nRF5 SDK.
I am using zephyr and I want to be able to do a file transfer over ble using nus (coded phy).
Hoping for your response.
Thanks,
oli
Hi Oli,
Please create a new case for your request.
From what I know there isn't an example to do exactly what you need.
But there is a protocol to transfer large file: SMP. It's mainly for DFU update, but you can modify it to only tranfer data. Please take a look at the smp_svr example. You would need to choose BLE as the transport.
For high throughput data transfer, please have a look at throughput example inside bluetooth sample folder.
Hi Oli,
Please create a new case for your request.
From what I know there isn't an example to do exactly what you need.
But there is a protocol to transfer large file: SMP. It's mainly for DFU update, but you can modify it to only tranfer data. Please take a look at the smp_svr example. You would need to choose BLE as the transport.
For high throughput data transfer, please have a look at throughput example inside bluetooth sample folder.