Search found 6 matches

by S-Yamamoto
Thu Sep 14, 2023 6:01 am
Forum: General Discussion
Topic: How to read "Write Response" with BLE client?
Replies: 1
Views: 1355

Re: How to read "Write Response" with BLE client?

Hi @Everyone I understand how to read "Write Response" "evtParam->write.status" of "gattClientEventHandler()" becomes the value of "Write Response" I added log_i() to the place marked with "★Added" in the program below and confirmed it. If you know of another method, please let me know. [File] BLERe...
by S-Yamamoto
Thu Sep 14, 2023 3:59 am
Forum: General Discussion
Topic: How to read "Write Response" with BLE client?
Replies: 1
Views: 1355

How to read "Write Response" with BLE client?

Hi @Everyone

I recently started using ESP32.
I'm using Arduino IDE (2.1.1) with ESP32 (2.0.11) installed.
I would like you to help me.

Please tell me how to read "Write Response" with BLE client.
by S-Yamamoto
Thu Sep 07, 2023 6:06 am
Forum: General Discussion
Topic: "BT_APPL: earlier enc was not done for same device" Cause and solution
Replies: 3
Views: 2775

Re: "BT_APPL: earlier enc was not done for same device" Cause and solution

Hi @Everyone I will report it. :D The solution for "E (33524) BT_APPL: No previous enc was run for the same device" was the following steps: [Step 1] pServer = BLEDevice::createServer() [Step 2] Initialize BLE with BLEDevice::init() after BLEDevice::deinit(false) [Step 3] pClient = BLEDevice::create...
by S-Yamamoto
Wed Sep 06, 2023 4:14 am
Forum: General Discussion
Topic: "BT_APPL: earlier enc was not done for same device" Cause and solution
Replies: 3
Views: 2775

Re: "BT_APPL: earlier enc was not done for same device" Cause and solution

Hi @Everyone Help me. I found where the "E (33524) BT_APPL: No previous enc was run for the same device" occurs. This issue occurs when running [1],[2] simultaneously on ESP32 and connecting to a BLE device in client mode ('pClient = BLEDevice::createClient()'). [1]pServer = BLEDevice::createServer(...
by S-Yamamoto
Mon Sep 04, 2023 12:10 am
Forum: General Discussion
Topic: "BT_APPL: earlier enc was not done for same device" Cause and solution
Replies: 3
Views: 2775

Re: "BT_APPL: earlier enc was not done for same device" Cause and solution

Hi @Everyone I found where the "E (33524) BT_APPL: No previous enc was run for the same device" occurs. The issue occurs when connecting to the BLE device in client mode ("pClient = BLEDevice::createClient()") after running "pServer = BLEDevice::createServer()" for ESP32. Running "pServer->disconnec...
by S-Yamamoto
Thu Aug 31, 2023 1:41 am
Forum: General Discussion
Topic: "BT_APPL: earlier enc was not done for same device" Cause and solution
Replies: 3
Views: 2775

"BT_APPL: earlier enc was not done for same device" Cause and solution

Hi @Everyone I recently started using ESP32. I'm using Arduino IDE (2.1.1) with ESP32 (2.0.11) installed. I would like you to help me. I'm using ESP32 on the client. When connecting to a BLE device, the BLE error "E (33524) BT_APPL: earlier enc was not done for same device" occurs. I would like to k...