B4R Question Error when using rESP32Bluetooth and rESP8266Wifi at the same time

sasetcolombia

Member
Licensed User
Longtime User
The Bluetooth and Wi-Fi connection works correctly when used independently, but trying to use both connections in the same project generates the error that is attached in the text file.
What is the solution?
 

Attachments

  • reSP32Bluetooth-rESP8266Wifi.jpg
    86.5 KB · Views: 243
  • LogBluetoothWifieSP32.txt
    52.1 KB · Views: 234
  • error.jpg
    123.6 KB · Views: 222

viriato

Member
Licensed User
Longtime User
 
Upvote 0

rodmcm

Active Member
Licensed User
Yes, I agree that this assists with getting both programs into the esp32, but have u run BT and WIFI at the same time using this
 
Upvote 0

viriato

Member
Licensed User
Longtime User
Yes, I have both working at the same time.
I can receive from BT and send to Wifi and reverse
 
Upvote 0

viriato

Member
Licensed User
Longtime User
I keep both connection active all the time and they are completely independent.
If needed i can extract part of the code and post an example.
 
Upvote 0

viriato

Member
Licensed User
Longtime User
Hi,
This example show the communication between ESP-32 using Bluetooth and Wi-Fi connection (on MQTT) at the same time
The command received from Bluetooth is executed EX: ("ADC" read analog input A0) and ("S13" , "R13" set and reset GPIO13)
The result of ADC measurement is sent to Bluetooth and Wi-Fi at the same time if available
This is extracted from a full application managing garage door , driving motor Close/Open, partial Open , detect if door is open/close
Read garage temperature and humidity ,detect if car is on garage spot.

 

Attachments

  • ESP32-BT - Wifi.zip
    2.5 KB · Views: 233
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…