Search found 13 matches

by Anh-Minh
Fri Jul 27, 2018 8:40 am
Forum: General Discussion
Topic: Using whitelist with resolvable random address
Replies: 6
Views: 9398

Re: Using whitelist with resolvable random address

hassan789 wrote:You can see the UUID on scanning, just like you can see the mac.
Yes, but i want to filter my advertising from the server side, and not my scanning.
by Anh-Minh
Wed Jul 25, 2018 1:11 pm
Forum: General Discussion
Topic: Using whitelist with resolvable random address
Replies: 6
Views: 9398

Re: Using whitelist with resolvable random address

why can't you whitelist a custom UUID?
I didn't know it was possible ? How can i do that ?
by Anh-Minh
Tue Jul 24, 2018 8:39 am
Forum: General Discussion
Topic: Using whitelist with resolvable random address
Replies: 6
Views: 9398

Using whitelist with resolvable random address

Hello, I am working on a BLE device ( ESP32 ) with a pairing process, which allows only previously bonded device to connect back using C++ BLE library. For that, i use whitelisting to memorize the address, and only advertise to these addresses. The problem i have, is that the address of Android and ...
by Anh-Minh
Mon Jun 25, 2018 11:19 am
Forum: General Discussion
Topic: BLE Advertising non discoverable mode / directed connectable mode
Replies: 0
Views: 2802

BLE Advertising non discoverable mode / directed connectable mode

Hi, I am actually using BLE with ESP32 to interact between an application and a server, and i am working with the nkolban C++ library. I want the peripheral device be in discoverable mode before bonding with a central device, but then go into non-discoverable mode after the initial bonding, to have ...
by Anh-Minh
Tue Jun 12, 2018 2:25 pm
Forum: General Discussion
Topic: Sending and receving data with a minimal latency with BLE
Replies: 6
Views: 13235

Re: Sending and receving data with a minimal latency with BLE

Ok, i will try to use these functions. I am currently using C++ BLE by Kolban to work with BLE, where should i call these functions ?
by Anh-Minh
Tue Jun 12, 2018 9:32 am
Forum: General Discussion
Topic: Sending and receving data with a minimal latency with BLE
Replies: 6
Views: 13235

Sending and receving data with a minimal latency with BLE

Hi everybody, I am currently working on a project in which i want to control a device from an app ( for example, control the gain of a sound, by moving a slider ) with BLE. To do this, the app and the device has both their own characteristic, and they will send a command/answer by writing on these c...
by Anh-Minh
Fri Jun 01, 2018 8:54 am
Forum: General Discussion
Topic: Can't connect a BLE Client to a BLE Server when changing server name
Replies: 2
Views: 4829

Re: Can't connect a BLE Client to a BLE Server when changing server name

Its happening because advertising packet cant be longer than 31 bytes. When you are advertising 128 bit UUID there is not much space left for device name. With name up to 5 chars it works, but with longer it wont because UUID is no included in advertising due to packet limitations. Oh ok, i underst...
by Anh-Minh
Thu May 31, 2018 12:37 pm
Forum: General Discussion
Topic: Can't connect a BLE Client to a BLE Server when changing server name
Replies: 2
Views: 4829

Can't connect a BLE Client to a BLE Server when changing server name

Hi, I have some issues trying to connect a ESP32 Client to another ESP32 Server using BLE C++, with SampleClient and SampleServer : With basic programs, when i run the application on both ESP32, it works well, and the Client can connect to the Server, and then, the server characteristic is written. ...
by Anh-Minh
Tue May 22, 2018 8:29 am
Forum: General Discussion
Topic: Sending more than 20 bytes with BLE
Replies: 15
Views: 33263

Re: Sending more than 20 bytes with BLE

Ble has this limit, but you treat the long messages as several messages within the limit, dividing them when sending and joining them when receiving by yourself :-) What I do to work with larger messages: - All messages (mobile and esp32) ends with a specific character (in my case \n) - On Android ...
by Anh-Minh
Fri May 18, 2018 8:59 am
Forum: General Discussion
Topic: Sending more than 20 bytes with BLE
Replies: 15
Views: 33263

Re: Sending more than 20 bytes with BLE

Unless you dont need to send messages longer than about 500-512 bytes you dont have to worry, library will take care of it (have not tested longer messages). Messages longer than mtu are fragmented/defragmented, the issue is with notifications/indications. Those messages are truncated to (mtu - 3) ...