|
Re: Using a predefined passkey on a BLE peripheral device with no input/output
Hi Johan,
This is not new requirement. I had asked similar question on Jan 25, 2018
This is for your reference,
https://lists.zephyrproject.org/g/devel/message/1644
Need was static passkey for
Hi Johan,
This is not new requirement. I had asked similar question on Jan 25, 2018
This is for your reference,
https://lists.zephyrproject.org/g/devel/message/1644
Need was static passkey for
|
By
vikrant8051 <vikrant8051@...>
·
#4743
·
|
|
Re: Using a predefined passkey on a BLE peripheral device with no input/output
Hi Johan,
My requirement is exactly like what you said: every device has a unique passkey stored and labeled on this case. The user needs to check the case to get the right passkey and enter it when
Hi Johan,
My requirement is exactly like what you said: every device has a unique passkey stored and labeled on this case. The user needs to check the case to get the right passkey and enter it when
|
By
Li, Jun R
·
#4742
·
|
|
Re: Using a predefined passkey on a BLE peripheral device with no input/output
Hi Jun,
We don't have such a feature currently (no one has asked for it until
now). Do I understand right that you want to have a per-device static
random passkey that's e.g. on a sticker on the
Hi Jun,
We don't have such a feature currently (no one has asked for it until
now). Do I understand right that you want to have a per-device static
random passkey that's e.g. on a sticker on the
|
By
Johan Hedberg
·
#4741
·
|
|
Re: Using a predefined passkey on a BLE peripheral device with no input/output
Hi Johan,
Is that a way to pre-set the static passkey by like a Kconfig item? Six zeros are not good as a passkey.
Regards,
Jun
On 6/12/18, 01:21, "Johan Hedberg" <johan.hedberg@...>
Hi Johan,
Is that a way to pre-set the static passkey by like a Kconfig item? Six zeros are not good as a passkey.
Regards,
Jun
On 6/12/18, 01:21, "Johan Hedberg" <johan.hedberg@...>
|
By
Li, Jun R
·
#4740
·
|
|
Re: What information shall be persistent to restore BLE bond after power cycling?
Hi Johan and Vikrant,
Thanks for the detailed guidelines! Actually, my device works with all these settings added, which I didn't realized because the whole flash memory of the device was erased by
Hi Johan and Vikrant,
Thanks for the detailed guidelines! Actually, my device works with all these settings added, which I didn't realized because the whole flash memory of the device was erased by
|
By
Li, Jun R
·
#4739
·
|
|
Re: Bluetooth Multiple Central Connections
Hi Johan,
I already tried to increase CONFIG_BT_HCI_CMD_COUNT, but I ended up with a MPU fault. Increasing the TX stack size didn't help with the MPU fault either.
I can call scan_start from the main
Hi Johan,
I already tried to increase CONFIG_BT_HCI_CMD_COUNT, but I ended up with a MPU fault. Increasing the TX stack size didn't help with the MPU fault either.
I can call scan_start from the main
|
By
Daniel Widmann
·
#4738
·
|
|
Re: Using a predefined passkey on a BLE peripheral device with no input/output
Hi Jun,
The normal way to configure pairing on a device which lacks both output
and input capabilities is to set NoInputNoOutput as the IO capability in
the Security Manager Protocol. This will then
Hi Jun,
The normal way to configure pairing on a device which lacks both output
and input capabilities is to set NoInputNoOutput as the IO capability in
the Security Manager Protocol. This will then
|
By
Johan Hedberg
·
#4737
·
|
|
Re: What information shall be persistent to restore BLE bond after power cycling?
Hi Johan,
Could you please elaborate when to use what out of following things ?
BT_GATT_CHRC_AUTH,
BT_GATT_PERM_READ_AUTHEN
BT_GATT_PERM_WRITE_AUTHEN
Hi Johan,
Could you please elaborate when to use what out of following things ?
BT_GATT_CHRC_AUTH,
BT_GATT_PERM_READ_AUTHEN
BT_GATT_PERM_WRITE_AUTHEN
|
By
vikrant8051 <vikrant8051@...>
·
#4736
·
|
|
Re: What information shall be persistent to restore BLE bond after power cycling?
Hi Jun,
All keys that were distributed or generated during pairing should get
stored. The most important one is the Long Term Key (LTK). The only
situation when it would not get stored is if one of
Hi Jun,
All keys that were distributed or generated during pairing should get
stored. The most important one is the Long Term Key (LTK). The only
situation when it would not get stored is if one of
|
By
Johan Hedberg
·
#4735
·
|
|
Re: Bluetooth Multiple Central Connections
Hi Daniel,
I think this should be possible. We can discuss whether the TX thread is
the right context for the controller to do the bt_recv() call from, but
meanwhile a simple solution should be to
Hi Daniel,
I think this should be possible. We can discuss whether the TX thread is
the right context for the controller to do the bt_recv() call from, but
meanwhile a simple solution should be to
|
By
Johan Hedberg
·
#4734
·
|
|
Re: What information shall be persistent to restore BLE bond after power cycling?
Hi Vikrant,
Thanks for help! Yes, I did the same thing in my project, but still was not lucky to get it connected to my iPhone after its power cycling, unless I get iPhone to forget my device
Hi Vikrant,
Thanks for help! Yes, I did the same thing in my project, but still was not lucky to get it connected to my iPhone after its power cycling, unless I get iPhone to forget my device
|
By
Li, Jun R
·
#4733
·
|
|
Re: What information shall be persistent to restore BLE bond after power cycling?
Hi Jun Li,
You have to enable persistent storage in your application.
For that,
1) add #include <settings/settings.h> in main.c
2) add
if (IS_ENABLED(CONFIG_SETTINGS)) {
settings_load();
Hi Jun Li,
You have to enable persistent storage in your application.
For that,
1) add #include <settings/settings.h> in main.c
2) add
if (IS_ENABLED(CONFIG_SETTINGS)) {
settings_load();
|
By
vikrant8051 <vikrant8051@...>
·
#4732
·
|
|
Re: Zephyr development news, 11 June 2018
Hi again,
I forgot to mention that (as usual) an HTML version is also available:
https://opensourcefoundries.com/blog/2018/06/11/zephyr-news-20180611/
Sorry about that.
Marti
Hi again,
I forgot to mention that (as usual) an HTML version is also available:
https://opensourcefoundries.com/blog/2018/06/11/zephyr-news-20180611/
Sorry about that.
Marti
|
By
Marti Bolivar
·
#4731
·
|
|
Zephyr development news, 11 June 2018
Hello and happy release day,
Please note that we've renamed the series to "Zephyr development news"
to avoid a name clash with another publication.
This is the 11 June 2018 newsletter tracking the
Hello and happy release day,
Please note that we've renamed the series to "Zephyr development news"
to avoid a name clash with another publication.
This is the 11 June 2018 newsletter tracking the
|
By
Marti Bolivar
·
#4730
·
|
|
What information shall be persistent to restore BLE bond after power cycling?
Hi,
I’m building a BLE application based on a NRF51 board with pass key support. The device can be connected and bonded with a mobile phone after the pass key was correctly entered, and can be
Hi,
I’m building a BLE application based on a NRF51 board with pass key support. The device can be connected and bonded with a mobile phone after the pass key was correctly entered, and can be
|
By
Li, Jun R
·
#4729
·
|
|
Re: Bluetooth Multiple Central Connections
Hi,
I think I figured out whats going on:
Zephyr will lock up if I try to enable scanning in the 'Failed to connect' callback.
In the failed to connect case, the callback is called from the hci tx
Hi,
I think I figured out whats going on:
Zephyr will lock up if I try to enable scanning in the 'Failed to connect' callback.
In the failed to connect case, the callback is called from the hci tx
|
By
Daniel Widmann
·
#4728
·
|
|
Using a predefined passkey on a BLE peripheral device with no input/output
Hi everyone,
I have a NRF51 BLE device which doesn’t have either a display or a keyboard, and would like to use a static passkey to secure the connection establishment. Is it possible to use a
Hi everyone,
I have a NRF51 BLE device which doesn’t have either a display or a keyboard, and would like to use a static passkey to secure the connection establishment. Is it possible to use a
|
By
Li, Jun R
·
#4727
·
|
|
Zephyr 1.12.0 released
Hi all,
We are pleased to announce the release of Zephyr kernel version 1.12.0.
Major enhancements with this release include:
- Asymmetric multiprocessing (AMP) via integration of
Hi all,
We are pleased to announce the release of Zephyr kernel version 1.12.0.
Major enhancements with this release include:
- Asymmetric multiprocessing (AMP) via integration of
|
By
Maureen Helm
·
#4726
·
|
|
Re: Bluetooth Multiple Central Connections
Hi Daniel,
Can you send me more details of what the code is doing, for instance,
what are the requests in ATT and how you manage the bt_att_req in use
for each connection.
Hi Daniel,
Can you send me more details of what the code is doing, for instance,
what are the requests in ATT and how you manage the bt_att_req in use
for each connection.
|
By
Von Dentz, Luiz <luiz.von.dentz@...>
·
#4725
·
|
|
Re: Mbedtls_pk_verify error
Thanks for you answer me. I followed your tips and corrected that problems and I resolved to simplify the code removing the server side and letting just application working. But the problem doesn't
Thanks for you answer me. I followed your tips and corrected that problems and I resolved to simplify the code removing the server side and letting just application working. But the problem doesn't
|
By
christian tavares
·
#4724
·
|