Code Monkey home page Code Monkey logo

iothublib's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently working on a news reliability analysis service
  • ๐ŸŒฑ Iโ€™m currently learning Dart + Flutter, Spring, Nest, Unity 3D
  • ๐Ÿ’ฌ Ask me about architecture, datastructures, AWS infrustructure, devops.
  • Looking to collaborate on open source VR projects.
  • ๐Ÿ“ซ How to reach me: email in my profile
  • ๐Ÿ’– My favorite tools/frameworks:
    • FE: VueJs (w/typescript)
    • BE: Spring Boot (w/kotlin), Symfony, NestJS
    • DevOps: Terraform, CircleCI

iothublib's People

Contributors

nixes avatar per1234 avatar

Watchers

 avatar  avatar

Forkers

seco

iothublib's Issues

overread of sensor ids

Read from eeprom into sensor_ids: 57b6ee6696069f5c1384272957b6ee6696069f5c1384272a
Read from eeprom into sensor_ids: 57b6ee6696069f5c1384272a

could probably fix by just reading as one big block into multidimensional array

latest code is very crashy

Seems to only happen when something is routed.

Reset codes provide no help.
Maybe I'm not yielding enough?

How to allow multiple actors with different state types?

Some ideas so far:

  • Have a separate array for each type of actor struct and have an actor struct for each type,
  • Have the state actually be a json object and the callback function decides what to do with it.
  • Do some crazy templating so we can determine type at compile time (but this would allow only actors of the same type)

better look after eeprom, reduce unnecessary writes / clearings

Specific circumstances:

  • If server 404's and only one nodes registration fails continuously. Then the working nodes id will constantly get overridden.
  • Clearing of first boot bit when node is not recognised by server and registration succeeded anyway.

get actor side restful api functional

Currently trying to use aWOT for a nice api router interface but bumping into problems using class state from within callbacks.

Solutions I can think of include, overloads for non-static class methods. Or the addition of an option to pass pointers to internal objects through the route interface. The final option I can think of is the use of global variables to store sensor and actor objects, and the reading of state from within the router callbacks.

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.