Hi,
I've tried to look at the traffic with wireshark:
* 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]"
* 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.
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).
regards,
Pierre
On 10/30/2015 04:45 PM, Thiago Macieira wrote:
> On Friday 30 October 2015 10:24:55 pierre.rust at orange.com wrote:
>> * try to make a get on this address with a coap client, I've tried the
>> command line client that ships with libcoap and copper : both fail at
>> finding the resource.
> What do you mean by "fail at finding"? Did it send a CoAP query packet to that
> address? Was there a reply from the server?
>
> If there was a reply, what CoAP result code was it? What was the body?
>
--
Pierre Rust
Senior Software Developer
OLPS/SOFT/NEC
06 76 88 75 28
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou
falsifie. Merci.
This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been
modified, changed or falsified.
Thank you.