Search found 2 matches

by sammaeliv
Mon Aug 10, 2020 6:09 am
Forum: General Discussion
Topic: How to reinitialize BLE?
Replies: 5
Views: 9736

Re: How to reinitialize BLE?

im looking for the same thing i was able to stop ble to send http info so now i cant turn on ble again ...

i use this

[Codebox]
esp_bluedroid_disable();
esp_bluedroid_deinit();
esp_bt_controller_disable();
esp_bt_controller_deinit();
[/Codebox]
by sammaeliv
Mon Aug 10, 2020 4:33 am
Forum: ESP32 Arduino
Topic: Working With Wifi and BLE (Problem)
Replies: 3
Views: 6861

Working With Wifi and BLE (Problem)

#include <BLEAdvertisedDevice.h> #include <BLEDevice.h> #include <BLEScan.h> #include <WiFi.h> #include <FirebaseESP32.h> #define WIFI_SSID "SSID" #define WIFI_PASSWORD "PASS" #define FIREBASE_HOST "URL" #define FIREBASE_AUTH "SECTREC" FirebaseData firebaseData; FirebaseJson json; void setup() { BL...