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

Arduino BLE Nano v2 Hardware Communications Question

So I've been searching around for an answer to this on these forums and I can't really find what I'm looking for.

I'm using a RedBear BLE Nano v2 to act as an intermediate between an Arduino Uno and an Android App. I'm using the nRF5_SDK v15 libraries, and the arm-none-eabi-gcc compiler in combination with the s132 softdevice (via srec_cat) to generate the .hex files, which I'm uploading via DAPLink. 

This is all done from an Ubuntu 16.04 environment.

I've built most of my project off of the ble_app_template, and I've implemented a custom GATT profile to broadcast the data I want to send to my phone. All of that works fine.

My issue is trying to load data from the Arduino onto the RedBear chip, my Arduino is currently emitting U-ART messages on hardware lines, and I just want to read these messages from hardwired pins on the RedBear and update my Gatt profiles characteristics.

My question is what method/libraries/examples could I use to read from the Arduino via hardware pins on the RedBear.

Related