Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] testing with nordic semiconductor IOT SDK

Hi,

Thanks Manu for the response.

We used a version of Leshan from April 2016 and that worked fine. We haven't yet figured out exactly what caused the issue nor did we analyze other Leshan pre-April or post-April versions to see which version actually breaks. 

But we're good for now.

Regards,
Arjun

-----Original Message-----
From: leshan-dev-bounces@xxxxxxxxxxx [mailto:leshan-dev-bounces@xxxxxxxxxxx] On Behalf Of leshan-dev-request@xxxxxxxxxxx
Sent: 8. elokuuta 2016 17:07
To: leshan-dev@xxxxxxxxxxx
Subject: leshan-dev Digest, Vol 20, Issue 4

Send leshan-dev mailing list submissions to
	leshan-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
	https://dev.eclipse.org/mailman/listinfo/leshan-dev
or, via email, send a message with subject or body 'help' to
	leshan-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
	leshan-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific than "Re: Contents of leshan-dev digest..."


Today's Topics:

   1. Re: testing with nordic semiconductor IOT SDK (Manu Sangoi Dev)


----------------------------------------------------------------------

Message: 1
Date: Mon, 8 Aug 2016 16:07:16 +0200
From: Manu Sangoi Dev <manu.sangoi.dev@xxxxxxxxx>
To: leshan developer discussions <leshan-dev@xxxxxxxxxxx>
Subject: Re: [leshan-dev] testing with nordic semiconductor IOT SDK
Message-ID: <755BEA13-F6CF-469F-BD18-E50D50C2BEE3@xxxxxxxxx>
Content-Type: text/plain; charset="utf-8"

Hi Arjun, 

The response to the Bootstrap Write request sent by the BS server is expected to be '2.04 Changed' if the write operation is completed successfully.
And from the below logs, it seems that the client returned a 2.01 code.

Regards,
Manu


