This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF5340 - Bluetooth HCI sample project

Hi,
I want to build a Bluetooth LE peripheral application with nRF5340.
The channel must be able to sustain an output stream of 8 kbit/s.

Other desirable features are:
- NFC handover for OOB pairing
- OTA DFU

I'm looking for the right host-side sample project to start with, among the many available

ncs/v1.6.1/zephyr/samples/bluetooth/
periodic_adv
peripheral
peripheral_dis
peripheral_hids
peripheral_ht
peripheral_ots
periodic_sync
peripheral_csc
peripheral_esp
peripheral_hr
peripheral_iso
peripheral_sc_only

ncs/v1.6.1/nrf/samples/bluetooth/
peripheral_cts_client
peripheral_hr_coded
peripheral_uart
peripheral_gatt_dm
peripheral_lbs
peripheral_ancs_client
peripheral_hids_keyboard
peripheral_bms
peripheral_hids_mouse
peripheral_nfc_pairing

Can anyone give a hand to address the choice ?

Parents
  • Hello,

     

    Can anyone give a hand to address the choice ?

     I would recommend you pick either the peripheral_lbs or peripheral_uart sample. Then you can try to modify thingy53_nrf5340_cpuapp.conf for nrf53 DK, to enable MCUBoot for DFU.

  • Dear Hakan

    would you have to choose between the peripheral_lbs and peripheral_uart, what do you do ?
    The peripheral LBS sample demonstrates how to use the LED Button Service (LBS).
    Instead the Peripheral UART sample demonstrates how to use the Nordic UART Service (NUS), which emulates a serial port over Bluetooth LE."
    Would the peripheral_lbs be capable of enabling a 8 kbit/s data flow as the peripheral_uart is certainly capable of ?

  • Gabriele said:
    Would the peripheral_lbs be capable of enabling a 8 kbit/s data flow as the peripheral_uart is certainly capable of ?

     I would probably go with Peripheral UART because of the larger characteristic size.

Reply Children
Related