Search found 19 matches
- Mon Jul 29, 2019 8:48 pm
- Forum: ESP-IDF
- Topic: ESP32 BLe Password Pairing
- Replies: 2
- Views: 10150
Re: ESP32 BLe Password Pairing
Hello, Are you trying to make it so that when you connect to the ESP for the first time, it requests for you to pair your device. Not only that, but it requires a password to pair? This is what you want, right? If so, check out this: Sample code provided by Espressif: https://github.com/espressif/es...
- Mon Jul 29, 2019 8:32 pm
- Forum: ESP-IDF
- Topic: Automatically Reconnect w/Paired Device? esp-idf, BLE (solved)
- Replies: 1
- Views: 6962
Re: Automatically Reconnect w/Paired Device? esp-idf, BLE (solved?)
Hello, It seems this is not done in the ESP firmware, it is done in the phone application code instead. I'm not sure if this is the correct way to do it or if there are more optimal ways, but here's what I did. In your Android phone application, in the line of code that starts the GATT connection fr...
- Mon Jul 29, 2019 5:06 pm
- Forum: ESP-IDF
- Topic: How to disable/enable BLE? esp-idf (solved)
- Replies: 3
- Views: 16020
Re: How to disable/enable BLE? esp-idf
Hello, It took a few tries but I have figured out the proper sequence for enabling/disabling BLE in order to use WiFi. Start the ESP in BLE mode and add a command that will start the WiFi. During WiFi init, do NOT start the WiFi, so don't use wifi_start(). When you call the command to start the wifi...
- Mon Jul 29, 2019 1:55 pm
- Forum: ESP-IDF
- Topic: How to disable/enable BLE? esp-idf (solved)
- Replies: 3
- Views: 16020
Re: How to disable/enable BLE? esp-idf
esp_bluedroid_disable(); esp_bluedroid_deinit(); esp_bt_controller_disable(); esp_bt_controller_deinit(); Hello, Thanks for your reply; I am aware of the commands needed to disable BT. What I am having difficulty is *where* to place this code. Currently, the ESP boots to BLE mode, later I call wifi...
- Thu Jul 25, 2019 4:26 pm
- Forum: ESP-IDF
- Topic: How to disable/enable BLE? esp-idf (solved)
- Replies: 3
- Views: 16020
How to disable/enable BLE? esp-idf (solved)
Hello, In my project I need to use BLE and Wi-Fi. There's only one radio. I want to disable the BLE to use Wi-Fi. After Wi-Fi serves it's purpose, disable Wi-Fi, enable BLE. If user finished using BLE, disable BLE, enable Wi-Fi. So on and so on. I tried using a command which is called FROM GATT (the...
- Tue Jul 16, 2019 2:45 pm
- Forum: ESP-IDF
- Topic: Automatically Reconnect w/Paired Device? esp-idf, BLE (solved)
- Replies: 1
- Views: 6962
Automatically Reconnect w/Paired Device? esp-idf, BLE (solved)
Hello,
I am wondering if it is possible to set up the ESP to automatically reconnect with a paired BLE device if the device comes back into range? I thought I saw a setting to do this but I forgot where I saw it or maybe my memory is playing tricks on me?
I am using ESP-IDF, NO Kolban, NO Arduino
I am wondering if it is possible to set up the ESP to automatically reconnect with a paired BLE device if the device comes back into range? I thought I saw a setting to do this but I forgot where I saw it or maybe my memory is playing tricks on me?
I am using ESP-IDF, NO Kolban, NO Arduino
- Fri Jul 12, 2019 8:24 pm
- Forum: ESP-IDF
- Topic: Question about BLE and Wi-Fi security
- Replies: 3
- Views: 4484
Question about BLE and Wi-Fi security
Hello, I am with project implement BLE and Wi-Fi, I habe question about the security of these two. If I set BLE GAP security to MITM and etc. does the ESP take care of encryption or do I have to call that functionality myself? Same for Wi-Fi, I change to WPA2, does it do that encryption automaticall...
- Fri Jun 21, 2019 7:29 pm
- Forum: ESP-IDF
- Topic: How to receive a byte array via BLE???
- Replies: 3
- Views: 6222
How to receive a byte array via BLE???
Hello, I am working on a project in which I want to do some operations over BLE with a gatt client (smart phone). At some point in operation, the ESP can be sent a string from the android app and then the ESP will do some operations using that string. I am wondering if anyone knows a good method to ...
- Wed Jun 19, 2019 3:30 pm
- Forum: ESP-IDF
- Topic: ESP take turns between BLE and Wi-Fi? esp-idf
- Replies: 4
- Views: 9384
ESP take turns between BLE and Wi-Fi? esp-idf
Hello, I am working on a project in which I want to do some operations over BLE with a gatt client (smart phone). At some point in operation, the ESP can be sent a command to switch to Wi-Fi so it connects to an AP. While it's connected to the AP, the BLE functionality would be disabled. So I am won...