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.pdf
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