Skip to content

EmbeddedAndroid/lava-lmp-lmpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites
-------------

http://git.libwebsockets.org/cgi-bin/cgit/liblejp/
http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/

Building
--------

$ ./autogen.sh
$ ./configure
$ make && sudo make install

Running
-------

sudo lmpd

Connect your browser to http://localhost:7681


Some example commands
---------------------

echo -n -e "\x02{\"schema\":\"org.linaro.lmp.base\", \"identify\":true}\x04" > /dev/ttyACM0
echo -n -e "\x02{\"schema\":\"org.linaro.lmp.set-serial\", \"serial\":\"000000000008\"}\x04" > /dev/ttyACM0
echo -n -e "\x02{\"schema\":\"org.linaro.lmp.eth\", \"modes\":[{\"name\":\"eth\",\"option\":\"passthru\"}]}\x04" > /dev/ttyACM4

echo -n -e "\x02{\"schema\":\"org.linaro.lmp.sdmux\",\"modes\":[{\"name\":\"dut\",\"option\":\"uSDB\"},{\"name\":\"host\",\"option\":\"disconnect\"}]}" > /dev/ttyACM0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published