Developing Bluetooth Low Energy products using nRF Connect SDK

Поділитися
Вставка
  • Опубліковано 14 січ 2025

КОМЕНТАРІ • 55

  • @bobby9568
    @bobby9568 2 роки тому +13

    We need more of these kind of tutorial videos to be able to work with nordic devices.

    • @NordicSemi
      @NordicSemi  2 роки тому +3

      Thanks for your input! We would also recommend you to check out our nRF Connect SDK Fundamentals course, that was launched a few weeks ago: hubs.li/Q018Gqb60

    • @bobby9568
      @bobby9568 2 роки тому +3

      @@NordicSemi Very helpful, do you provide something similar but with BLE as its main topic?

    • @NordicSemi
      @NordicSemi  2 роки тому +1

      @@bobby9568 Thanks! We'll continue to launch new courses with topics related to our technology offerings.

  • @MrIgorek123
    @MrIgorek123 2 роки тому +4

    Exactly what I needed, thanks!

  • @tharangachaminda
    @tharangachaminda Рік тому +3

    Thanks for this very explanatory tutorial. It would be great if you can explain how to handle multiple BLE connections as well.

    • @NordicSemi
      @NordicSemi  Рік тому

      We don't have any tutorials or examples that specifically take care of several peripheral connections at the same time, and there is no short and simple explanation for that. We recommend you to look at the connection timing chapter in the SoftDevice controller documentation, which has a good explanation of how the scheduler works: developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/softdevice_controller/doc/scheduling.html#connection-timing-as-a-central
      If you have follow up question we recommend you to reach out to our tech support team on DevZone: devzone.nordicsemi.com/

  • @pivotremyloua4311
    @pivotremyloua4311 2 роки тому +2

    Thank you, Exactly what i needed, how to add security for BLE connection ?

    • @NordicSemi
      @NordicSemi  2 роки тому +1

      We recommend you to check out this guide series on DevZone "Building a Bluetooth application in the nRF Connect SDK", part 1 can be found here: devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/building-a-ble-application-on-ncs-comparing-and-contrasting-to-softdevice-based-ble-applications

  • @rajdeepdas86
    @rajdeepdas86 2 роки тому +2

    Very elaborate tutorial. Thank you for this. Is there a document online which describes everything in further detail?

    • @NordicSemi
      @NordicSemi  2 роки тому +2

      Thank you! We recommend the following:
      - nRF Connect for VS Code docs: nrfconnect.github.io/vscode-nrf-connect/
      - nRF Connect SDK: developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html

  • @shuaibalghazali3405
    @shuaibalghazali3405 4 місяці тому

    Hi Nordic, please can i program the nrf52 dk with an external jlink. Your tutorial was really insightful. My onboard jlink has some issues

  • @weiliao5560
    @weiliao5560 2 роки тому +3

    where can I find the source code for this webinar?

    • @NordicSemi
      @NordicSemi  2 роки тому +3

      The source code for the sample can be found: github.com/edvinand/custom_ncs_ble_service_sample/tree/main/remote_controller

  • @Programming_basic
    @Programming_basic 11 місяців тому

    Very helpful content

  • @botabledrive
    @botabledrive Рік тому

    Hi, thanks a lot for these webinars that are very helpful. How to get the same webinar project to work on nRF7002-DK?
    getting the following log message, stated to appear wen tried to enable the bt
    [00:00:00.254,516] remote: Initializing bluetooth
    [00:00:01.255,462] bt_hci_driver: Endpoint binding failed with -11
    [00:00:01.255,493] bt_hci_core: HCI driver open failed (-11)
    [00:00:01.255,523] remote: bt_enable returned -11
    [00:00:01.255,523] app: Bluetooth_init returing -11
    [00:00:01.255,554] app: Running...
    comparing the project and other nRF connect SDK bluetooth samples, it seems that some config files were created in the case of bt sample, same with overlays and other prj.conf internal configs

    • @NordicSemi
      @NordicSemi  Рік тому

      Hi, we recommend you to reach out to our tech support team on DevZone for help: devzone.nordicsemi.com
      This application is build for the nRF52840, while there is an nRF5340 SoC on the nRF7002 DK. Check our the nRF7002 DK getting started guide to learn how to build on the nRF5340 SoC on the nRF7002 DK: developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/working_with_nrf/nrf70/gs.html#programming-the-firmware-to-the-dk

  • @eminhasanov
    @eminhasanov 8 місяців тому

    Thank you, is very helpful. But one question is still open for me. Why there is no option connect to nRF52 chip (not DK) via onboard normal BLE Adapter not Nordic Dongle. Or I misunderstood?

    • @NordicSemi
      @NordicSemi  7 місяців тому

      Great to hear. Using our tools, it is not possible to use the onboard BLE Adapter. However, there are many 3rd party tools and guides that can help you with that. For instance, you can have a look at this one: www.npmjs.com/package/node-ble

  • @antoniomembrino7460
    @antoniomembrino7460 2 роки тому

    is there a playlist in the channel?

    • @NordicSemi
      @NordicSemi  2 роки тому

      Yes, we do have a playlist for nRF Connect SDK: ua-cam.com/play/PLx_tBuQ_KSqHc0SDVlb7yi2-SHCipjPDM.html

    • @antoniomembrino7460
      @antoniomembrino7460 2 роки тому

      @@NordicSemi how can I connect the sdk to the ble low energy tool?
      +

    • @NordicSemi
      @NordicSemi  2 роки тому

      @@antoniomembrino7460 You're asking if the Software Development Kit (SDK) can be connected to the Bluetooth Low Energy app in the nRF Connect for Desktop, we assume you refer to the Development Kit (DK). Any nRF5x series DK can be connected to the Bluetooth Low energy app by connecting it with a USB cable to connector J2 and turn it on. Then you should see it show up when pressing "Select Device". Then this DK can act as a central or peripheral that will be able to connect to an application from the nRF Connect SDK you flash onto another DK.

  • @cacadebaka
    @cacadebaka 5 місяців тому

    Hello, I need to develop a very small code that doesn't use the module conf_bt_peripheral, is it possible to create a bluetooth receiver without this configuration? it will overflow my memory. The final goal is just to receive a byte and turn a red or a green light.

    • @NordicSemi
      @NordicSemi  3 місяці тому

      Hello, you do not mention what SoC you are using, but we assume it is one with very little memory. If it is an nRF52811, nRF52810, or nRF52805, they are not suitable to be Bluetooth receivers, as the central stack takes up a lot of memory.
      You can alternatively look at the nRF5 SDK, where the stack itself is smaller since it doesn't run on an RTOS. You can find the technical documentation here: docs.nordicsemi.com/bundle/sdk_nrf5_v17.1.0/page/index.html
      Bluetooth LE examples in the nRF5 SDK can be found here: docs.nordicsemi.com/bundle/sdk_nrf5_v17.1.0/page/examples_ble.html
      Technical Documentation
      For more technical help, please reach out to our tech support team on DevZone: devzone.nordicsemi.com

    • @cacadebaka
      @cacadebaka 3 місяці тому

      @@NordicSemi hello, I found out the problem that I was using the MCUboot, I stopped using it and the program works perfectly with the nrf52805

    • @NordicSemi
      @NordicSemi  3 місяці тому

      @@cacadebaka great to hear that you found out the problem.

  • @SuryaPrakashgupta-nz4nt
    @SuryaPrakashgupta-nz4nt 2 роки тому

    can we try this example on nrf9160dk

    • @NordicSemi
      @NordicSemi  2 роки тому

      Yes, you can. But we do not recommend to use a nRF9160 DK for Bluetooth Low Energy. The nRF52840 SoC on the nRF9160 DK is primarily used as a board controller, it is not designed to program, debug and develop Bluetooth LE projects on. In order for the nRF9160 DK to function as it should, you must possibly combine the board control firmware with a Bluetooth Low Energy application.
      If you want to develop Bluetooth Low Energy projects we recommend to get one of our Bluetooth Low DK's: www.nordicsemi.com/Products/Bluetooth-Low-Energy/Development-hardware?lang=en#infotabs

  • @Frankly7
    @Frankly7 2 роки тому

    I downloaded the code and flashed to the nRF5340 DK, but the Desktop BLE application says there is no response from device, and VCOM2 has this output:
    *** Booting Zephyr OS build v3.0.99-ncs1-1 ***
    [00:00:00.258,300] app: Hello World! nrf5340dk_nrf5340_cpuapp
    [00:00:00.258,422] remote: Initializing bluetooth...
    [00:00:00.268,371] remote: Couldn't start advertising (err = -11)
    [00:00:00.268,402] app: bt_enable returned -11
    [00:00:00.268,432] app: Running...

    • @NordicSemi
      @NordicSemi  2 роки тому

      Do be able to give you the best help, please reach out to our tech support team on DevZone: devzone.nordicsemi.com/

    • @cemalkaragoz4816
      @cemalkaragoz4816 2 роки тому

      i am also having the same problem. My card is nRF5340DK

    • @NordicSemi
      @NordicSemi  2 роки тому

      @@cemalkaragoz4816 please reach out to our tech support team on DevZone, and they will help you: devzone.nordicsemi.com/

  • @haroldritter5050
    @haroldritter5050 2 роки тому

    Please tell me. How did you add the "custom files" to your project??? I can add them and they show up in the "Folders Section" but they do not show up under my "BLUETOOTH_REMOTE build" section as they do in your tutorial. WHY???

    • @NordicSemi
      @NordicSemi  2 роки тому

      Hi Harald, we would recommend you to contact our tech support team directly on DevZone at devzone.nordicsemi.com

  • @amoljadhav5380
    @amoljadhav5380 Рік тому

    I need to modify advertising configuration and initial value range as dynamic . So I can add range values.

    • @NordicSemi
      @NordicSemi  Рік тому

      We recommend that you reach out to our tech support team on DevZone and provide them with more details on what you need help with: devzone.nordicsemi.com/
      Have you seen our Bluetooth Low Energy Fundamentals course on DevAcademy? It is a free course to get your started with Bluetooth LE. academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/

  • @theordinarygift
    @theordinarygift 3 роки тому

    Hello my device is not yet connected after all the installation. It keeps saying device not found. AM using Sim card and I have the thingy91 turned on and connected with usb. Any help will be appreciated.

    • @NordicSemi
      @NordicSemi  3 роки тому +1

      Hello, please look at the Nordic Thingy:91 getting started guide here: infocenter.nordicsemi.com/pdf/Thingy91_GSG.pdf If you stil have issues with the connection please reach out directly to our tech support team on DevZone devzone.nordicsemi.com/

    • @theordinarygift
      @theordinarygift 3 роки тому

      @@NordicSemi ok thanks I follow these steps again. please one more question. my project will last for 3 months can the battery last for that long? thanks

    • @NordicSemi
      @NordicSemi  3 роки тому

      @@theordinarygift
      That is very dependent on what your application will do, how often it will transmit data, need a GPS fix, etc. You can use our Online Power Profiler Tool for nRF91 Series to estimate devzone.nordicsemi.com/power/w/opp/3/online-power-profiler-for-lte

    • @theordinarygift
      @theordinarygift 3 роки тому

      @@NordicSemi General
      Chip nRF9160 rev2
      Voltage 3.7
      PSM
      Periodic TAU 5.0 hours
      Periodic TAU timer element "00011110"
      Active time timer element "00000000"
      RRC connected mode
      Data upload interval 4.0 hours
      Data upload charge 1.85 mC
      cDRX average current 5.87 mA
      cDRX charge 39.46 mC
      Connection management charge 24.81 mC
      Total charge 26.66 mC After using the power profiler link you sent to me, I had this result from the calculations. Does this result mean that it can handle 3 months data transmission with the current setting. Thanks for your help.

    • @NordicSemi
      @NordicSemi  3 роки тому

      @@theordinarygift please connect with our tech support team on DevZone to get further help: devzone.nordicsemi.com/

  • @theike58
    @theike58 3 роки тому

    Is there source code for a Central device running on a PC. (preference would be C++ (or C#))

    • @NordicSemi
      @NordicSemi  3 роки тому

      We would require more information on what you are after. Please reach out to our tech support team on DevZone with details on your usecase: devzone.nordicsemi.com/

  • @jowlolke
    @jowlolke 2 роки тому

    I think the declaration of the semaphore bt_init_ok is done wrong: the 1 should be a 0

    • @NordicSemi
      @NordicSemi  2 роки тому

      Thank you. We'll look at it and correct it.

    •  2 роки тому +1

      No, it is correct. Initial value is 1, because at startup in bluetooth_init() function, bt_enable() is called with a callback bt_ready(). bt_ready gives the semaphore back that means, it decreases semaphore count from 1 to 0. And then, k_sem_take() can continue.
      I think it is not a good programming practices, I would rather initialize the semaphore with zero and at the beginning of the bt_ready() I can take the semaphore with k_sem_take().

    • @markuscwatson
      @markuscwatson 2 роки тому

      @ I agree, best to take it and release it in the bt_ready function. More clear that way.

    • @leifsandstrom573
      @leifsandstrom573 Рік тому

      @@NordicSemi Same comment as @jowlolke, issue is still present in the download. Taking a semaphore decrements the semaphore count. Current implementation will not block in bluetooth_init() even if bt_ready() is never called. BTW thanks for an informative video!

  • @haroldritter5050
    @haroldritter5050 2 роки тому

    I see that the folder remote_services was added to the Hello World project. I have used the link and downloaded this folder and files. Can anyone tell me how to add this code and folder to an existing project in VS code? I have tried but been unsuccessful. Thank you!

    • @NordicSemi
      @NordicSemi  2 роки тому

      Hi Harald, please contact our tech support team directly on DevZone at devzone.nordicsemi.com. They will be able to help out! Thanks.

  • @irgendwann100
    @irgendwann100 Рік тому +1

    If you work with sdk 2.2... and you have the following error ARCH_EXCEPT with reason 3/ HARD FAULT /Fault during interrupt handling
    add the following to your prj.config
    CONFIG_BT_CTLR_OPTIMIZE_FOR_SPEED=y
    CONFIG_BT_LL_SW_SPLIT=y
    speed optimizer for BLuetooth ...
    The Tutorial wath very helpfull thanks ... ok I recognize you are no teacher :)) sometimes the explanations are not so easy to understand ;)