2017-07-26 02:35 AM
Dear All,
I'm using BLUENRG-1 working on a beacon project.
And the problem for me is that can bluenrg-1 advertising after connect by APP or phone?
Base on BlueNRG-1_2 DK 2.5.0.
As follow steps I try:
1. set 'undirected scannable and connectable '
aci_gap_set_discoverable(ADV_IND, 800, 1600, PUBLIC_ADDR, NO_WHITE_LIST_USE,
0, NULL, 0, NULL, 0, 0);2. while connected, in hci_le_connection_complete_event,
set discoverable = 'scannable non connectable'
aci_gap_set_discoverable(ADV_SCAN_IND, 0, 0, PUBLIC_ADDR, NO_WHITE_LIST_USE,
0, NULL, 0, NULL, 0, 0);And I get an error: 0x0c = ERR_COMMAND_DISALLOWED
Is bluenrg-1 not support advertising mode after connection? Or there's some missing steps for my code?
if not support this work mode now, there's any plan to support this?
There's reasonable for beacon that can still advertising while connected .
Can any one give me some usefull information?
Thanks!
#bluenrg-1