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

Sending I2C commands via BLE

Hello,

I will explain my setup:

I have 2 nRF51-DK each one of them connected via I2C and SPI to two different custom boards. One being the central(nrfA) and the other being the peripheral(nrfB), regarding BLE.

I want to send from 1st board----I2C----> nRFA -----BLE----> nRFB ---I2C--->2nd board and the other way around at the same time if needed. I am already using the NUS service to send the data received by SPI so wanted to use a different one for I2C.

What I wanted to know is what is the easiest service or profile to send the I2C commands via BLE? Or is it easier to send SPI and I2C via NUS?

I thought using the Immediate Alert Service (IAS) to send the I2C commands, but from what I discovered it can only be used on the peripheral side, is this correct?

I'm using SDK11 and SD130 v2.

Thank you for the help,

Jorge Costa

Related