Ask Your Question

When I work with BLE sniffer can I use filters by advertising data?

asked 2018-10-18 10:23:23 +0000

rakhlingm gravatar image

When I work with BLE sniffer can I use filters by advertising data?

edit retag flag offensive close merge delete


This depends on which advertising data you want to filter on. Wireshark supports generic types but not many manufacturer specific types. Can you tell more which types you have?

Stig gravatar imageStig ( 2018-10-18 11:42:03 +0000 )edit

Thanks! For example in my MPA in use ALT-BEACON. Advertising data:

 Beacon beacon = new Beacon.Builder()
                .setId1("12345678-0000-0000-0000-00004d504132")   // 31 - MPA1 (Samsung); 32 - MPA2 (LG)
                .setDataFields(Arrays.asList(new Long[]{0l}))
        BeaconParser beaconParser = new BeaconParser()
        beaconTransmitter = new BeaconTransmitter(getApplicationContext(), beaconParser);

Can I use filter by part of Advertising data: ... xxx.contains("12345678")?

rakhlingm gravatar imagerakhlingm ( 2018-10-21 11:06:29 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-11-26 20:22:29 +0000


You can try something like this:[0:2] == 00:83

this will match first two octets - [start octet:length] of the AD Structure data

You can also try :

frame[14:2] == 00:83
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-10-18 10:23:23 +0000

Seen: 700 times

Last updated: Nov 26 '18