2020-03-04 04:57 AM
I have successfully configuration P-NULCEO-WB55 as central(beacon observer) device using \STM32Cube_FW_WB_V1.4.0\Projects\P-NUCLEO-WB55.Nucleo\Applications\BLE\BLE_p2pClient example. ACI_GAP_START_GENERAL_DISCOVERY_PROC event ends after 10 seconds. Is there any way to reduce this 10 seconds time?
2020-11-08 10:51 PM
@Shubham Trivedi
problem statement- need continuous scanning until device is not connected to the server for this, start scanning using function aci_gap_start_general_discovery_proc(0x320, 0x320, 0X00, 1) who stop scanning process after 10.25 seconds, to restart general scanning process if device is not connected with server call function aci_gap_start_general_discovery_proc() again but -
Problem Is Solved -
call Scan_Request() function in SVCCTL_UserEvtFlowStatus_t SVCCTL_App_Notification( void *pckt ) EVT_BLUE_GAP_PROCEDURE_COMPLETE case .
In this program control not return to the case EVT_BLUE_GAP_PROCEDURE_COMPLETE if device is disconnected with sever.
2020-11-26 08:48 AM
@Aish , your understanding is correct, any connected procedure is assumed to be terminated if a disconnection happens in between. Do you get the DISCONNECTED event when the aci_gap_start_general_discovery_proc is running ?
2023-10-31 11:57 PM
Hi,
I want to use my NECLEOWB55 as a central scanning device, I am setting the WPAN configuration as P2P server client mode. in the Scan_Request function I am getting 0x00 out of the aci_gap_start_general_discovry_proc() function now how I can get the scanning result. and how to deal with the aci_gap_complete_event is this a function that require parameters and is there any examples of using this function ?