forked from sensiasoft/sensorhub
    
        
        - 
                Notifications
    
You must be signed in to change notification settings  - Fork 23
 
Module Lifecycle
        Alex Robin edited this page Dec 21, 2016 
        ·
        2 revisions
      
    OSH modules
 --> "Module loaded"; --> "initializing"; if "need to connect for init?" then; -->[yes] "Try to connect to device" as try_connect; -->if "is device connected?" then; -->[yes] "Read static info from device" as read_device_info; --> ===GENERATE_IO===; else; -->[no] if "cached info available" then; -->[yes] ===GENERATE_IO===; else; -->[no] try_connect; endif; endif; else; -->[no] ===GENERATE_IO===; endif; --> "Generate I/O and sensor descriptions"; --> "initialized"; --> "starting"; --> if "autostart?" then; -->[no] "initialized"; else; -->[yes] "starting"; endif; --> (); @enduml; )