Details
Description
Regarding the EtherNetIP security instance attribute 1(state) there are two states defined that are very similar.
- State 0 (Factory deafult setting) indicates that the device is in factory settings and the Pull model is supported
- Sate 5 indicates that the device is in factory settings but the Pull model is supported
Untill now our implementation supported only state 0 which is incorrect when we don't support the pull model.
Solution:
- Always start in state 5 instead of state 0
- Do not transition to state 0 ever, until the pull model is supported
- Consider state 0 an invalid state when receiving Begin_config service
- Consider state 5 the default state when receiving CIP Security->End_Config
- Reset service shall ognore the Pull model optional parameter