Closed ubx closed 3 years ago
I have the same problem. Here is the output from /dev/ttyUSB0.
▒S▒▒▒▒k▒▒b`▒@Qu▒9▒8▒▒▒▒3r:▒98h OGNB-ESP32 FW.REV: 0.1.0-17 DEV.ID: 9cccd34 Copyright (C) 2020 Manuel Roesel. All rights reserved.
Reset reason: 4 SW_CPU_RESET Free heap size: 213648 Software reset CPU
EEPROM version: 94 SX1262 RFIC is detected. INFO: TTGO T-Beam rev. 08 is detected. Flash memory ID: 684016 INFO: GNSS module HW version: 00040007 INFO: GNSS module FW version: 7.03 (45969) Failed to read file, using default configuration No WiFi connection information available. Hostname: OGNB-cccd34 Wait for WiFi connection. Setting soft-AP configuration ... Ready Setting soft-AP ... Ready IP address: 192.168.1.1 UDP server has started at port: 12389
Hi Andreas, Hi Caz!
Thanks for info! There is an error parsing the json files. Can you test the json file with this online tool?
https://jsonformatter.curiousconcept.com/
I have the same mistake, but unfortunately not always. At the moment I'm still looking for the error.
Manu
The json formatter says: Valid (RFC 8259).
Tested with version 0.1.0-18, the problem persists.
Hi Andreas! Yes, i know.
Can you test please
https://jsonformatter.curiousconcept.com/
and then copy the new formatted json data to the config.json file.
It's a bit of a curious bug. I'm looking, unfortunately I don't always have the error.
Done, the formatter says "Valid (RFC 8259)". Upload Files -> config.json has no effect.
Thanks andreas!
I have found an error! Json buffer to small, if more then one ssid is set. Can you test this image?
Tried but it's not working. It seems somehow everything got messed up. Should I erase the flash memory and upload from scratch? Do you need trace output?
This image delete the file, before uploading.
Yes, maybe its a good idea to erase the esp32 and upload from scratch.
On Linux esptool.py erase_flash
The following procedure always works.
./espressif/esptool/esptool.py erase_flash
# install softrf
# connect SoftRF-XXXXXX, open http://192.168.1.1/
# click firmware update and load ognbase.ino.esp32_XXXXXX.bin.
Hi Manuel
Today I connected the device to my PC and did:
1.erase esp32
Hi Andreas!
Thanks for you report and tests! yes, a config.json upload needs a reboot.
In next version, after uploading config.json the system will reboot automaticly.
Hi Manuel
With the version 0.1.0-17 I'm not able to configure the device via Upload Files with this config.zip file. Is has just no effect. Andreas