Page 1 of 1

Re: RA* Cloud - mqtt publish commands

Posted: Thu Feb 01, 2018 5:41 pm
by rrodriguess
Tks Roberto it worked!!

Another quick one:

"mb:100:1" --> sets memory location 100 to 1
"mr" --> gets memory location from 200 to 379 (internal memory used by default functions)

How do I get memory location values from 100 to 199? I used to use the old "/mr100,199", but sending any form of "mr" does not work ("mr100:199", "mr:100:199" and so on).

Also tried to get individual memory locations sending "mb100" (not worked) or simply "mb:100" (did not get, but set mb 100 to 0 instead)

You had the trouble to split the "mr" response into MR00, MR01... up to MR21 kind of format.. so may not be simple to code the a "mr:100:199". If is that the case, would do any harm using locations from 200 to 379 just the way I want, regardeless the default functions? I do not use any any of them.

Rafa

Re: RA* Cloud - mqtt publish commands

Posted: Thu Feb 01, 2018 10:54 pm
by rimai
You are right.
There is no way to read individual locations outside the range.
If you are not using them, you can save and read using MR.
If you are using internal memory settings, you will have to make sure to not reuse the ones you are already using.

Re: RA* Cloud - mqtt publish commands

Posted: Fri Feb 02, 2018 2:56 am
by rrodriguess
Not using internal memory settings.

I am going to migrate from 100-199 to 200-299, and test it

Ps.: "c0:1" command stopped working again. Uapp got back using "cvar0,1". Maybe a rollback version?

Tks!