Skip to content

regarding bluetooth data sending (IDFGH-8789) #10221

@beginner140BB

Description

@beginner140BB

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Here i am having an issue of bluetooth data sending, where i am sending the data only based on the bluetooth exists using flag. where the flag is set to high on the event where there connection establishes.

i am settting the flag to high on the events
ESP_SPP_OPEN_EVT
ESP_SPP_SRV_OPEN_EVT
the initiator(or master or client) should check whether there exists a connection and if exists then send data based on the flag.
but its is entering into sniff mode

the below shown is the log
where master tries to send data based on flag

image

while(bBTisConnected) { vTaskDelay(500); if(iSend_data_to_bluetooth("HEYSLAVE")) { printf("okay"); } else { printf("not okay"); } }

where bBTisConnected is high during ESP_SPP_OPEN_EVT on master side.



anyone knows what may be the possible issue

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions