Replies: 1 comment
-
To partially answer my own question I managed to install version 3.1.0 using this command. west init -m https://github.com/zephyrproject-rtos/zephyr --mr v3.1-branch zephyrproject Using that version the mesh/onoff-app worked again. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I messed "something" up in Zephyr and decided to reinstall. Previously I had been using v3.1.99 but the re-install installed v3.2.99 (I can't work out a simple way to install an earlier Zephyr version, is there?)
I've been using the bluetooth mesh example stored under "samples/boards/nrf/mesh/onoff-app" and with v3.1.99 I could get it to work i.e. allowed my to provision the network using the standard nrf52840dk_nrf52840 board. I had made some changes to the prj.conf file specifically to increase stack sizes i.e.
CONFIG_MAIN_STACK_SIZE=5120
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=20480
CONFIG_BT_RX_STACK_SIZE=40960
CONFIG_BT_CTLR_RX_PRIO_STACK_SIZE=10240
(I just multiplied by 10 to get it to work).
It also worked OK on a bbc microbit v2 board.
Now when I build it with v3.2.99 I get these errors and warnings on the terminal output
[00:00:00.030,792] bt_hci_core: bt_hci_cmd_send_sync: opcode 0x2041 status 0x01
[00:00:00.030,792] bt_mesh_adv: bt_mesh_scan_enable: starting scan failed (err -5)
[00:00:00.032,440] bt_adv: bt_le_adv_stop: No valid legacy adv (from adv.c)
[00:00:00.032,562] bt_hci_core: bt_hci_cmd_send_sync: opcode 0x2036 status 0x01
[00:00:00.032,653] bt_adv: bt_le_adv_stop: No valid legacy adv (from adv.c)
[00:00:00.032,745] bt_hci_core: bt_hci_cmd_send_sync: opcode 0x2036 status 0x01
[00:00:00.032,775] bt_mesh_adv_legacy: adv_send: Advertising failed: err -5
[00:00:00.032,928] bt_hci_core: bt_hci_cmd_send_sync: opcode 0x2036 status 0x01
and the node isn't found under nRF Mesh presumably because the advertising has failed.
I'm using a Windows 10 PC and have upgraded from SDK 0.14.2 to 0.15.1.
Also I'm using S140SoftDevice on the nrf52840dk_nrf52840.
Can someone at Nordic see if the the example works for them on their stock nrf52840dk_nrf52840 board under v.3.2.99?
If anybody can advise me what wrong with the advertising that would be great or also how to install v3.1.99 that would also be great. This is for a student project that I'm trying to supervise.
Best wishes,
Jeremy
Beta Was this translation helpful? Give feedback.
All reactions