I'm programming my ESP32 with the ArduinoIDE and have a problem with HTTP GET. What I'm doing:
- the ESP32 connects as WiFi client to an existing WiFi network using a static, fixed IP
- a webserver is started which provides a webpage for OTA firmware update -> this works, the webpage is accessible ...
Search found 14 matches
- Mon May 18, 2020 1:33 pm
- Forum: ESP32 Arduino
- Topic: HttpClient.get() fails with -1
- Replies: 1
- Views: 5532
- Tue Feb 25, 2020 6:47 pm
- Forum: General Discussion
- Topic: BLEScan crashes whole ESP32 on second call
- Replies: 0
- Views: 3473
BLEScan crashes whole ESP32 on second call
I make use of following code to scan for Bluetooth-devices:
BLEDevice::init("");
pBLEScan = BLEDevice::getScan(); //create new scan
if (pBLEScan)
{
pBLEScan->setAdvertisedDeviceCallbacks(new MyAdvertisedDeviceCallbacks());
pBLEScan->setActiveScan(true); //set passive scan; active scan uses ...
BLEDevice::init("");
pBLEScan = BLEDevice::getScan(); //create new scan
if (pBLEScan)
{
pBLEScan->setAdvertisedDeviceCallbacks(new MyAdvertisedDeviceCallbacks());
pBLEScan->setActiveScan(true); //set passive scan; active scan uses ...
- Thu Feb 06, 2020 6:39 pm
- Forum: General Discussion
- Topic: BLE: Change advertised name during runtime?
- Replies: 3
- Views: 11851
Re: BLE: Change advertised name during runtime?
Works - thank you very much 
- Thu Jan 16, 2020 8:59 am
- Forum: General Discussion
- Topic: BLE: Change advertised name during runtime?
- Replies: 3
- Views: 11851
BLE: Change advertised name during runtime?
Hi,
as one can see in many examples (like e.g. the one from https://sourceforge.net/p/iot-leaf/code/ci/master/tree/BleDHT22/BleDHT22.ino ), the advertised name of a BLE-server typically is set up once during initialisation via a call BLEDevice::init().
Now for my application I want to change it ...
as one can see in many examples (like e.g. the one from https://sourceforge.net/p/iot-leaf/code/ci/master/tree/BleDHT22/BleDHT22.ino ), the advertised name of a BLE-server typically is set up once during initialisation via a call BLEDevice::init().
Now for my application I want to change it ...
- Sun Dec 29, 2019 2:28 pm
- Forum: ESP32 Arduino
- Topic: ESP32 as WiFi access point crashes on connection
- Replies: 3
- Views: 8047
Re: ESP32 as WiFi access point crashes on connection
The whole code is way too big. What is shown above is the complete Wifi initialisation. Beside of that there is a webserver bound to this IP:
#include <WebServer.h>
server.on("/",eventIndex);
server.on("/woff.html",eventWoff);
server.on("/graph.svg",drawGraph);
server.on("/graphL.svg ...
#include <WebServer.h>
server.on("/",eventIndex);
server.on("/woff.html",eventWoff);
server.on("/graph.svg",drawGraph);
server.on("/graphL.svg ...
- Fri Dec 27, 2019 4:11 pm
- Forum: ESP32 Arduino
- Topic: ESP32 as WiFi access point crashes on connection
- Replies: 3
- Views: 8047
ESP32 as WiFi access point crashes on connection
I'm programming an ESP32 via ArduinoIDE and stumble upon a strange problem. It operates as WiFi access point, the code is quite simple and straight-forward:
IPAddress apIP(192,168,1,1);
WiFi.mode(WIFI_AP);
WiFi.softAP("MyESP32");
WiFi.softAPConfig(apIP,apIP,IPAddress(255,255,255,0));
Now when a ...
IPAddress apIP(192,168,1,1);
WiFi.mode(WIFI_AP);
WiFi.softAP("MyESP32");
WiFi.softAPConfig(apIP,apIP,IPAddress(255,255,255,0));
Now when a ...
- Fri Jul 05, 2019 5:36 am
- Forum: Showcase
- Topic: ESP32 Board with solar, battery, LoRaWAN and GPS
- Replies: 2
- Views: 8342
Re: ESP32 Board with solar, battery, LoRaWAN and GPS
I would prefer to combine this handgenerator with a battery too
- Thu Jul 04, 2019 6:42 am
- Forum: ESP32 Arduino
- Topic: ESP32 and solar cells
- Replies: 5
- Views: 12198
Re: ESP32 and solar cells
...or use this solution here: viewtopic.php?f=17&t=11270
- Mon Jul 01, 2019 10:38 am
- Forum: Showcase
- Topic: ESP32 Board with solar, battery, LoRaWAN and GPS
- Replies: 2
- Views: 8342
ESP32 Board with solar, battery, LoRaWAN and GPS
If somebody is interested: these guys here at https://iot.halaser.de offer a ESP32-board which supports power via USB or solar cell, which includes battery charger and deep-discharge protection and is prepared for LoRaWAN and GPS. Seems to be everything that is needed for portable/autonomous ...
- Mon May 20, 2019 6:45 am
- Forum: Hardware
- Topic: Example schematic for ESP32-WROOM?
- Replies: 7
- Views: 42525
Re: Example schematic for ESP32-WROOM?
Great - Thanks!