On Tuesday 03 November 2015 11:06:55 pierre.rust at orange.com wrote:
> * When using simpleclient and simpleserver,
> * The simpleclient displays the discovered server:
>
> DISCOVERED Resource:
> URI of the resource: /a/light
> Host address of the resource:
> coap://[fe80::5265:f3ff:feb8:58e1]:42603
>
> * the examples work but wireshark displays these errors :
> "coap[Malformed Packet]"
Can you expand the packet in Wireshark and see what it is complaining about?
We may have introduced a bug in our copy of libcoap.
I hope it's only complaining about the format of the body. Since we use CBOR,
wireshark probably won't understand it.
> * I tried then to use the uri and address printed by the client with
> coap-client (client from libcoap) :
>
> ./coap-client -m get
> coap://[fe80::5265:f3ff:feb8:58e1]:42603/a/light
> v:1 t:CON c:GET i:cbd5 {} [ ]
> 5.00
>
> It fails and I don't see trace of the request in wireshark.
5.00 is "Internal server error". You said that you didn't see the packet on
wireshark, but coap-client is showing a reply. So either wireshark failed to
show something or coap-client didn't send anything. I can't go from here, I
need more information.
> let me know if I can give some more details (but as you have probably
> seen, I'm not really comfortable with the ipv6 networking stuff).
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center