I did not see my typo yesterday. That should be `light_introspection.json` not `light_intropection.java` sorry for confusion.
One sample is using the json file the other is using the cbor file. As Mats pointed out to me in a direct email the spec apparently says. "suitable encoding as defined in OCF Core Specification" From: [email protected] [mailto:[email protected]] On Behalf Of Nash, George Sent: Wednesday, October 4, 2017 4:33 PM To: IoTivity Developer List <[email protected]> Subject: [dev] Adding introspection to samples I am looking at adding Introspection to Java see IOT-2773 (https://jira.iotivity.org/browse/IOT-2773) The CPP samples that add introspection are inconsistent: In the lightserver.cpp example the 'light_introspection.dat' is returned for the introspect request In the simpleserver.cpp example the 'light_instrospection.java' is returned for the introspect request. I thought that introspect requests returned CBOR formatted files so I think the lightserver.cpp sample is the correct one. Could anyone verify this for me? Thanks, George
_______________________________________________ iotivity-dev mailing list [email protected] https://lists.iotivity.org/mailman/listinfo/iotivity-dev
