Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jvermillard committed Oct 20, 2014
1 parent c3ac37f commit 3660251
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Leshan
======

Leshan is a OMA Lightweight M2M server implementation.
Leshan is a OMA Lightweight M2M server and client implementation.

What is OMA LWM2M:
http://technical.openmobilealliance.org/Technical/release_program/lightweightM2M_v1_0.aspx
Expand All @@ -26,7 +26,11 @@ https://groups.google.com/d/forum/leshan-lwm2m
Test Sandbox
------------

You can try it live on our demo instance: http://54.228.25.31/
You can try it live on our server demo instance: http://54.228.25.31/


Server
======

Get and run last binary
-----------------------
Expand All @@ -51,14 +55,15 @@ Run:
java -jar target/leshan-standalone-*-SNAPSHOT-jar-with-dependencies.jar
```


Connect on Leshan UI: http://localhost:8080

Leshan provides a very simple UI to get the list of connected clients and interact with clients resources.
Leshan provides a very simple UI to get the list of connected clients and interact with clients resources.

Now you can register your LWM2M client like [Eclipse Wakaama](http://eclipse.org/wakaama) or its lua binding [lualwm2m] (https://github.com/sbernard31/lualwm2m).
Now you can register your LWM2M client using:

Alternatively, you can build a client using the leshan-client library or use the example LeshanDevice. To build the LeshanDevice example, first compile the leshan-client:
[Eclipse Wakaama](http://eclipse.org/wakaama) or its lua binding [lualwm2m] (https://github.com/sbernard31/lualwm2m).

Leshan-client library or use the example LeshanDevice. To build the LeshanDevice example, first compile the leshan-client:

```
mvn install
Expand All @@ -74,10 +79,7 @@ java -jar target/leshan-client-*-SNAPSHOT-jar-with-dependencies.jar localhost 90

The list of the registered clients: http://localhost:8080/api/clients

Get the instace 0 of the object 3 of a registered client: http://localhost:8080/api/clients/{endpoint}/3/0


![Leshan](https://raw.github.com/msangoi/leshan/master/lw-clients.png)
![Leshan](https://raw.github.com/msangoi/leshan/master/leshan.png)

Code with eclipse
-----------------
Expand Down

0 comments on commit 3660251

Please sign in to comment.