Hi, I am using Arduino MEGA and WIFI shield.
 
I tried to communicate with ocserver.cpp(arduino) and occlient.cpp(Linux PC).
 
I noticed the server(arduino) can send URI(/a/light) to client(Linux PC). And 
the client also discovered the device's IP and port number
(for example : 192.168.43.3:4097)
 
But the server(arduino) do not operate OCEntityHandlerResult 
OCEntityHandlerCb(OCEntityHandlerFlag flag, OCEntityHandlerRequest * 
entityHandlerRequest, void *callbackParam)
which should be invoked by OCStack whenever it recevies a request for this 
resource.
 
Any advicess should be welcomed.
_______________________________________________
iotivity-dev mailing list
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to