ESP32 RAW advertising data
Posted: Mon Apr 23, 2018 1:29 pm
Hi,
Is it possible to use an ESP32 to scan and gather raw advertising data?
At this moment i use a raspberry pi with HCIDUMP -Rx to get the following data;
> 0000: 04 3e 2b 02 01 00 00 84 34 49 0e f0 ec 1f 02 01 .>+.....4I......
0010: 06 0f 09 41 69 72 20 4d 65 6e 74 6f 72 20 50 72 ...Air Mentor Pr
0020: 6f 0b ff 12 21 00 8a 1a df 39 20 00 16 d8 o...!....9 ...
> 0000: 04 3e 0f 02 01 04 00 84 34 49 0e f0 ec 03 02 0a .>......4I......
0010: 00 c9 ..
> 0000: 04 3e 2b 02 01 00 00 84 34 49 0e f0 ec 1f 02 01 .>+.....4I......
0010: 06 0f 09 41 69 72 20 4d 65 6e 74 6f 72 20 50 72 ...Air Mentor Pr
0020: 6f 0b ff 12 21 00 8a 1a df 39 20 00 16 c4 o...!....9 ...
> 0000: 04 3e 0f 02 01 04 00 84 34 49 0e f0 ec 03 02 0a .>......4I......
0010: 00 c4 ..
I would like to store this raw BLE advertising data in a database.
The data is from a Air Mentor Pro and contains PM2.5,PM10,CO2,TVOC, TEMP and humidity data.
Is there an example program to scan for raw data?
Kindly regards Han
Is it possible to use an ESP32 to scan and gather raw advertising data?
At this moment i use a raspberry pi with HCIDUMP -Rx to get the following data;
> 0000: 04 3e 2b 02 01 00 00 84 34 49 0e f0 ec 1f 02 01 .>+.....4I......
0010: 06 0f 09 41 69 72 20 4d 65 6e 74 6f 72 20 50 72 ...Air Mentor Pr
0020: 6f 0b ff 12 21 00 8a 1a df 39 20 00 16 d8 o...!....9 ...
> 0000: 04 3e 0f 02 01 04 00 84 34 49 0e f0 ec 03 02 0a .>......4I......
0010: 00 c9 ..
> 0000: 04 3e 2b 02 01 00 00 84 34 49 0e f0 ec 1f 02 01 .>+.....4I......
0010: 06 0f 09 41 69 72 20 4d 65 6e 74 6f 72 20 50 72 ...Air Mentor Pr
0020: 6f 0b ff 12 21 00 8a 1a df 39 20 00 16 c4 o...!....9 ...
> 0000: 04 3e 0f 02 01 04 00 84 34 49 0e f0 ec 03 02 0a .>......4I......
0010: 00 c4 ..
I would like to store this raw BLE advertising data in a database.
The data is from a Air Mentor Pro and contains PM2.5,PM10,CO2,TVOC, TEMP and humidity data.
Is there an example program to scan for raw data?
Kindly regards Han