joshmarinacci / ElectronIDE

New web based Arduino IDE
BSD 3-Clause "New" or "Revised" License
246 stars 50 forks source link

accessing local port throuht distant nodejs ? #50

Closed eephyne closed 10 years ago

eephyne commented 10 years ago

Hi

(I didn't have tested it yet since I still didn't got my arduino :( ) But I would like to know if this would be possible ?

I mean run the nodejs and electronide on a server and plug the arduino on the local machine. I don't think this is possible but it would be awesome.

edit: after some light research it seem there are jvs lib for accessing serial port.

chrwei commented 10 years ago

this is technically possible using a serial over IP client/server but would need to be separately implemented. I don't know if the timing aspects of the bootloader would tolerate the added latency or not.

I don't know what you mean by "jvs lib for accessing serial port"

eephyne commented 10 years ago

I don't really know you access the serial port of the arduino so I just looked for accessing the serial port via javascript (easiest way throught browser I thought )

chrwei commented 10 years ago

it's accessed directly. I'm pretty sure a web page can't access a serial port without using a signed flash or java applet, do you have a link to this lib?

eephyne commented 10 years ago

https://github.com/billhsu/jUART

chrwei commented 10 years ago

ah, plugins. well, a similar plugin that does what avrdude would have to be written for uploading the program. serial server is likely easier.

eephyne commented 10 years ago

ok too complicated I presume so. :/ Thanks for your time either way

wxl commented 10 years ago

If you consider this invalid, it should be closed.

joshmarinacci commented 10 years ago

Agreed.