Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wakaama-dev] bootstarp example

HI David,

Thanks for the fix!  I'll try it later.

Thank you.

2015-11-28 0:16 GMT+08:00 Navarro, David <david.navarro@xxxxxxxxx>:

Fixed in master.

 

From: wakaama-dev-bounces@xxxxxxxxxxx [mailto:wakaama-dev-bounces@xxxxxxxxxxx] On Behalf Of Navarro, David
Sent: Friday, 27 November, 2015 12:22
To: Wakaama developer discussions <wakaama-dev@xxxxxxxxxxx>
Subject: Re: [wakaama-dev] bootstarp example

 

Hi,

 

You do not miss anything. You made me realize I just broke the bootstrap process on the master branch. I’m fixing this right now.

 

In the meantime, you can test the bootstrapping by switching to the branch “bootstrap_server”.

 

Sorry for that,

David Navarro

 

 

From: wakaama-dev-bounces@xxxxxxxxxxx [mailto:wakaama-dev-bounces@xxxxxxxxxxx] On Behalf Of Ricky Liu
Sent: Friday, 27 November, 2015 06:26
To: wakaama-dev@xxxxxxxxxxx
Subject: [wakaama-dev] bootstarp example

 

Hi, I'm new here and just start to study LWM2M.  :)

 

I build the bootstap server and test by client with -b . But seems the bootstrap server keep saying 4.00 (COAP_400_BAD_REQUEST).

 

Is there anything that I miss?  or is there any doc for bootstap setting?

 

I did not modify bootstrap_server.ini and I guess it will return server object 2 and 3. After client get server and security info, the client will connect LWM2M server ?

 

 

Did I need to implement bootstrap process by myself?

 

Thanks.

 

Server:

 

ricky@ricky-VirtualBox:~/lwm2m/wakaama_b$ ./bootstrap_server 

LWM2M Bootstrap Server now listening on port 5685.

 

> 31 bytes received from [127.0.0.1]:56830

44 02 44 6C  6C 44 CC E7  B2 62 73 4D  05 65 70 3D   D.DllD...bsM.ep=

74 65 73 74  6C 77 6D 32  6D 63 6C 69  65 6E 74      testlwm2mclient

  Parsed: ver 1, type 0, tkl 4, code 2, mid 17516

  Content type: 0

  Payload: 

 

 

Bootstrap request from "testlwm2mclient"

Sending 8 bytes to [0.0.0.0]:56830

64 44 44 6C  6C 44 CC E7   dDDllD..

Sending 8 bytes to [0.0.0.0]:56830

44 04 35 C2  C2 35 CC E7   D.5..5..

8 bytes received from [127.0.0.1]:56830

64 42 35 C2  C2 35 CC E7   dB5..5..

  Parsed: ver 1, type 2, tkl 4, code 2.02, mid 13762

  Content type: 0

  Payload: 

 

 

 Received status 2.02 (COAP_202_DELETED) for URI / from endpoint testlwm2mclient.

Sending 55 bytes to [0.0.0.0]:56830

44 03 35 C3  C3 35 CC E7  B1 30 01 32  FF C8 00 1E   D.5..5...0.2....

63 6F 61 70  3A 2F 2F 6C  65 73 68 61  6E 2E 65 63   coap://leshan.ec

6C 69 70 73  65 2E 6F 72  67 3A 35 36  38 33 C1 01   lipse.org:5683..

00 C1 0A 02  C1 02 03                                .......

8 bytes received from [127.0.0.1]:56830

64 44 35 C3  C3 35 CC E7   dD5..5..

  Parsed: ver 1, type 2, tkl 4, code 2.04, mid 13763

  Content type: 0

  Payload: 

 

 

 Received status 2.04 (COAP_204_CHANGED) for URI /0/2 from endpoint testlwm2mclient.

Sending 26 bytes to [0.0.0.0]:56830

44 03 35 C4  C4 35 CC E7  B1 31 01 32  FF C1 00 02   D.5..5...1.2....

C2 01 01 2C  C1 06 00 C1  07 55                      ...,.....U

8 bytes received from [127.0.0.1]:56830

64 80 35 C4  C4 35 CC E7   d.5..5..

  Parsed: ver 1, type 2, tkl 4, code 4.00, mid 13764

  Content type: 0

  Payload: 

 

 

 Received status 4.00 (COAP_400_BAD_REQUEST) for URI /1/2 from endpoint testlwm2mclient.

 

---------------------------------------------------------------------
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.

---------------------------------------------------------------------
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.


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



--
RickyLiu

Back to the top