Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wakaama-dev] [wakaama] bootstrap server send put command but didn't send object instance

Hi Ricky,

 

Your first problem is a client’s problem. There was a change in LWM2M Spec I missed. The instance ID is no longer mandatory. I’ll enter an issue for this.

 

I’m not famliar with leshan BS server, but this behavior seems legit.

 

Regards,

David Navarro

 

From: wakaama-dev-bounces@xxxxxxxxxxx [mailto:wakaama-dev-bounces@xxxxxxxxxxx] On Behalf Of Ricky Liu
Sent: Friday, 19 February, 2016 09:45
To: wakaama-dev@xxxxxxxxxxx
Subject: [wakaama-dev] [wakaama] bootstrap server send put command but didn't send object instance

 

Hi,

 

I'm testing client with BS server and found some problem.

 

Problem 1 :

After I send bs request (/bs?ep=wlc), the BS server send PUT to modify /0 without instance id.

 

Wakaama will return BAD_REQUEST_4_00 if there is no instance id. (bootstrap.c) 

 

Is this server's problem? 

 

內置圖片 1

 

Problem 2 :

 

If I test with leshan bs server, I will get ACK response after send "/bs?ep=wlc" and then get PUT from leshan.

 

But in this case server will trigger PUT /0 , PUT /1 , and then return ACK.

 

I search LWM2M spec but not very clearly define.   Is this scenario correct? 

 

Thanks.

 

--

RickyLiu

---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


Back to the top