Hi everybody
I try to reinitialize the Advertising with new parameters after a finished advertising. For example use directed mode, change advertising data and so on. But all I get for the second advertisement is a BLE_GAP_EVT_TIMEOUT with the following source BLE_GAP_TIMEOUT_SRC_ADVERTISING.
I use the Nordic Advertising Module.
Is there any possibility to tear down the whole BLE stack somehow and reinitialize it? My initialization looks like that so far:
InitPeerManager(eraseBonds);
InitGap(deviceName);
InitServices();
InitAdvertising(deviceName, directMode);
StartAdvertisment();
Any help would be highly appreciated.