The GAP_StartScanning call takes a parameter structure, where type can be gScanTypePassive_c or gScanTypeActive_c. If I set the type to gScanTypeActive_c the call returns an error 0x112. Is this not the proper way to put a scan request in?
It should be possible to do active scan like this.
0x112 = gHciInvalidHciCommandParameters_c
It is possible that other parameters are invalid. Could you post all your scan related parameters?
Both of my issues were caused by corrupted nvds flash.