I note that the iphone app will require the .cclx file to be loaded onto the phone via e-mail.
I have concearns that that the files may get outdated or mixed up..... is there any way that the file name can be incorporated into the file and then check for compatibility when the iphone app opens. (this concern also applies to Wiz Comfort and any other software that uses the .cclx file
One of the things I requested a while back for my ComfortClient dev was for the date of last upload to Comfort to be stored in the CCLX file. Cytech did this change and this is a useful way to determine the validity of the CCLX file IMHO.
There is no way the the iphone app can know if the file is up to date as it does not run on a PC where it can check the dates
There are only 2 things that the app uses from the cclx file; the zone descriptions and the home control menu. Responses are not used so it should dnot be very often that these are changed
1) When the CCLX is uploaded to Comfort, the upload datetime is stored somewhere in a Comfort register. It may already, but there needs to be a way to interrogate it via the Comfort Bus Protocol.
2) The CCLX file uploaded to the iPhone App knows the datetime of upload as stored in the CCLX file.
3) iPhone app can request upload datetime from Comfort via a bus protocol command and compare the datetime response received with the one it has from it\'s CCLX file. If (1) is later than (2) then the application knows it is using a CCLX file that potentially out of step with Comfort.
..and i could do with using this method in ComfortClient too!
Yes, possible but that is quite complex to implement
The iphone app only depends on the cclx file for zone names and Control menu names and not responses so changes in cclx files normally do not affect the app
In fact it would cause unneccessary concern to app users as any write to Comfort would change the date and give the impression that the app was out of date even when there is no change