Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Serial Port and Javascript

Reply
Thread Tools

Serial Port and Javascript

 
 
José Regalado
Guest
Posts: n/a
 
      07-12-2010
Greetings.
I need put data string in the serial port.
Exist some way for do it from JavaScript, and Firefox?.

Ubuntu Linux, firefox 3.6.

Not internet explorer, not activeX.

Thanks.
 
Reply With Quote
 
 
 
 
Michael Haufe (\TNO\)
Guest
Posts: n/a
 
      07-13-2010
On Jul 12, 9:19*am, José Regalado <djd...@gmail.com> wrote:
> Greetings.
> I need put data string in the serial port.
> Exist some way for do it from JavaScript, and Firefox?.
>
> Ubuntu Linux, firefox 3.6.
>
> Not internet explorer, not activeX.
>
> Thanks.


Yes there is a way to do it from Firefox and JavaScript. The problem
is that you'll have to do it through XUL and access the functionality
through an XPCOM component AFAIK. I'm not certain if there is one
already made though, so this is probably going to require jumping
through a few hoops to get it working.

Post-HTML 5 is possibly going to contain a <device> tag and API which
could accomplish this:
http://dev.w3.org/html5/html-device/
 
Reply With Quote
 
 
 
 
Gufo Rosso
Guest
Posts: n/a
 
      07-13-2010
Il 13/07/2010 3.00, Michael Haufe ("TNO") ha scritto:
> On Jul 12, 9:19 am, José Regalado <djd...@gmail.com> wrote:
>> Greetings.
>> I need put data string in the serial port.
>> Exist some way for do it from JavaScript, and Firefox?.



> Post-HTML 5 is possibly going to contain a <device> tag and API which
> could accomplish this:
> http://dev.w3.org/html5/html-device/


for security is possible set a certificate o user setting from
http://pippo.com/serial.php only one security request no to any
procedure:

example:
this site requre access to:
rs232, /file/dati.txt, audio device
accept ?
 
Reply With Quote
 
Michael Haufe (\TNO\)
Guest
Posts: n/a
 
      07-13-2010
On Jul 13, 7:49*am, Gufo Rosso <spaaaaaamaaa...@libero.it> wrote:

> for security is possible set a certificate o user setting fromhttp://pippo.com/serial.phponly one security request no to any
> procedure:
>
> example:
> this site requre access to:
> rs232, /file/dati.txt, audio device
> accept ?


I'm not sure I understand the grammar of your question. Can you
rephrase it?
 
Reply With Quote
 
Paul E. Schoen
Guest
Posts: n/a
 
      07-14-2010

"Gufo Rosso" <> wrote in message
news:i1hnc1$o45$...
> Il 13/07/2010 3.00, Michael Haufe ("TNO") ha scritto:
>> On Jul 12, 9:19 am, José Regalado <djd...@gmail.com> wrote:
>>> Greetings.
>>> I need put data string in the serial port.
>>> Exist some way for do it from JavaScript, and Firefox?.

>
>
>> Post-HTML 5 is possibly going to contain a <device> tag and API which
>> could accomplish this:
>> http://dev.w3.org/html5/html-device/

>
> for security is possible set a certificate o user setting from
> http://pippo.com/serial.php only one security request no to any
> procedure:
>
> example:
> this site requre access to:
> rs232, /file/dati.txt, audio device
> accept ?


I found this in a search. It seems to be for Java, but might help:
http://www.sitepoint.com/forums/show...hreadid=176946

and this (seems like WScript)
http://user.services.openoffice.org/...p?f=20&t=31686

Maybe this?
http://www.activexperts.com/activcomport/howto/html/

This looks most promising:
http://www.walking-productions.com/j.../JSSerial.html

Amazing what tasty bones www.dogpile.com can dig up.

Paul

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
emulate a serial port in windows (create a virtual 'com' port) Pom Python 2 01-31-2007 07:49 PM
Serial Port(COM)Port Saref Aref Computer Information 2 02-14-2005 07:38 AM
Can I connect router Serial interface directly to a PC serial port? Faustino Dina Cisco 2 08-18-2004 02:30 AM
Re: Serial port and PS/2 port schematics OR Assistive Tech. suggestion naive.verizon@locality.net Computer Support 1 07-10-2003 11:46 AM
Re: Serial port and PS/2 port schematics °Mike° Computer Support 1 07-09-2003 10:30 PM



Advertisments