Sensor gateway from thingy52 to Thingy91

Hi,

We are trying to use thingy52 as an transparent Gateway to Thingy91 and from thingy91 to publish data on internet through MQTT protocol.

on thingy52 we want to use Peripheral_uart example, this unmodifyed example give us a lot of build errors (NRF52DK_NRF52832)

on thingy91_nrf52 we want to use central_uart example, this unmodifyed example give us a lot of build errors(NRF9160DK_NRF52840)

We expect theese to build without any errors.

we then want an uart connection between Thingy91_NRF91 and Thingy91_NRF52.

On thingy91_NRF91 we want to use MQTT_simple example, This build and works fine to my MQTT broker.

Does this seams like an feasible solutions? any other examples we could as starting point?

why do the perifheral and central_uart example fails? 19 include errors++ 

please advice

Parents
  • Hi Marte,

    Good proposal, but for now i am stuck with uart connection to my sensor. Is there any sofware serial/uart driver availible like the SoftwareSerial Library in arduino?
    alternativly i can replace NUS with another message service.
    what services do you recomand for custom cominication between 2 ble devices. I need to read and write small amount of data (max 128bytes) typicaly every 10 to 30 sec.

    br

    Rune

Reply
  • Hi Marte,

    Good proposal, but for now i am stuck with uart connection to my sensor. Is there any sofware serial/uart driver availible like the SoftwareSerial Library in arduino?
    alternativly i can replace NUS with another message service.
    what services do you recomand for custom cominication between 2 ble devices. I need to read and write small amount of data (max 128bytes) typicaly every 10 to 30 sec.

    br

    Rune

Children
Related