hi pettefar,
You pretty much had the solution in one of your earlier posts.
Code:
--------------------
#!/bin/sh
. /home/tc/www/cgi-bin/pcp-functions
. /home/tc/www/cgi-bin/pcp-lms-functions
pcp_lms_request "mixer volume ?"
--------------------
Because we haven't got the specific routine already in
pcp-lms-functions, you just need to use the more generic routine
pcp_lms_request with the LMS CLI command. pcp_lms_request takes care of
the MAC address, port numbers and formatting for you. Michael's link in
a previous post gave you the LMS CLI documentation.
If you decide to get deeper into this, beware I used nc (netcat) against
everyone recommendation, it is generally considered better to use the
JSON method.
regards
Greg
------------------------------------------------------------------------
Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=106755
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix