nonolith / connect Goto Github PK
View Code? Open in Web Editor NEWLightweight server to connect web apps to USB devices
Home Page: http://nonolithlabs.com/cee/
Lightweight server to connect web apps to USB devices
Home Page: http://nonolithlabs.com/cee/
When nonolith-connect is running, hot plugging the Apple USB Ethernet/ loading the AppleUSBEthernet.kext causes a kernel panic. When nonolith-connect is not running, all is well.
Thanks.
(edit: running OS X 10.6.8 on a 2010 MBA 11 inch)
On Unix-based OSs, a 2nd instance will be unable to bind the websocket port. This does not seem to be the case on Windows, and all but the first instance crash when a USB device is attached.
to reproduce:
./nonolith-connect allow-any-origin &
curl "http://localhost:9003/json/v0/devices/com.nonolithlabs.cee*/a/input?count=1"
navigate to http://apps.nonolithlabs.com/edge/pixelpulse, click start.
from nonolith-connect:
HTTP closed
Exception: shutdown: Socket is not connected
To reproduce:
Computer a: sudo ./server
Computer b: python dataServerClient.py -m "ws.dev.v = 1"
When dataServerClient.py:135 has been changed to point at the proper IP/hostname
Right now it ignores the errors and presents a device instance that can't do anything.
Hi,
I get an error trying to compile via scons on debian on a raspberry pi 2
I installed the following packages via apt-get:
debhelper, scons, libusb-1.0-0-dev, libudev-dev, libboost-all-dev, libasio-dev
then run scons -j5
here is some of the output with the typical error:
g++ -o url.o -c -Wall -g -O3 -Ilibusb -Iwebsocketpp/src -shared -g -O3 -fstack-protector-all -D_FORTIFY_SOURCE=2 url.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.6/README.Bugs for instructions.
scons: *** [websocketpp/src/websocket_server_session.o] Error 4
/tmp/cc0Xbjje.s: Assembler messages:
/tmp/cc0Xbjje.s:2071: Warning: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/cc0Xbjje.s:2100: Warning: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/cc0Xbjje.s:2136: Warning: swp{b} use is deprecated for ARMv6 and ARMv7
etc before it says
scons: building terminated because of errors.
Any ideas how i can get this to run?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.