Comfort Home Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

ComfortProtocol
 Moderated by: slychiu
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Friday Sep 30th, 2011 07:37 pm
   PM  Quote  Reply 
1st Post
juwi_uk
Member


Joined: Friday May 25th, 2007
Location: Newbury, United Kingdom
Posts: 1254
Status: 
Offline

  back to top

Would it be possible to add an alias (as an enhancement) for the first 64 flags so that you can query these via f? alone or as f?00. Seems pointless to have to enter the extra 00 for the first set.

Julian

<-- Extract from manual --> ....


f? - Query all flags
PC f?00
UCM f?00aabbccddeeffgghh
f?00 Requests for the state of 64 flags starting from Flag 1
The reply gives the status of 64 flags on a bit by bit basis
If there are more than 64 flags in future, f?01 will request for the next 64 flags at one time
aa = Flags 1 to 8 with bit 0 = Flag1
bb = Flags 9 to 16 with bit 0 = Flag 9
cc = Flags 17 to 24 with bit 0 = Flag 17
dd = Flags 25 to 32 with bit 0 = Flag 25
ee = Flags 33 to 48 with bit 0 = Flag 33
ff = Flags 49 to 56 with bit 0 = Flag 49
gg = Flags 57 to 64 with bit 0 = Flag 57
Defined 25 June 2010 Implemented UCM 5.216



 Posted: Saturday Oct 1st, 2011 02:49 am
   PM  Quote  Reply 
2nd Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

I dont understan what you mean. Can you give an example of this ehnacement



 Posted: Saturday Oct 1st, 2011 08:25 am
   PM  Quote  Reply 
3rd Post
juwi_uk
Member


Joined: Friday May 25th, 2007
Location: Newbury, United Kingdom
Posts: 1254
Status: 
Offline

  back to top

Sure

At the moment to query the first 64 flags you send f?00 and in future f?01 for next 64 etc.

What I'm saying that for the first 64 could we just senf f? as an alternive to f?00 too. At tHe moment if you send that you get an NA back.

Julian



 Posted: Saturday Oct 1st, 2011 08:38 am
   PM  Quote  Reply 
4th Post
juwi_uk
Member


Joined: Friday May 25th, 2007
Location: Newbury, United Kingdom
Posts: 1254
Status: 
Offline

  back to top

...Or better still a single f? sent to Comfort replies back with multiple reponses (f?00...f?nn) so you can request all in one command.



 Posted: Saturday Oct 1st, 2011 09:12 am
   PM  Quote  Reply 
5th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

But why would sending f? be any more difficult than sending f?00, just another 2 characters.?

There are not plans to add flags yet, but perhaps f?00 could also return the extra information



 Current time is 06:04 pm
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems