-
Notifications
You must be signed in to change notification settings - Fork 7.6k
WifiBluetoothSwitch.ino bluetooth not ok ? #281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
To flash or download the code in it , press and hold the BOOT button during press one time the EN button, then on the serial port in the monitor under Arduino, it is displayed waiting for download |
In this case, btStart() just "get Bluetooth ready for use" what will not necessarily make it visible to other devices. You can hack it using https://github.com/espressif/arduino-esp32/blob/master/libraries/SimpleBLE/examples/SimpleBleDevice/SimpleBleDevice.ino too, and making visible to your computer/smartphone and other cool things 😄 |
Thanks for your reply, and suggestion, Copercini. Yes, i have seen this example too. I'm trying it, and the serial link looks ok.. But with Pc and Bluetooth, it is not seen it under Pcs.... I'm testing ... also.. looking for more Bluetooth example under this directory https://github.com/espressif/arduino-esp32/tree/master/libraries ...... Best regards |
Arduino IDE still has few examples for BLE. First you have to check if your PC support Bluetooth low energy (BLE), because it's a bit different of classic Bluetooth. |
thanks for your reply, but the ESP32 is not yet supporting the dual mode bluetooth ( Bluetooth 2.0 (3.0 ?) and only Bluetooth smart-low-energy BTLE or BLE now ) ? Question : any timeframe when the "old" bluetooth mode may be in the good on going code ? Thanks Copercini for your answer. |
No timeframe for Classic BlueTooth but it will come. For you to use the current code, you need BLE |
The SimpleBLE sketch won't let other Bluetooth devices discover the ESP32. It could be a bug. |
I tried the simpleBle example on my ESP32 dev board. Compiles fine, flashes fine but not visible on Iphone 6 and Samsung Galaxy S6. Do I need to update some core firmware? |
nicoverduin try using nRF toolbox app to discover the ble ESP32. In the app, use UART mode . |
BLE does not show on the device the same way that classic BT devices do. You need to use some sort of BLE explorer |
Ok, I will try that. I used BLE scanner on my Iphone 6+ but there it did not show up. Then I installed the ESP-IDF environment and took one of the examples. There it did show up on the BLE scanner, but not on the bluetooth scanner through settings. So ther might still be some discrepancy |
Aaahhh sorry. Ble switch just shows how to switch on/off both stacks. It does not actually setup ble to advertise |
Just soldered my ESP32 and was trying out the SimpleBLEDevice sketch. Was surprised to see nothing on my iphone :D. Didn't know that BLE don't show up directly. Finally got around to seeing the device. For those using i-devices, this app is great at discovery and info from BLE devices: "Bluetooth Smart Scanner" by Ace Sensor. (not advertising for them, just tried out a few and saw that this is the best) |
Hello,
thanks for this good example and i success to recompile all of it under Arduino 1.6.13, and using AVRISP mkII programmer mode then upload speed at 115200 for the USB-UART on SIlabs chipset in ESP-32-Wroom-devkitC ..
Just to download the code, i need to press the BOOT button to enter in flashing mode... and wait a little ...
but reset with the EN button, and the serial monitor at 115200 is running nicely...
TEST :
Wifi AP is ok.
WIFI sta may be, i have not yet tried..
Bluetooth and BLE :
But i can not see the device in any bluetooth under PCs or Smartphone...
May be i miss something ... Any idea why and how...
Great job to get both mode at the same time... Keep going...
JP
The text was updated successfully, but these errors were encountered: