web - What are the different ways you can communicate with USB port through Browser -


i want create webpage access usb port of client. intent configure hardware connected usb port. can desktop application because configuration option different different hardware. connected , need pull code dynamically server. not web programmer. great find best way this.

it ends attempting write app performs similar. doing, instead writing both web server , web page. use simple, dlib web server, serve data end user.

this how works: web server handles usb connection. if written in c++ or other native language, have more control on device. web page loaded web server have written. in web page, can have sort of javascript worker, etc. pull new data server , push data web interface usb device. adds layer of protection because can ensure user has not made modifications web page.

the main drawback possibility required install server on client's machine. however, can circumvented writing applet can embedded within page!


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -