Hello!

I have build iotivity 1.2.1 on PI 2 and addtionally on ubuntu 64 bit machine!
for testing i run these scenarios.

scenario 1:
simpleserver and simpleclient on PI 2: pass, communication is correct

******************************************scenario 2*******************************:
simpleserver on PI 2
Simpleclient  on ubuntu 64 bit!

output

In foundResource
DISCOVERED Resource:
        URI of the resource: /a/light
Found resource 31313131-3131-3131-3131-313131313131/oic/p for the first time on server with ID: 31313131-3131-3131-3131-313131313131 Host address of the resource: coap://[fe80::5d62:19f0:3548:40ed%25eth0]:53491
        List of resource types:
                core.light
                core.brightlight
        List of resource interfaces:
                oic.if.baseline
                oic.if.ll
Address of selected resource: coap://[fe80::5d62:19f0:3548:40ed%25eth0]:53491
Getting Light Representation...
In foundResource
Found resource 31313131-3131-3131-3131-313131313131/oic/dDISCOVERED Resource: for the first time on server with ID:
        URI of the resource: /oic/p
Host address of the resource: coap://[fe80::5d62:19f0:3548:40ed%25eth0]:53491
        List of resource types:
                oic.wk.p
        List of resource interfaces:
                oic.if.baseline
                oic.if.r
                oic.if.baseline
31313131-3131-3131-3131-313131313131
Found another resource, ignoring
In foundResource
Found resource 32323232-3232-3232-3232-323232323232/oic/sec/doxm for the first time on server with ID: 32323232-3232-3232-3232-323232323232
Found another resource, ignoring
In foundResource
Found resource In foundResource
32323232-3232-3232-3232-323232323232/oic/sec/pstat for the first time on server with ID: 32323232-3232-3232-3232-323232323232
Found another resource, ignoring
In foundResource
Found resource 32323232-3232-3232-3232-323232323232/oic/d for the first time on server with ID: 32323232-3232-3232-3232-323232323232
Found another resource, ignoring
Found resource 32323232-3232-3232-3232-323232323232/oic/p for the first time on server with ID: 32323232-3232-3232-3232-323232323232
Found another resource, ignoring
In foundResource
Found resource 31313131-3131-3131-3131-313131313131/oic/sec/doxm again!
Found another resource, ignoring
In foundResource
Found resource 31313131-3131-3131-3131-313131313131/oic/sec/pstat again!
Found another resource, ignoring
In foundResource
Found resource 31313131-3131-3131-3131-313131313131/oic/p again!
Found another resource, ignoring
In foundResource
In foundResource
Found resource 31313131-3131-3131-3131-313131313131/oic/d again!
Found another resource, ignoring
Found resource 31313131-3131-3131-3131-313131313131/a/light again!
Found another resource, ignoring
In foundResource
Found resource 32323232-3232-3232-3232-323232323232/oic/sec/doxm again!
Found another resource, ignoring
In foundResource
Found resource 32323232-3232-3232-3232-323232323232/oic/sec/pstat again!
Found another resource, ignoring
In foundResource
Found resource 32323232-3232-3232-3232-323232323232/oic/d again!
Found another resource, ignoring
In foundResource
Found resource 32323232-3232-3232-3232-323232323232/oic/p again!
Found another resource, ignoring
GET request was successful
Resource URI: /a/light
        state: false
        power: 0
        name: John's light

Again pass, communication is as expected

*************************************scenario 3*********************************************:

simpleserver on ubuntu 64 bit
Simpleclient  on PI 2

output:

no communication the client blocks at this

In foundResource
Found resource 32323232-3232-3232-3232-323232323232/oic/p again!
DISCOVERED Resource:
        URI of the resource: /oic/p
Host address of the resource: coap://[fe80::5d62:19f0:3548:40ed%25eth0]:50898
        List of resource types:
                oic.wk.p
        List of resource interfaces:
                oic.if.baseline
                oic.if.r

and this happen only when client is run from the PI 2

can anyone help me with this been looking around for quite some time now

regards!

Yann
_______________________________________________
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to