Giter Site home page Giter Site logo

Comments (4)

marcoschwartz avatar marcoschwartz commented on September 28, 2024

Hello,

Thanks for using my library! This can be due to many factors. For example if you send commands too quickly without properly reading the answer from the board it will crash for sure. Are you doing some kind of async calls that might be sent to the board in the same time?

from arest.

worldofpayne avatar worldofpayne commented on September 28, 2024

I noticed in your newer examples you removed the wdt library and the associated commands. After doing that the arduino no longer resets however in a way the same problem is there. I find I can spam commands as much as I want with the async commands from my pc but any command from mobile app it will execute the command and then there is 40 to 50 second delay until any more commands will be executed at all. Its hard to know how the phone app is handling answers though since I am using MIT's App inventor website and though I have it set to ignore returned results, again I can't know with that software. I don't know if any reason jumps to mind for this or if there is a way I'm not thinking of to keep it all on track.

from arest.

marcoschwartz avatar marcoschwartz commented on September 28, 2024

Interesting. I don't know much about Android app development (but that's something I want to explore in the future!) but I imagine that the more "basic" the request to the board is, the better for the board and aREST. So I don't know what the MIT inventor app is using, but a simple cURL call should be enough.

from arest.

worldofpayne avatar worldofpayne commented on September 28, 2024

Is there any way to disregard any potentially complex way the get command is implemented from the app inventor on the arduino side and just execute the function and keep things moving as normal afterwards since I can't control how the website does things? Like I said it runs the function immediately, the delay/stall occurs afterwards so it seems like it could be avoided with everything working fine

from arest.

Related Issues (20)

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.