Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wakaama-dev] Junk characters while accepting package URI in firmware object

Hi,

I wakaama test client in object_firmware.c file,  in prv_firmware_write I am assigning PACKAGE_URI from leshan server as below

PACKAGE_URI =dataArray[i].value;

When I try to print it on console I see some junk characters at the end,  can any one please guide me how do I fix it.

Also,  below are some of the input which I give from leshan server in which junk characters doesn't show up but apart from the below anything sent has junk characters at the end.

Input from Leshaan server to wakaama client for package uri

1. Ftp://root:Newuser123@10.20.8.47/intel.img
2.  Ftp://root:Newuser123@10.20.8.47/iTunes.Exe

I don't know why the above two doesn't get postfixed by junk characters,  else anything I send it has junk characters at the end.

Any guidance and help on this is highly appreciated.


Back to the top