Re: DTLS over CoAP for the Zephyr project
Nikos Karamolegkos
Thank you. I was trying to find an example with CoAP over DTLS (client and server) in the zephyr tree. However, I can not find any tutorial or any discussion about that. Also, in 1.9.2 zephyr docs there is a sample named "CoAP over DTLS sample server" which does not exist in the latest release of zephyr (after 1.13 is gone). Any help on that? I am really confused
|
|
TSC meeting agenda for 24 Jul 2019
Carles Cufi
Hi all,
Here is the agenda for today's meeting: * Vincent Lacroix from Systerel presentation on the OPC UA protocol * TSC / Marketing Committee coordination https://github.com/zephyrproject-rtos/zephyr/wiki/Zephyr-Committee-and-Working-Group-Meetings#technical-steering-committee-tsc https://docs.google.com/document/d/12p8Q4USdExsP3a8lIdhyqG-4vxb44kisccZ9TvlxWBA/edit#heading=h.x36xe8bnwr9r Thanks, Carles
|
|
API meeting cancelled this week
Carles Cufi
Hi all,
Due to holidays and celebrations we have had to cancel this week's API meeting. Next week we will resume holding the meetings as usual. Thanks, Carles
|
|
New default BLE Link Layer
Carles Cufi
Hi all,
With the merge of PR #15781, the new "split" Link Layer is now the default for BLE-enabled applications. Extensive development and testing effort has gone into this feature, but there might be regressions that have slipped through the testing procedures. Please open issues on GitHub if you come across any issues when testing your applications with it. You can revert back to using the previous Link Layer by enabling the CONFIG_BT_LL_SW_LEGACY Kconfig option. https://github.com/zephyrproject-rtos/zephyr/pull/15781 Thank you to everybody involved in this feature for making it happen. New features that were not possible to implement with the old architecture will now slowly start coming to the new Link Layer. Regards, Carles
|
|
Re: BLE Central and peripheral role
#bluetooth
#ble
nrjn nrjn <nrjnx0@...>
Thank you Alfredo and Vinayak, bluetooth/shell is a perfect reference point.
|
|
Re: Trying to perform version exchange procedure
#ble
Vinayak Kariappa
Take a look at hci_core.c on how host uses the feature exchange to determine supported Bluetooth features.
toggle quoted messageShow quoted text
Version exchange only helps in identifying a vendor/company and revision of their firmware. And useful to have/handle blacklisting/workaround application behaviors. I would use HCI command to fetch remote version information. By spec, version exchange to be done only once and to be cached for a peer device. It is best handled by host issuing hci cmd and not have controller do it automatically.
On 18-Jul-2019, at 6:19 PM, Megan Bredes <mbredes@...> wrote:
|
|
Re: BLE Central and peripheral role
#bluetooth
#ble
Vinayak Kariappa
Take a look at tests/bluetooth/shell that uses subsys/bluetooth/shell/bt.c
toggle quoted messageShow quoted text
The shell application combines all states and roles into single application
On 18-Jul-2019, at 5:19 PM, Cufi, Carles <carles.cufi@...> wrote:
|
|
Re: BLE Central and peripheral role
#bluetooth
#ble
alfredolimams@...
Hi, There are many commands to shell as connect a central with peripheral, read, write, notify and other functions of Bluetooth (GATT).I recommend that you use an example in subsys->bluetooth->shell. Em qui, 18 de jul de 2019 às 11:55, nrjn nrjn <nrjnx0@...> escreveu:
Hello Carles,
|
|
Re: BLE Central and peripheral role
#bluetooth
#ble
nrjn nrjn <nrjnx0@...>
Hello Carles,
I created a sample code which enables nrf52840-DK to function as both central and peripheral heart rate monitors. Herer it is: https://github.com/nrjn/zephyr-ble-central-and-peripheral-hr Thank you
|
|
Re: Trying to perform version exchange procedure
#ble
Megan Bredes
Well the current goal is to get the version exchange procedure to happen at all, but the end goal is to get it to happen twice so that I can verify that the peripheral that I am talking to responds correctly. I am trying to use zephyr to verify that a peripheral meets a number of bluetooth spec requirements. Megan On Thu, Jul 18, 2019 at 7:48 AM Cufi, Carles <Carles.Cufi@...> wrote:
![]()
This email and its attachments contain confidential
and/or privileged information of Sunrise Labs
and/or its clients. Any use of this information,
other than by the intended recipients, is prohibited.
If you have received this email in error,
please notify Sunrise Labs, Inc. about the error at
ITStaff@... and delete this message and all copies thereof.
|
|
Re: BLE Central and peripheral role
#bluetooth
#ble
Carles Cufi
Hi there,
I don’t think there’s a sample that shows both roles, but combining one of the peripheral samples and a central one should be very straightforward. Please consider contributing such a sample if you put one together that can serve as a starting point for others.
Thanks!
Carles
From: users@... <users@...>
On Behalf Of nrjn nrjn via Lists.Zephyrproject.Org
Sent: 18 July 2019 01:02 To: users@... Cc: users@... Subject: [Zephyr-users] BLE Central and peripheral role #bluetooth #ble
Hello,
Is there a sample code or documentation explaining how to use a BLE device in both central and peripheral roles concurrently?
I have a couple of environmental sensors (BLE peripherals) talking to a hub (BLE Central).
I want to control the hub and get data out of the hub through a smartphone. So, I want the hub to function as both central and peripheral.
Thank you
|
|
Re: Trying to perform version exchange procedure
#ble
Carles Cufi
Hi there,
The Version Exchange procedure is a Link Layer one performed automatically by the LL. What are you trying to achieve exactly?
Carles
From: users@... <users@...>
On Behalf Of mbredes via Lists.Zephyrproject.Org
Sent: 17 July 2019 21:04 To: users@... Cc: users@... Subject: [Zephyr-users] Trying to perform version exchange procedure #ble
I have recently started experimenting with Zephyr and have been trying to alter one of the demo's (HR monitor central side) so that it would go through the version exchange procedure. I have found the code that seems like it would do this
(ctrl.c:event_vex_prep) but I have been unable to figure out how to get this function to be called. Does anyone have any suggestions on where I should be looking to adjust the code to make this happen?
|
|
request of information
novello
I have found this link where I can find the documentation that enable me to make a SIL device. There is a precertification ? Where I can fnd the test ? Best regards Novello G.
|
|
BLE Central and peripheral role
#bluetooth
#ble
nrjn nrjn <nrjnx0@...>
Hello,
Is there a sample code or documentation explaining how to use a BLE device in both central and peripheral roles concurrently?
I have a couple of environmental sensors (BLE peripherals) talking to a hub (BLE Central).
I want to control the hub and get data out of the hub through a smartphone.
So, I want the hub to function as both central and peripheral.
Thank you
|
|
Booting up Zephyr on Arduino DUE
Phatak, Sujit <Sujit.Phatak@...>
Hi,
I am trying to get Zephyr to boot up and run the samples (Hello World, dining philosophers, synchronization) on the HiFive1_RevB and Arduino DUE. I was able to do it on HiFive1_RevB but NOT on the Arduino DUE. I was able to flash the Arduino DUE using the Bossac tool as documented in the Zephyr docs and the flash process and verification process seems to succeed however, using terminal programs minicom or screen, I don't see any serial output from the Arduino DUE. Also the flash process using bossac is also a bit unreliable (need to hit reset at a precise unknown timing before executing the flash command on ubuntu terminal to initiate the flashing process otherwise ubuntu cannot find anything connected to serial port /dev/ttyACM0 while a standalone ls -l test confirms the board connected). Any ideas I am missing something with the Arduino DUE, thanks.
-SP
Sent from Mail for Windows 10
|
|
Trying to perform version exchange procedure
#ble
Megan Bredes
I have recently started experimenting with Zephyr and have been trying to alter one of the demo's (HR monitor central side) so that it would go through the version exchange procedure. I have found the code that seems like it would do this (ctrl.c:event_vex_prep) but I have been unable to figure out how to get this function to be called. Does anyone have any suggestions on where I should be looking to adjust the code to make this happen?
Thanks, Megan
|
|
Re: port other projects to Zephyr
Carles Cufi
Hi Kay,
It is possible, but you will need to change your application so that it uses Zephyr’s APIs instead of FreeRTOS’. Depending on how your application is written this will be more or less complex a task.
Carles
From: users@... <users@...>
On Behalf Of via Lists.Zephyrproject.Org
Sent: 16 July 2019 04:13 To: users@... Cc: users@... Subject: [Zephyr-users] port other projects to Zephyr
Hi there,
Is it possible to port FreeRTOS project to Zephyr project?
Seems like both of them works differently.
Regards, Kay Li
|
|
API meeting: Agenda
Carles Cufi
Hi all,
While a lot of folks are off on vacation, there are a few items pending discussion. Agenda: - New proposal: RFC for driver-specific APIs - GPIO: Update on progress, discussion on function naming - Sensor API: Update on progress if contributors present Additional items in the "Triage" column in the GitHub project may be discussed if time permits. If you want an item included in the meeting, please add it to the GitHub project. https://github.com/zephyrproject-rtos/zephyr/wiki/Zephyr-Committee-and-Working-Group-Meetings#zephyr-api-discussion https://github.com/zephyrproject-rtos/zephyr/projects/18 https://docs.google.com/document/d/1lv-8B5QE2m4FjBcvfqAXFIgQfW5oz6306zJ7GIZIWCk/edit Regards, Carles
|
|
#CoAP congestion control
#coap
Minoo Kargar
Hi,
I have a question about CoAP protocol in Zephyr. Where can I find the parameters for congestion control, ack_timeout for example? Thank you, Regards, Minoo
|
|
Retrieve Mesh Proxy Data Out
#bluetoothmesh
#zephyrbluetoothmesh
#nrf52-pca10040
paul.leguennec@...
Hi,
I have a proxy node that receives messages from my mesh network, and I'm trying to retrieve the Mesh Proxy Data Out, in order to read mesh messages and in the future use them in an application. I tried to see what was in the Mesh Proxy Data Out by enabling notifications on nRF Connect. My mesh messages are send really often, and yet I receive no notifications on nRF Connect (PC or Android). I at least want to see the proxy PDU, which appears neither in raw data, nor in the notifcations (since i don't receive any). Does somebody have an idea of how to retrieve Data Out and/or the proxy PDU? I have three nodes (0x0001, 0x0002, 0x0003) publishing and subscribing to the group address 0xC000. 0x0001 is my proxy node. I believe it's some kind of a gatt server I'm looking for, but I would first want to see what data I am receiving / I could receive. Thanks, Paul. PS : This message was on the devel list but it seems it's more appropriate here.
|
|