Dear Developers,

Ported Iotivity to ESP8266 Device.Now I am Trying To Control Esp8266
(Server) Device.

*CASE1:*Using one Esp8266 Device as Client and Another Esp8266 Device as
Server   *Device Discovery,GET,PUT...etc are Working **fine.*

*CASE2:*Now I am Trying To Control Esp8266 (Server) Device by Running the
occlient/simple client on Iotivity Ported Ubuntu PC.

      Here the Strict rule is that I am Not allowed to change anything on
ClientSide .cpp file (Ubuntu PC).

To achieve it I made some Changes in ocserver.cpp (Esp8266 server)file.

*Device Discovery is Working ,When I issueing the GET Request from Eclipse
Simulator or ./occlient -t 9 From Ubuntu terminal My ESP8266(Server) not
Responding to it and I am also verified even it is not entering into
the(**OCEntityHandlerCb
function)*

OCEntityHandlerResult OCEntityHandlerCb(OCEntityHandlerFlag flag,
OCEntityHandlerRequest * entityHandlerRequest, void */*callbackParam*/)

*{*

// This is the entity handler for the registered resource.

// This is invoked by OCStack whenever it recevies a request for this
resource.

*}*

Please Suggest on it,


-- 

With Regards,

Matta Jayaram,

Software Engineer

+91-8096796118
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161110/a1abf448/attachment.html>

Reply via email to