GithubHelp home page GithubHelp logo

lunokjod / watch Goto Github PK

View Code? Open in Web Editor NEW
30.0 9.0 4.0 20.22 MB

lunokWatch (lilygo twatch2020 series)

License: GNU General Public License v3.0

C++ 59.71% Python 0.91% C 39.38%
ble esp32 esp32-arduino handwriting-recognition lilygo nvs ota-update spiffs wifi cpp11

watch's People

Contributors

hpsaturn avatar lunokjod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

watch's Issues

After erase_flash the player app crashes

Overview

 esp32decode -e firmware.elf 0x40093e3a:0x3ffee2b00x40299cf1:0x3ffee2c0 0x402a0dc6:0x3ffee5d0 0x402a0e02:0x3ffee660 0x40182a31:0x3ffee6a0 0x400df6da:0x3ffee740 0x400edbe8:0x3ffee790 0x400d8ce8:0x3ffee7c0 0x400d9047:0x3ffee7e0 0x400d3ad1:0x3ffee840 0x402bb473:0x3ffee870 0x402bb4f0:0x3ffee8c0
/builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/machine/xtensa/strlen.S:82
/builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/stdio/vsnprintf.c:70 (discriminator 4)
/builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/stdio/vsnprintf.c:40
/home/avp/.platformio/packages/framework-arduinoespressif32@3.20003.220626/cores/esp32/Print.cpp:55
/home/avp/pio/ttgo/watch/src/app/LogView.cpp:44
/home/avp/pio/ttgo/watch/src/system/Datasources/database.cpp:98 (discriminator 2)
/home/avp/pio/ttgo/watch/src/app/BLEPlayer.cpp:102
/home/avp/pio/ttgo/watch/src/app/BLEPlayer.cpp:150
/home/avp/pio/ttgo/watch/src/UI/UI.cpp:419
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_event/esp_event.c:145
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_event/esp_event.c:115 (discriminator 15)

Details

I did a full erase flash reset to test the last version. The first boot was very clean, without any crash, and only show one time the initial format animation :D, but when you went to navigate into the menu and check the new player app, we have this crash.

Crash on the preview of running tasks

Overview

After open two apps and enter to this section, after some time we have:

The device only has WiFi provisioning, not BLE enable.

[528096451][event] UI: Touchpad long tap
[UI] LunokIoTApplication: 0x3ffb3094 begin
[UI] Application: 0x3ffb3094 'Task switcher' goes to front
[UI] KillApplicationTask: 0x3ffb5714 'Analogic watchface' closing...
[0x3ffb5714]['Analogic watchface'] Watchface is gone
[UI] LunokIoTApplication: 0x3ffb5714 ends
[528543421][lunokIoT] SQL: Time taken: 71842
[528547045][lunokIoT] ESP32: Free stack: 2.52 Kb
[528548537][lunokIoT] ESP32: Internal Free heap: 96.34 Kb
[528548937][lunokIoT] ESP32: Free heap: 3.60 MByte
[528559655][lunokIoT] ESP32: Heap hole: 935.28 Kb
[528560594][lunokIoT] ESP32: Most allocable data: 2.69 MByte (fragmentation: 25.4%)
[528572083][lunokIoT] ESP32: Heap integrity: good
[528572547][lunokIoT] ESP32: Tasks: 15
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x4015bed2  PS      : 0x00060830  A0      : 0x8015bfd0  A1      : 0x3ffe9e70  
A2      : 0x3ffdc22c  A3      : 0x3ffdbff4  A4      : 0x00000004  A5      : 0x00000001  
A6      : 0x3ffdc1e8  A7      : 0x003fffff  A8      : 0x00000001  A9      : 0x00000004  
A10     : 0x01ff0004  A11     : 0x003fffff  A12     : 0x80084ccf  A13     : 0x3ffe9db0  
A14     : 0x007ccee8  A15     : 0x003fffff  SAR     : 0x00000000  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x01ff0004  LBEG    : 0x40092fe4  LEND    : 0x40092ffa  LCOUNT  : 0x00000000  


Backtrace:0x4015becf:0x3ffe9e700x4015bfcd:0x3ffe9ed0 0x400ef4f1:0x3ffe9ef0 0x400ecd83:0x3ffe9f20 0x400ecd97:0x3ffe9f40 0x402b92ff:0x3ffe9f60 0x402b937c:0x3ffe9fb0 
  #0  0x4015becf:0x3ffe9e700 in NimBLECharacteristic::notify(unsigned char const*, unsigned int, bool) at /home/avp/pio/ttgo/watch/.pio/libdeps/Debug-twatch2020_V3/NimBLE-Arduino/src/NimBLECharacteristic.cpp:449




ELF file SHA256: 0000000000000000

Rebooting...
[1080043][lunokIoT] 'компаньон' #24651//S9leI33k5B3lDvkjbY86QZLjS1GYvbyT//

[Feature] Unified listener to watchfaces apps for general tasks

Summary

Understanding the current WatchFace2, that is the main watchface now, it has a lot of code that maybe could be arrive from OS. For instance the Weather processing and its variables could get it from callback of the system, for example from some interface override of ApplicationBase class (LunoIotApplication). In the same way, the services status (WiFi, BLE, Battery and also maybe the time variables). All here in order to have a better alternatives to new watchfaces developers.

Feature and question: Connect to Wifi via built-in keyboard, and Adding unused apps

Summary

Hello, this is a 2 in 1 feature request and usage question.

Feature request:

Hello, i was wondering if you were able to add different methods for connecting to Wifi. I am too lazy to download the companion app, plus i don’t know if it’s available for IOS. My mom might not let me download it to her phone.

If it could it possible to add a basic keyboard or even a slider with letters and numbers, a button to type the character, and an enter button, that would be a big help. Thank you for the help.

Usage question:

Hello, i see many different apps in the source code that aren’t being used or added to any menus in any way. I was wondering if it would be possible for me to add them myself and which apps i should be careful with in case of bugs. Thank you for your help.

getScreenshot tool is not working

Overview

After launch the tool it freeze on:

Log output

INFO:root:Receiver set up
INFO:root:Trying to connect with 94:B5:55:C8:E0:2A: lunokIoT_e02a
INFO:root:Device 94:B5:55:C8:E0:2A connected
INFO:root:Found write characteristic 6e400002-b5a3-f393-e0a9-e50e24dcca9e (H. 34)
INFO:root:Found notify characteristic 6e400003-b5a3-f393-e0a9-e50e24dcca9e (H. 31)
Downloading screenshoot (this may take a long time)...
WARNING:root:Device 94:B5:55:C8:E0:2A disconnected
INFO:root:Stopping Bluetooth event loop
Downloaded data: 0  byte
Uncompressed data: 0  byte
(penv) (av/square_watchface) avp:tool$ python3 getScreenshoot.py 
Searching for lunokIoT device...
Found at:  94:B5:55:C8:E0:2A
INFO:root:Receiver set up
INFO:root:Trying to connect with 94:B5:55:C8:E0:2A: lunokIoT_e02a
INFO:root:Device 94:B5:55:C8:E0:2A connected
INFO:root:Found write characteristic 6e400002-b5a3-f393-e0a9-e50e24dcca9e (H. 34)
INFO:root:Found notify characteristic 6e400003-b5a3-f393-e0a9-e50e24dcca9e (H. 31)
Downloading screenshoot (this may take a long time)...

Navigation flow into menu

Summary

Add the possibility to return to previous menu item on settings and apps. For examples is very hard configure some settings at the same time, because all time for each setting you need return to beginning.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.