Search found 801 matches

by chegewara
Tue Sep 17, 2019 8:37 pm
Forum: ESP32 Arduino
Topic: Server versus Client Connect and Disconnect Callbacks
Replies: 8
Views: 592

Re: Server versus Client Connect and Disconnect Callbacks

I just saw your reply. Not getting emails for some reason. Anyway, I am not sure what you want me to try. You just show 2 files that are very different. What do you mean by "try to add here" "this same code"? I don't see anything highlighted to add or move from one file to the other. Hi, Sorry it s...
by chegewara
Sat Sep 14, 2019 7:14 am
Forum: ESP-IDF 中文讨论版
Topic: esp_ble_gattc_write_char_descr error错误
Replies: 2
Views: 347

Re: esp_ble_gattc_write_char_descr error错误

Code: Select all

esp_ble_gattc_write_char_descr, the l2cap chanel is congest
Try to add small delay before it.
by chegewara
Wed Sep 11, 2019 4:43 pm
Forum: ESP32 IDF
Topic: wifi / mqtt instability
Replies: 3
Views: 142

Re: wifi / mqtt instability

BLE and wifi are using the same radio. You need to change ble scan window and interval to give more radio time to wifi or stop scanning when publish mqtt data.
by chegewara
Wed Sep 11, 2019 10:42 am
Forum: ESP32 IDF
Topic: BLE server and client coexistance
Replies: 4
Views: 167

Re: BLE server and client coexistance

Yes, you have to filter every event by gatt_if and conn_id.
by chegewara
Tue Sep 10, 2019 11:45 am
Forum: ESP32 IDF
Topic: BLE disconnection: cif=3 connected=0 conn_id=3 reason=0x0013
Replies: 4
Views: 176

Re: BLE disconnection: cif=3 connected=0 conn_id=3 reason=0x0013

Based on your earlier description I thought it may be problem with connection parameters update, which device may not accept and disconnecting. After reading your last update I am starting to think you are trying to connect esp32 and android device at the same time to peripheral that can use/handle ...
by chegewara
Tue Sep 10, 2019 11:38 am
Forum: ESP32 IDF
Topic: BLE server and client coexistance
Replies: 4
Views: 167

Re: BLE server and client coexistance

Yes, it is possible.
by chegewara
Sat Sep 07, 2019 6:45 pm
Forum: ESP32 Arduino
Topic: Server versus Client Connect and Disconnect Callbacks
Replies: 8
Views: 592

Re: Server versus Client Connect and Disconnect Callbacks

You can add in your code callbacks that will be triggered on every bluedroid event unchanged. This way you can try to see if original (not Kolbans library) disconnect events are triggered for gattc and gatts and see what parameters are passed, especially gattc_if/gatts_if and param->conn_id: https:/...
by chegewara
Fri Sep 06, 2019 12:49 pm
Forum: ESP32 Arduino
Topic: Server versus Client Connect and Disconnect Callbacks
Replies: 8
Views: 592

Re: Server versus Client Connect and Disconnect Callbacks

Recently I saw few similar questions and looks like it is bug in library. I will try to check it when i have some time.
by chegewara
Fri Sep 06, 2019 12:44 pm
Forum: ESP32 IDF
Topic: Change BLE default MTU for iOS application
Replies: 4
Views: 229

Re: Change BLE default MTU for iOS application

newsettler_AI, 180 was just example value. You are getting those warnings because your message is longer and can't be sent in notifications/indications. Also you have to remember that notifications/indications max length is MTU - 3.

Go to advanced search