Coder Social home page Coder Social logo

libresolar / esp32-edge-firmware Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 12.0 803 KB

Firmware for CAN/UART to WiFi/BLE gateway using ESP32

License: Apache License 2.0

C 68.01% CMake 0.86% JavaScript 3.99% HTML 0.41% Vue 20.25% C++ 6.48%
esp-idf libre-solar-devices platformio thingset-protocol

esp32-edge-firmware's People

Contributors

dependabot[bot] avatar gretel5x avatar jalinei avatar martinjaeger avatar rbtnx avatar tobiasfrahm 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

Watchers

 avatar  avatar  avatar  avatar  avatar

esp32-edge-firmware's Issues

GET handler

Write handler to create endpoints for GET requests.

A user (ie. a web app) should be able to get a response when requesting endpoints matching the thingset data structure. A successful request means that the endpoint exists (ie. /data/output/Bat_V or /pub/Bat_A). With a successful request the user should receive a json response, otherwise a 40x status code.

Introduce ports to handle tasks like device scan in a generic way

Currently there are special functions to scan for devices on serial and can ports. In my case the devices are connected by SPI. So I would have to add another special function and do some code duplication.

Instead introduce ports that have general functions to scan for devices that are connected to the ports and also for other functions. The ports may be modeled (similar to devices) with a generic structure that can be filled with the the special functions for a specific type of port. The structure should ideally be constant to not consume precious RAM in constrained devices.

The concept of port may be not only applied to downstream links but also to upstream links.

Implement UART ThingSet client

Basic driver is implemented.
The server needs to have access to Thingset data. First step is implementing reading text mode serial data.

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.