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: 1622

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 ...
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: 1622

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: 5
Views: 5273

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 ...
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: 5
Views: 5273

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 ...
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: 5
Views: 5273

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 ...
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: 5
Views: 5273

"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 ...

Go to advanced search