X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=plugins%2Fsamples%2Flinux%2FIotivityandZigbeeServer.c;h=da7b4ac00a0448159e00f941a6fd125f82a4d032;hb=1cee1631595cac6a6394ac2e0b365c6dd5a42c68;hp=dc011aa8b43809de1f43e2c80252560a735e1965;hpb=390866079e285d2c74918432c0d597d5da52f8a0;p=platform%2Fupstream%2Fiotivity.git diff --git a/plugins/samples/linux/IotivityandZigbeeServer.c b/plugins/samples/linux/IotivityandZigbeeServer.c index dc011aa..da7b4ac 100644 --- a/plugins/samples/linux/IotivityandZigbeeServer.c +++ b/plugins/samples/linux/IotivityandZigbeeServer.c @@ -139,7 +139,11 @@ OCStackResult SetDeviceInfo() static OCDeviceInfo deviceInfo = { .deviceName = "IoTivity/Zigbee Server Sample", + .specVersion = "IoTivity/Zigbee Device Spec Version", }; + char *dmv = OICStrdup("IoTivity/Zigbee Data Model Version"); + deviceInfo.dataModelVersions = (OCStringLL *)OICCalloc(1, sizeof(OCStringLL)); + deviceInfo.dataModelVersions->value = dmv; char *dup = OICStrdup("oic.wk.d"); deviceInfo.types = (OCStringLL *)OICCalloc(1, sizeof(OCStringLL)); deviceInfo.types->value = dup;