Page 1 of 1

How can scan particular BLE devices?

Posted: Mon Jan 01, 2018 11:29 am
by kishan patel
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.

Re: How can scan particular BLE devices?

Posted: Mon Jan 01, 2018 11:26 pm
by kolban
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.

Re: How can scan particular BLE devices?

Posted: Tue Jan 02, 2018 2:58 pm
by kurtzweber
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...

Re: How can scan particular BLE devices?

Posted: Tue Jan 02, 2018 8:48 pm
by hassan789
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

Re: How can scan particular BLE devices?

Posted: Thu Jan 04, 2018 5:34 am
by kishan patel
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.

Re: How can scan particular BLE devices?

Posted: Thu Jan 04, 2018 5:52 am
by chegewara
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.

Re: How can scan particular BLE devices?

Posted: Mon Jan 08, 2018 10:24 am
by kishan patel
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.

Re: How can scan particular BLE devices?

Posted: Mon Jan 08, 2018 3:25 pm
by WiFive
Yes write code to scan ble with specific UUID.

UUID was seen in product description on AliExpress.

Re: How can scan particular BLE devices?

Posted: Tue Jan 09, 2018 9:42 am
by hiren_kumbhare
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