Developing Bluetooth Low Energy products using nRF Connect SDK

  Переглядів 19,617

Nordic Semiconductor

Nordic Semiconductor

2 роки тому

In this webinar, we show you how to get started with Bluetooth Low Energy development using our own nRF Connect SDK. You will learn how to set up the development environment and how to use the Bluetooth LE tools.
If you want to follow along, we recommend installing these first:
- VS Code and the nRF Connect for VS Code (www.nordicsemi.com/Products/D...)
- nRF Command Line Tools (www.nordicsemi.com/Products/D...)
- nRF Connect for Desktop (www.nordicsemi.com/Products/D...)
- Projects and notes from the webinar (devzone.nordicsemi.com/cfs-fi...)
This is a recording of a webinar held on December 1, 2021. To watch the full presentation with the Q&A, click here: webinars.nordicsemi.com/devel...

КОМЕНТАРІ: 55
@bobby9568
@bobby9568 2 роки тому
We need more of these kind of tutorial videos to be able to work with nordic devices.
@NordicSemi
@NordicSemi 2 роки тому
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 роки тому
@@NordicSemi Very helpful, do you provide something similar but with BLE as its main topic?
@NordicSemi
@NordicSemi 2 роки тому
@@bobby9568 Thanks! We'll continue to launch new courses with topics related to our technology offerings.
@user-yv5mc5qg9o
@user-yv5mc5qg9o 3 місяці тому
I thoroughly enjoyed this tutorial. It has been a useful learning experience.
@NordicSemi
@NordicSemi 3 місяці тому
If you are not aware, we also recommend checking out our free courses on Nordic Developer Academy: academy.nordicsemi.com/
@user-yv5mc5qg9o
@user-yv5mc5qg9o 3 місяці тому
@@NordicSemi Are there any useful tutorials explaining how to set up the central/client side so services can be found and connected up?
@NordicSemi
@NordicSemi 3 місяці тому
@@user-yv5mc5qg9o yes, you can can take a look at either the peripheral_uart and the central_uart . Documentation can be found here: docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/bluetooth/peripheral_uart/README.html However we recommend that you start with our Bluetooth Low Energy Fundamentals course on Nordic Developer Academy before moving into central/peripheral setup academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/
@user-yv5mc5qg9o
@user-yv5mc5qg9o 3 місяці тому
@@NordicSemi I really don't understand how the examples you have given relate to the actual tutorial. I really would like to know just how to read attributes that are defined on the server side.
@NordicSemi
@NordicSemi 3 місяці тому
@@user-yv5mc5qg9o sorry for misunderstanding what you ask for. In the Bluetooth Low Energy Fundamentals course, session 4 covers GATT operations (how to handle attributes, services and characteristics): academy.nordicsemi.com/courses/bluetooth-low-energy-fundamentals/lessons/lesson-4-bluetooth-le-data-exchange/
@MrIgorek123
@MrIgorek123 2 роки тому
Exactly what I needed, thanks!
@NordicSemi
@NordicSemi 2 роки тому
Glad to hear!
@tharangachaminda
@tharangachaminda Рік тому
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/
@eminhasanov
@eminhasanov 17 днів тому
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?
@rajdeepdas86
@rajdeepdas86 Рік тому
Very elaborate tutorial. Thank you for this. Is there a document online which describes everything in further detail?
@NordicSemi
@NordicSemi Рік тому
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
@pivotremyloua4311
@pivotremyloua4311 2 роки тому
Thank you, Exactly what i needed, how to add security for BLE connection ?
@NordicSemi
@NordicSemi 2 роки тому
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
@Programming_basic
@Programming_basic 3 місяці тому
Very helpful content
@NordicSemi
@NordicSemi 3 місяці тому
Glad to hear!
@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 Рік тому
Hi Harald, we would recommend you to contact our tech support team directly on DevZone at devzone.nordicsemi.com
@theike58
@theike58 2 роки тому
Is there source code for a Central device running on a PC. (preference would be C++ (or C#))
@NordicSemi
@NordicSemi 2 роки тому
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/
@irgendwann100
@irgendwann100 Рік тому
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 ;)
@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 Рік тому
Hi Harald, please contact our tech support team directly on DevZone at devzone.nordicsemi.com. They will be able to help out! Thanks.
@weiliao5560
@weiliao5560 2 роки тому
where can I find the source code for this webinar?
@NordicSemi
@NordicSemi 2 роки тому
The source code for the sample can be found: github.com/edvinand/custom_ncs_ble_service_sample/tree/main/remote_controller
@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
@amoljadhav5380
@amoljadhav5380 6 місяців тому
I need to modify advertising configuration and initial value range as dynamic . So I can add range values.
@NordicSemi
@NordicSemi 5 місяців тому
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/
@theordinarygift4164
@theordinarygift4164 2 роки тому
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 2 роки тому
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/
@theordinarygift4164
@theordinarygift4164 2 роки тому
@@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 2 роки тому
@@theordinarygift4164 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
@theordinarygift4164
@theordinarygift4164 2 роки тому
@@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 2 роки тому
@@theordinarygift4164 please connect with our tech support team on DevZone to get further help: devzone.nordicsemi.com/
@antoniomembrino7460
@antoniomembrino7460 Рік тому
is there a playlist in the channel?
@NordicSemi
@NordicSemi Рік тому
Yes, we do have a playlist for nRF Connect SDK: ukposts.info/slow/PLx_tBuQ_KSqHc0SDVlb7yi2-SHCipjPDM
@antoniomembrino7460
@antoniomembrino7460 Рік тому
@@NordicSemi how can I connect the sdk to the ble low energy tool? +
@NordicSemi
@NordicSemi Рік тому
@@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.
@SuryaPrakashgupta-nz4nt
@SuryaPrakashgupta-nz4nt Рік тому
can we try this example on nrf9160dk
@NordicSemi
@NordicSemi Рік тому
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
@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.
Рік тому
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 Рік тому
@ 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!
@Frankly7
@Frankly7 Рік тому
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 Рік тому
Do be able to give you the best help, please reach out to our tech support team on DevZone: devzone.nordicsemi.com/
@cemalkaragoz4816
@cemalkaragoz4816 Рік тому
i am also having the same problem. My card is nRF5340DK
@NordicSemi
@NordicSemi Рік тому
@@cemalkaragoz4816 please reach out to our tech support team on DevZone, and they will help you: devzone.nordicsemi.com/
Thread aware debugging with nRF Connect SDK
8:43
Nordic Semiconductor
Переглядів 2,3 тис.
Everything you need to know about Bluetooth Low Energy advertising
1:03:22
Nordic Semiconductor
Переглядів 30 тис.
Get a knife! | Standoff 2
01:06
Standoff 2 Live
Переглядів 1,5 млн
Introducing nRF Connect for VS Code
1:00:47
Nordic Semiconductor
Переглядів 18 тис.
nRF5 SDK - Tutorial for Beginners Pt 40 - Bluetooth Low Energy an Introduction to basics in BLE
42:17
you can become a GIGACHAD assembly programmer in 10 minutes (try it RIGHT NOW)
9:48
Master BLE Basics in Just 10 Minutes: The Ultimate Guide!
9:15
Novel Bits
Переглядів 87 тис.
Introduction to Bluetooth Low Energy
1:28:41
Nordic Semiconductor
Переглядів 38 тис.
Nordic NRF5340 DK blink example in nRF SDK VS Code
14:44
E-exp
Переглядів 3,9 тис.
Developing Bluetooth mesh products: Introduction
58:09
Nordic Semiconductor
Переглядів 5 тис.
Nordic nRF 52840 Dongle Setup For BLE Sniffing with Wireshark - MAC
17:17
Different Device Types/Modes in Bluetooth
6:46
Bina Bhatt
Переглядів 2,5 тис.
Индуктивность и дроссель.
1:00
Hi Dev! – Электроника
Переглядів 102 тис.
Какой телефон лучше всего снимает? 🤯
0:42
📱 SAMSUNG, ЧТО С ЛИЦОМ? 🤡
0:46
Яблочный Маньяк
Переглядів 629 тис.