BlueNRG Set_Scan_Parameters not recognized
Hi,
I'm interface the BlueNRG directly (not using the ACI stack), and having problems programming a Central device when trying to configure scan parameters. Here it is my sequence of events and commands:
1) 04 FF 03 01 00 01, BlueNRG ready after reset
2) 01 0C FC 08 00 06 BB 00 00 E1 80 02, Write config. data (BT address) 04 0E 04 01 0C FC 00, Command complete 3) 01 01 FD 00, GATT init 04 0E 04 01 01 FD 00, Command complete 4) 01 8A FC 01 03, GAP init (Role = Central) 04 0E 0A 01 8A FC 00 05 00 06 00 08 00, Command complete & handlers 5) 01 0B 20 07 00 40 00 40 00 00 00, LE Set Scan Parameters (passive scan, interv, wnd) 04 0F 04 01 01 01 0B 20, HCI command unknown (ERROR)I've tried also other LE related commands like LE_Set_Scan_Enable (200C) without success.
I don't want to use instead any discovery procedure that will trigger active scanning. I just want the easiest way to get LE_Advertising_Report from my peripheral using passive scanning
Questions:
- Am I missing something in my sequence of commands? - Or those commands are really not supported even if documentation says the contrary?Any hint will help a lot. Thanks in advance.