Implementing Sparkplug B payload handling on nRF9160DK

Hey

I'm currently writing a thesis on IIoT and implementation in remote areas. We're trying to setup the nRF9160DK as EON device with all implementations on the board, as an edge device with sparkplug b capabilities, sim card root of trust, TLS/SSL, and data-storage using SD-card. Right now our main priority is implementing sparkplug B on the nRF9160, but we're having a lot of issues implementing the standalone sample in c provided by Eclipse. 

What sample would be best to build on top of, and how would we best implement sparkplug B? We have been able to communicate using MQTT, with the samples simple_mqtt, mqtt-publisher and SLM, but which one of these would be best suited to program sparkplug B, and how?

Best Regards

Lars

Parents
  • Hi,

    Right now our main priority is implementing sparkplug B on the nRF9160, but we're having a lot of issues implementing the standalone sample in c provided by Eclipse. 

    Is this the sample you are referring to?

    https://github.com/eclipse/tahu/blob/master/sparkplug_b/stand_alone_examples/c/udt_example/example.c

    What problems are you having?

    How did you try to implement it on the nRF9160?

    What sample would be best to build on top of, and how would we best implement sparkplug B? We have been able to communicate using MQTT, with the samples simple_mqtt, mqtt-publisher and SLM, but which one of these would be best suited to program sparkplug B, and how?

    The mqtt_simple sample is the best place to start building a custom application on.

    The SLM is best suited if the application logic recides in a different MCU, and the nRF9160 is only used as a modem.

    Best regards,

    Didrik

Reply
  • Hi,

    Right now our main priority is implementing sparkplug B on the nRF9160, but we're having a lot of issues implementing the standalone sample in c provided by Eclipse. 

    Is this the sample you are referring to?

    https://github.com/eclipse/tahu/blob/master/sparkplug_b/stand_alone_examples/c/udt_example/example.c

    What problems are you having?

    How did you try to implement it on the nRF9160?

    What sample would be best to build on top of, and how would we best implement sparkplug B? We have been able to communicate using MQTT, with the samples simple_mqtt, mqtt-publisher and SLM, but which one of these would be best suited to program sparkplug B, and how?

    The mqtt_simple sample is the best place to start building a custom application on.

    The SLM is best suited if the application logic recides in a different MCU, and the nRF9160 is only used as a modem.

    Best regards,

    Didrik

Children
Related