Comments (4)
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.
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.
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.
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)
- arest.io problem HOT 3
- output pin set to low at startup
- Issue with multiple Custom functions
- Unable to create a new account HOT 2
- Request example sketch for local use of API key HOT 1
- function name gets confused after 6 characters HOT 1
- 'class aREST' has no member named 'get_topic' HOT 3
- Limitations HOT 1
- ethernet_cloud sketch don't run HOT 2
- https://dashboard.arest.io/devices is not providing any way to add devices HOT 1
- Why is support for text and float variables restricted?
- aREST using UIPEthernet stack failed HOT 1
- Multiple warnings ISO C++ forbids converting a string constant to 'char*' [-Write-strings]
- To support Ethernet2.h library, this should be "ethernet_h"
- Does aREST support the Arduino Uno WiFi r2 Board ? HOT 4
- ESP8266WiFi.h: No such file or directory compilation terminated.
- rest.function() bug: command is improperly passed to function
- How to force send a HTTP 200 command in a rest.function
- CONTROLLINO MAXI AUTOMATION WITH AREST
- Freezes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arest.