Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


simultaneously master&slave BlueNRG-MS problem

Good afternoon,

I am currently working on a project where I need to have a board that act as a master|slave simultaneously using bluenrg-ms. I am following the pseudocode given by the following programming guidelines in part 3.10: http://www.st.com/content/ccc/resource/technical/document/programming_manual/1c/7e/d3/a6/d0/52/4a/35/DM00141271.pdf/files/DM00141271.pdf/jcr:content/translations/en.DM00141271.pdfQuestion
I already succeded to connect my board to a slave board but when I try to set it discoverable, the aci_gap_set_discoverable() returns an error value ERR_COMMAND_DISALLOWED (0x0C). I put the role of the board to GAP_PERIPHERAL_ROLE | GAP_CENTRAL_ROLE and changed the stack mode to 0x03 (simultaneously master|slave) as written in the guidelines.

Everything is working fine, only thing is that the board can’t be set discoverable.

Anyone already had this problem?

Best regards,

Nicolas Rabany