esp-nimble-cpp
esp-nimble-cpp copied to clipboard
Add onDiscovered scan callback.
This adds a callback that is called when a device is initially discovered. It is always called wether scanning in passive or active mode. This allows for active scanning to receive device detection information in the case where the scan response is not sent/received.
This callback is optional, the application may decide to implement it or not.