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

Join SPI and IPv6 over BLE

Hello!

I have the board PCA10040 (nRF52 DK).

I designed two different programs:

  • SPI: I'm using the SPI communication to communicate with an external sensor (accelerometer). I used the latest SDK version: v13.0.0.
  • MQTT publisher/subscriber: I modified the MQTT publisher example to add the subscriber too. So, the IoT SDK was used (v0.9.0).

The goal now is to integrate both programs in order to send the information of the accelerometer through the MQTT. I'm facing some problems:

  1. The structure of the Makefile is completely different, so I decided to use the IoT one to add the missing directories from the SDK v13.0.0. Is that correct?
  2. The files in IoT SDK are outdated. I tried copying the new libraries in the program, but then the "lwip" external library is having errors since the functions have been changed.

May you help me please? Are there any steps or guidelines I can follow to integrate both programs?

Thank you very much!

Related