This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Merging ble_app_uart and ble_app_uart_c into one code

Can you show how can I merge the ble_app_uart and ble_app_uart_c into one code?

Once the device wakes up, it will check its GPIO - if it is '0', the peripheral will start and if is '1', the central will start

I thought about making a main file that will handle the GPIO selection and call either the peripheral or the central functions which will be placed on different files.

In general, I think it is quite difficult to build a new design which is not based on any of the examples, since we need to include various libraries and various include files

I would appreciate if you can also follow up with some guidelines how you build such example

Thanks

Avi

Parents Reply Children
No Data
Related