Em sexta-feira, 2 de setembro de 2016, ?s 16:04:09 CEST, Kada Saikumar escreveu: > Hi All, > I am developing client application using iotivity nodejs and server > app using iotivity CSDK. > > Im not getting expected uuid on client application which is mentioned in > the "oic_svr_db_server.dat" file. > > oic_svr_db_server.dat uuid = "31313131-3131-3131-3131-313131313131" [cut] > as per my understanding > the uuid of uuid string "31313131-3131-3131-3131-313131313131" is (0x31, > 0x31, 0x31, 0x31, 0x31, 0x31, 0x31, 0x31, 0x31, 0x31, 0x31, 0x31, 0x31, > 0x31, 0x31, 0x31). > but we are getting [decimal: 51, 49, 51, 49, 51, 49, 51, 49, 45, 51, 49, > 51, 49, 45, 51, 49 ]
Indeed it should be. 51 = 0x33 = '3' and 49 = 0x31 = '1'. Looks like your .dat file is not properly formatted. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
