How to obtains broadcast packet data through scanning as much as possible?
Please See Annex for details
Hi Bin Wang, I hope you're doing well!
To continuously scan for information, you can use a beacon scanner. There's a document on the community which can help setup a scanner for different types of beacons:
[KW41Z] Implementing Beacon Scanner
A beacon scanner can look for a specific type of beacon, and save the information being emitted by the beacon devices, and then stored or processed.
Also, could you please take a look at the BLE Central device examples? Some of them set the device in such a way so that it continuously scans for advertising devices, instead of waiting a determined time. This is achieved by setting the scan interval and scan window to the same value, so that there's no amount of time during which the device is not scanning on an advertising channel.
A good example to test this is the ble_shell, which you make reference to in your image. This example can accept a gap scanstart command to initiate a continuous scan for a certain amount of time.
This example can be found in the SDK, in the following path:
Please let me know if you need any more information.
Retrieving data ...