NUS Service: sdk-zephyr implementation vs sdk-nrf implementation

Hi,

I’m evaluating the NUS (Nordic UART Service) as a way to stream and receive byte arrays.

I’ve noticed that there are two different implementations of the NUS service:

  1. zephyr-sdk implementation
    https://github.com/nrfconnect/sdk-zephyr/blob/ncs-v3.2.0/subsys/bluetooth/services/nus/nus.c
    (with the corresponding nus.h and Kconfig files)

  2. nrf-sdk implementation
    https://github.com/nrfconnect/sdk-nrf/blob/v3.2.0/subsys/bluetooth/services/nus.c
    (with its own nus.h and Kconfig files)

Which implementation should be used?
What are the differences between the two?

Thanks,

Alessandro

Parents Reply Children
Related