> On 08 Aug 2016, at 12:08, Arjun Kamath <arjun.kamath@xxxxxxxxxxxx> wrote:
> 
> Hi all,
>  
> We are evaluating leshan bootstrap and management servers for use in some of our projects, and we?re testing it with other vendors. We?re currently working with Nordic?s nRF52832 DK (https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF52-DK <https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF52-DK>) and nRF5 SDK for IoT (https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF5-SDK-for-IoT/(language)/eng-GB) <https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF5-SDK-for-IoT/(language)/eng-GB)> with LWM2M of course.
>  
> We?re following the instructions from Nordic?s website where they also 
> used Leshan for testing 
> (https://developer.nordicsemi.com/nRF5_IoT_SDK/doc/0.9.0/html/a00062.h
> tml 
> <https://developer.nordicsemi.com/nRF5_IoT_SDK/doc/0.9.0/html/a00062.h
> tml>)
>  
> However, when we try with the latest Leshan server code, the bootstrap server responds with the below error. Any help in the matter would be appreciated.
> [2016-08-04 11:08:37,943 WARN BootstrapHandler$5] Error pending 
> bootstrap write of security instance LwM2mObjectInstance [id=1, 
> resources={0=LwM2mSingleResource [id=0, 
> value=coap://[2001:db8::2]:5683/ <coap://[2001:db8::2]:5683/>, 
> type=STRING], 1=LwM2mSingleResource [id=1, value=false, type=BOOLEAN], 
> 2=LwM2mSingleResource [id=2, value=3, type=INTEGER], 
> 3=LwM2mSingleResource [id=3, value=[B@ef0866, type=OPAQUE], 
> 4=LwM2mSingleResource [id=4, value=[B@1106f61, type=OPAQUE], 
> 5=LwM2mSingleResource [id=5, value=[B@5207, type=OPAQUE], 
> 6=LwM2mSingleResource [id=6, value=3, type=INTEGER], 
> 7=LwM2mSingleResource [id=7, value=[B@1097192, type=OPAQUE], 
> 8=LwM2mSingleResource [id=8, value=[B@ff654c, type=OPAQUE], 
> 9=LwM2mSingleResource [id=9, value=, type=STRING], 
> 10=LwM2mSingleResource [id=10, value=1, type=INTEGER], 
> 11=LwM2mSingleResource [id=11, value=1, type=INTEGER]}] on 
> 0a18de70-0ce0-4570-bce9-7f5895db6c70org.eclipse.leshan.core.request.ex
> ception.ResourceAccessException: Client [0a18de70-0ce
 0-4570-bce9-7f5895db6c70] returned unexpected response code [2.01]
> 
>         at 
> org.eclipse.leshan.server.californium.impl.LwM2mResponseBuilder.handle
> UnexpectedResponseCode(LwM2mResponseBuilder.java:384) 
> ~[leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?
> ]
> 
>         at 
> org.eclipse.leshan.server.californium.impl.LwM2mResponseBuilder.visit(
> LwM2mResponseBuilder.java:313) 
> ~[leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?
> ]
> 
>         at 
> org.eclipse.leshan.core.request.BootstrapWriteRequest.accept(Bootstrap
> WriteRequest.java:97) 
> ~[leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?
> ]
> 
>         at 
> org.eclipse.leshan.server.californium.impl.CaliforniumLwM2mBootstrapRe
> questSender$2.buildResponse(CaliforniumLwM2mBootstrapRequestSender.jav
> a:113) 
> ~[leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?
> ]
> 
>         at 
> org.eclipse.leshan.server.californium.impl.AsyncRequestObserver.onResp
> onse(AsyncRequestObserver.java:47) 
> [leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?]
> 
>         at 
> org.eclipse.californium.core.coap.Request.setResponse(Request.java:416
> ) 
> [leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?]
> 
>         at 
> org.eclipse.californium.core.server.ServerMessageDeliverer.deliverResp
> onse(ServerMessageDeliverer.java:169) 
> [leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?]
> 
>         at 
> org.eclipse.californium.core.network.stack.CoapStack$StackTopAdapter.r
> eceiveResponse(CoapStack.java:195) 
> [leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?]
> 
>         at 
> org.eclipse.californium.core.network.stack.AbstractLayer.receiveRespon
> se(AbstractLayer.java:101) 
> [leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?]
> 
>         at 
> org.eclipse.californium.core.network.stack.ObserveLayer.receiveRespons
> e(ObserveLayer.java:146) 
> [leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?]
> 
>         at 
> org.eclipse.californium.core.network.stack.AbstractLayer.receiveRespon
> se(AbstractLayer.java:101) 
> [leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?]
> 
>         at 
> org.eclipse.californium.core.network.stack.BlockwiseLayer.receiveRespo
> nse(BlockwiseLayer.java:322) 
> [leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?]
> 
>         at 
> org.eclipse.californium.core.network.stack.AbstractLayer.receiveRespon
> se(AbstractLayer.java:101) 
> [leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?]
> 
>         at 
> org.eclipse.californium.core.network.stack.ReliabilityLayer.receiveRes
> ponse(ReliabilityLayer.java:265) 
> [leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?]
> 
>         at 
> org.eclipse.californium.core.network.stack.AbstractLayer.receiveRespon
> se(AbstractLayer.java:101) 
> [leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?]
> 
>         at 
> org.eclipse.californium.core.network.stack.CoapStack.receiveResponse(C
> oapStack.java:138) 
> [leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?]
> 
>         at 
> org.eclipse.californium.core.network.CoapEndpoint$InboxImpl.receiveMes
> sage(CoapEndpoint.java:747) 
> [leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?]
> 
>         at 
> org.eclipse.californium.core.network.CoapEndpoint$InboxImpl.access$900
> (CoapEndpoint.java:647) 
> [leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?]
> 
>         at 
> org.eclipse.californium.core.network.CoapEndpoint$InboxImpl$1.run(Coap
> Endpoint.java:661) 
> [leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?]
> 
>         at 
> org.eclipse.californium.core.network.CoapEndpoint$5.run(CoapEndpoint.j
> ava:819) 
> [leshan-bsserver-demo-0.1.11-M13-SNAPSHOT-jar-with-dependencies.jar:?]
> 
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471
> ) [?:1.7.0_101]
> 
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
> [?:1.7.0_101]
> 
>         at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.a
> ccess$201(ScheduledThreadPoolExecutor.java:178) [?:1.7.0_101]
> 
>         at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r
> un(ScheduledThreadPoolExecutor.java:292) [?:1.7.0_101]
> 
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j
> ava:1145) [?:1.7.0_101]
> 
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
> java:615) [?:1.7.0_101]
> 
>         at java.lang.Thread.run(Thread.java:745) [?:1.7.0_101]
>  
> Regards,
> Arjun Kamath
> Ericsson
>  
>  
>  
>  
> _______________________________________________
> leshan-dev mailing list
> leshan-dev@xxxxxxxxxxx <mailto:leshan-dev@xxxxxxxxxxx> To change your 
> delivery options, retrieve your password, or unsubscribe from this 
> list, visit https://dev.eclipse.org/mailman/listinfo/leshan-dev 
> <https://dev.eclipse.org/mailman/listinfo/leshan-dev>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dev.eclipse.org/mailman/private/leshan-dev/attachments/20160808/c8667a76/attachment.html>

------------------------------

_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/leshan-dev


End of leshan-dev Digest, Vol 20, Issue 4
*****************************************


Back to the top