Giter Site home page Giter Site logo

dock-software's Introduction

Repo is deprecated

This repo is deprecated as efforts are put into Remote Two and its new software. Find more information about it here: www.yio-remote.com The software made for Remote Two, once released, will be available for the DIY YIO Remote.

There won't be any updates to this repo, but it will stay here on GitHub to be forked and used.


Cross Compile Code Guidelines Build Desktop Apps Config Schema Validation

YIO Remote Software Repository

For details about the YIO Remote Software, please visit our documentation repository which can be found under https://github.com/YIO-Remote/documentation/wiki.

dock-software's People

Contributors

carp3-noctem avatar martonborzak avatar nklerk avatar zehnm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dock-software's Issues

Factory reset. / Vanilla reset.

Describe the solution you'd like
After holding GPIO0 for 5 seconds, both WiFi and LED settings should be whiped.

Describe alternatives you've considered
Current alternative is whiping flash while the dock is connected to your computer and flash it again.

Additional context
Any other form of factory reset are welcome as a discussion.

Place functions in seperate files.

Before you open an issue, please search on the issue tracker if a similar issue already exists or has been closed before.

Expected Behavior or Design

Code should be simple to read. I've allready moved all code into functions but there are many functions.

Current Behavior or Design

Currently almost all functions are stored at main.cpp. Hard to read and dificult to make changes

Possible Solution

Device the functions in seperate .h/.cpp files

Detailed Description and Additional Information

There are some global variables in use that are used by many of the current functions.
To keep the code clean the functions need to be devided in seperate files whiles.

Dock API over USB serial console

Is your feature request related to a problem? Please describe.
While developing the YIO Remote software and dock interactions things usually break or go wrong. I.e. one needs easy access to the involved devices for problem analysis, debugging and re-configuration.

Describe the solution you'd like
I would like to use the USB serial console to issue Dock API calls.

Describe alternatives you've considered

  • Using the BT serial console
    Might not always work if BT isn't able to connect or if the device reboots after a certain event (bug, crash, etc.)
  • Using websocket
    Only usable while the dock is connected to an access point. Might not be usable if there's an issue in the wifi driver. E.g. if it fails to start or hit a bug.

Additional context

  • A serial console is the default and most stable way to interact with embedded devices.
  • At the moment the USB serial console is only used to output debug messages.
  • It would probably make sense for additional API functions to configure the output logging:
    • set log level (e.g. only output errors)
    • enable / disable logging to use the USB serial console as "API console" only without "log message pollution".

Dock hostname shows espressif

Before you open an issue, please search on the issue tracker if a similar issue already exists or has been closed before.

Description

Hostname as reported by inet gateway shows the default name of espressif instead of YIO-Dock-XXXXXX as what is shown during the captive portal.

So, if someone has more than one active dock on their network they share the same hostname.
Also, I believe this is the default hostname assigned by ESP.

MAC Address 4c:11:ae:60:d7:7c
Hostname espressif
IP Address 192.168.160.223
Last Activity Just Now
Uptime 1d 13h 11m 6s

Improve wifi reconnect logic

Description

After the wifi connection is dropped, it will try to reconnect, but then reverts to AP mode.

Expected behavior

If there is a wifi setup, it should keep trying to reconnect.

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.