samples: bluetooth: peripheral_identity: Restart adv on failed conn
If connection is failed to establish, the sample will get stuck
eventually and won't do anything while it could re-start advertiser to
try establish a connection again.
This commit makes the sample restart the advertuser if such issue
happens.
Signed-off-by:
Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
Loading
Please sign in to comment