Hello,
I have scanning BLE tags and its working properly.
But i can detect all Bluettoth devices with pbeacon tags.
If i want to scan only for pBeacon. What should i do?...Any configuration for BLE name?
Please,tell me.
Thanks in advance.
How can scan particular BLE devices?
Re: How can scan particular BLE devices?
Can you elaborate on "pBeacon"? Do you have any links or references to further explain what you mean?
Typically, a BLE device advertises using BLE advertising packets. The content of the packet is under the governance of the BLE server that is transmitting. The content of the packet must adhere to the BLE specifications and can contain fields of pre-defined structures. Those can include the devices name, exposed service UUIDs, manufacturer data and more. There is a limit to the amount of data that can be contained within a single advertisement.
Typically, a BLE device advertises using BLE advertising packets. The content of the packet is under the governance of the BLE server that is transmitting. The content of the packet must adhere to the BLE specifications and can contain fields of pre-defined structures. Those can include the devices name, exposed service UUIDs, manufacturer data and more. There is a limit to the amount of data that can be contained within a single advertisement.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
-
- Posts: 64
- Joined: Tue Jan 10, 2017 1:09 pm
Re: How can scan particular BLE devices?
Hi
don't know what a "pbeacon" is, but if you meant iBeacon, the framework does include an example about how to scan for those devices:
https://github.com/espressif/esp-idf/tr ... le_ibeacon
maybe you can change it to search for "pbeacon" specific advertising data...
don't know what a "pbeacon" is, but if you meant iBeacon, the framework does include an example about how to scan for those devices:
https://github.com/espressif/esp-idf/tr ... le_ibeacon
maybe you can change it to search for "pbeacon" specific advertising data...
Re: How can scan particular BLE devices?
You can filter/scan/connect to particular devices based on:
1. the ble services they are running (uuid filter)
2. based the ble hardware mac
1. the ble services they are running (uuid filter)
2. based the ble hardware mac
-
- Posts: 45
- Joined: Wed Aug 30, 2017 4:56 am
Re: How can scan particular BLE devices?
Hello,
pBeacon is same as iBeacon.
Actually,i can also detect devices whose bluetooth is ON.
So,i have detecting number of extra devices instead of pBeacon's list.
Thanks.
pBeacon is same as iBeacon.
Actually,i can also detect devices whose bluetooth is ON.
So,i have detecting number of extra devices instead of pBeacon's list.
Thanks.
Re: How can scan particular BLE devices?
You can filter all bluetooth le devices and search only those with UUID FDA50693-A4E2-4FB1-AFCF-C6EB07647825, at least this ive found on aliexpress.
-
- Posts: 45
- Joined: Wed Aug 30, 2017 4:56 am
Re: How can scan particular BLE devices?
Hello chegewara,
Thanks. But can you tell me in details.I have not understood about aliexpress.
Means are you talking about product serach or write code to scan ble with specific UUID.
Thanks. But can you tell me in details.I have not understood about aliexpress.
Means are you talking about product serach or write code to scan ble with specific UUID.
Re: How can scan particular BLE devices?
Yes write code to scan ble with specific UUID.
UUID was seen in product description on AliExpress.
UUID was seen in product description on AliExpress.
-
- Posts: 2
- Joined: Mon Jul 03, 2017 8:48 am
Re: How can scan particular BLE devices?
Hello,
Need to know the changes to be made in the code for implementing the same in gatt_client example.
Thanks in Advance
Awaiting for response
Thanks and Regards,
Hiren Kumbhare
Need to know the changes to be made in the code for implementing the same in gatt_client example.
Thanks in Advance
Awaiting for response
Thanks and Regards,
Hiren Kumbhare
Who is online
Users browsing this forum: No registered users and 97 guests