Hi all,
    I started working on iotivity-1.3 framework. 
   
   - i have compiled the source code.
   
   - status -code successfully compiled
   - os - ubuntu 16.04   

   
   - i executed 
iotivity-1.3/out/linux/x86_64/release/resource/examples/simpleclient & 
iotivity-1.3/out/linux/x86_64/release/resource/examples/simpleserver.
        LOGS:-
                                
************************************************server*******************************************************************************
                Usage : simpleserver <value>
                Default - Non-secure resource and notify all observers
                1 - Non-secure resource and notify list of observers
                2 - Secure resource and notify all observers
                3 - Secure resource and notify list of observers
                4 - Non-secure resource, GET slow response, notify all observers
                Starting server & setting platform info
                Created resource.
                Added Interface and Type
                Waiting
                
************************************************server*******************************************************************************
                
************************************************client*******************************************************************************
                
---------------------------------------------------------------------
                Usage : simpleclient <ObserveType> <TransportType>
               ObserveType : 1 - Observe
               ObserveType : 2 - ObserveAll
               TransportType : 1 - IP
               TransportType : 2 - TCP
                
---------------------------------------------------------------------
                <===Setting ObserveType to Observe and ConnectivityType to 
IP===>

                Finding Resource... 
                Finding Resource for second time...

                
****************************************************************************************************************************************
   
   -   when i execute ONLY 
iotivity-1.3/out/linux/x86_64/release/resource/examples/simpleclient

                
************************************************client*******************************************************************************
                
---------------------------------------------------------------------
                Usage : simpleclient <ObserveType> <TransportType>
               ObserveType : 1 - Observe
               ObserveType : 2 - ObserveAll
               TransportType : 1 - IP
               TransportType : 2 - TCP
                
---------------------------------------------------------------------
                <===Setting ObserveType to Observe and ConnectivityType to 
IP===>

                Finding Resource... 
                Finding Resource for second time...

                
****************************************************************************************************************************************



   
   - even when server is not running, i could see the same logs in client.


i have read and tried to understand the how server and client were interacting. 
i was not able to understand on which port my applications are communication & 
to which ip client is sending the request....








_______________________________________________
iotivity-dev mailing list
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to