Wifi attachment commands

Related to the development libraries, released by Curt Binder
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: Wifi attachment commands

Post by lnevo »

Any way to add a command to clear a bus lock flag? If it's possible I'll open an issue.
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Wifi attachment commands

Post by rimai »

No, it clears automatically when the problem is resolved
Roberto.
soyrex
Posts: 24
Joined: Sun Aug 24, 2014 6:38 am

Re: Wifi attachment commands

Post by soyrex »

I could be missing something obvious.. but when I call the waterchange mode from the wifi... how do I take the RA out of WC mode? Do I make the same call again to toggle it?


Sent from my iPhone using Tapatalk
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: Wifi attachment commands

Post by lnevo »

/bp for button press
soyrex
Posts: 24
Joined: Sun Aug 24, 2014 6:38 am

Re: Wifi attachment commands

Post by soyrex »

Of course looking at this now - it makes perfect sense. I'm going to blame being tired.

Do you know if there's a way to check if WC or Feed mode are already active?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Wifi attachment commands

Post by rimai »

Yes. The SF flag is an 8 bit representation of different modes.
At the moment, we only use the first 3 bits.

Code: Select all

// Status Flag Bits
#define LightsOnFlag   	0
#define FeedingFlag   	1
#define WaterChangeFlag	2
Roberto.
Post Reply