Menu

#13 Need warning for invalid devConfig.xml string entries

2.0
open
ppanish
None
2015-02-08
2015-02-08
ppanish
No

There is currently no verification or warning that the device strings in devConfig.xml are valid entries in the sysFuncDesc_data array. As a result, an incorrectly formatted xml file will be blindly accepted and the device assgned to an inaccessible identifier. Both the owAssignTempSensors() and the owAssignPIODevices() functions should be modified to verify these identifiers.

If possible this should be added as a pure virtual function to owDevice with specific implementations in owTempSensor and owPIODevice classes.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB