Good afternoon,
I am using the Bluedroid stack with ESP-IDF 5.0 in order to work on BLE.
I have an Esp32-S3-DevKitC-1 Client board with a Client Firmware and an ESP32-S3-DevKitC-1 Server board with a Server Firmware.
I would like to send a file from the Client board to the Server Board using BLE. So when I press a button on the Client board,
the Client manages to :
1) Connect to the Server Board.
2) Find the Services and Characteristics.
3) Negociate the MTU 255.
4) Negociate the connection parameters (The Interval is approximatively 1s for the tests).
5) Open a file and send it chunck by chunk (depending on the MTU size).
At the moment I can see something that I don't explain.
When the Client board is writing th server characteristic in order to send a chunck a the file, I can see the following events on the server side :
1) TaskBluetooth : gatts_profile_event_handler : ESP_GATTS_WRITE_EVT => Here I know that the server has received the frame.
2) TaskBluetooth : gatts_profile_event_handler : ESP_GATTS_CONF_EVT, status = 0, attr_handle 52.
3) TaskBluetooth : gatts_profile_event_handler : ESP_GATTS_EXEC_WRITE_EVT.
4) TaskBluetooth : gatts_profile_event_handler : ESP_GATTS_WRITE_EVT - F_UPLOAD Size250.
5) TaskBluetooth : gatts_profile_event_handler : ESP_GATTS_CONF_EVT, status = 0, attr_handle 52.
6) TaskBluetooth : gatts_profile_event_handler : ESP_GATTS_EXEC_WRITE_EVT.
I cannot explain the ESP_GATTS_CONF_EVT and the ESP_GATTS_EXEC_WRITE_EVT events between the ESP_GATTS_WRITE_EVT event. Could you please help me on the subject ? Do you know why I can see these events ???
Best regards,
Thomas TRUILHE
ESP32S3-WROOM1 Module : Bluedroid - Question concerning the BLE events.
-
- Posts: 229
- Joined: Thu Jul 14, 2022 5:15 am
Who is online
Users browsing this forum: Baidu [Spider], MicroController and 69 guests