I am using an adafruit-nrf52-pro-feather (nrf52832) to run my project of detecting voice by this below scenario:
++ Setting up:
[PC] ==== USB cable =====[Adafruit] * * * BLE * * * [Phone]
+ Audio files are very small size (less than 100kB or 20 seconds), with ADPCM format
+ USB cable which is delivered together with the board, but currently I am using as UART port for monitoring serial log.
I still have some concerns for this scenario as:
1) For transferring audio files from PC to the Adafruit, what are the available approaches ?
Is there any way to use the same USB cable and still have UART port debugging normally?
2) I suppose the received audio files would stay in RAM by default, but is Ada RAM enough for the above size?
3) Can I send the file (in RAM) directly via BLE or I need to do somethings else before sending via BLE?
I appreciate any suggestions/helps or some reference links.
On the phone end, is it your own App that gets the data ? You can use a custom service to send your data. See this blog post about transfer data from UART to BLE the easy way.
Hi Nguyen Hoan Hoang,
Firstly I want to try with Nordic apps as an initial step. I will take time to follow your suggested URL.
Thanks for your kind response.