Beaglebone black socket bonescript And socket io question

946 views
Skip to first unread message

jjar...@gmail.com

unread,
Oct 14, 2013, 4:20:00 PM10/14/13
to beagl...@googlegroups.com
I want to know if when i want show the state of one digital or analog pin, should i use the socket io.
I want to understand hoy to get a valué of one variable from bonescript in a html page.

Thanks.

Andrew Snider

unread,
Oct 14, 2013, 7:45:09 PM10/14/13
to beagl...@googlegroups.com, jjar...@gmail.com

jjar...@gmail.com

unread,
Oct 17, 2013, 8:49:29 PM10/17/13
to beagl...@googlegroups.com, jjar...@gmail.com
I have tried to run the examples but I get one  message in the cloud9 that said that I don´t have the socket io installed. Then I have tried to install the socket io using the SSH and I got the error message as follow :

ERROR : getaddrinfo ENOTFOUND.

Please your help because I don´t know how to install the socket io and I believe that while I don´t install it i won´t be able to read an external signal and show the information in the html page.

Thanks.

José Julián

unread,
Oct 28, 2013, 9:49:03 PM10/28/13
to Andrew Snider, beagl...@googlegroups.com
Dear andrew

Thank You very much for your help.

I have tried to run the example And I got an error in the cloud 9 that said that I don't have the socket io installed.

After that, I tried to install the socket io using the console And Now I have the error Message 

ERROR : getaddrinfo ENOTFOUND.

If You have some advice I really appreciate your help.

Thanks again.

JJAT


Andrew Snider

unread,
Oct 31, 2013, 12:38:24 PM10/31/13
to beagl...@googlegroups.com, Andrew Snider
I don't have any idea what that error message means.  
I have recently flashed my BBB with the 9/4 image & had to npm install socketio - I didn't get any errors with my project/cloud9, which is based heavily off of the example I posted. Sorry I can't be of more help.

Jose Julian Arias T

unread,
Nov 4, 2013, 10:41:12 AM11/4/13
to beagl...@googlegroups.com, Andrew Snider
Dear andrew

I'm really confunsed. If I'm doing a page html in the cloud 9 And I want show the state of A digital or analog input wíth this html page using the HDMI output of the BBB, should I use the socket IO or should I to try to transfer the state of the data from a node.js file wíth some javascript code?

I want to be sure that socket io is for use on server/client applications or if It's necesary for transfer variables like I want to do.

Again, I really appreciate your advice..

Best regards

JJAT 

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/Jw38LjUjKUI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

jeremi...@gmail.com

unread,
Jan 4, 2014, 12:32:44 AM1/4/14
to beagl...@googlegroups.com, Andrew Snider

There is another guy doing the same thing from this website:https://github.com/lgxlogic/BoneScript-SocketIO

I would recommend installing the socketio by typing "npm install socket.io" within the /var/lib/cloud9/ directory. 

Lets us know if you get either example working. 

Bests,

~Jeremiah
Reply all
Reply to author
Forward
0 new messages