How to obtains broadcast packet data

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to obtains broadcast packet data

915 Views
bin_wang
Contributor I

How to obtains broadcast packet data through scanning as much as possible?

Please See Annex for details 

Labels (3)
0 Kudos
1 Reply

832 Views
Sebastian_Del_Rio
NXP Employee
NXP Employee

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:

https://community.nxp.com/docs/DOC-341402 

 

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:

<…\SDK_SDK_2.2.1_FRDM-KW41Z\boards\frdmkw41z\wireless_examples\bluetooth\ble_shell>

 

Please let me know if you need any more information.

 

Best regards,

Sebastian

0 Kudos