Can the desktop API access serial ports?

You must Login before you can answer or comment on any questions.

I am trying to build a demo where most of the tech is built with html, but it communicates with an arduino over a serial port.

I looked through the desktop api, but couldn't find anything that let me access the serial ports. Is this possible with appcelerator?

2 Answers

You can include Python and use pySerial, although there might be pitfalls I don't know of.

I've written up an article about communication between Titanium & Arduino via jQuery & PHP over the serial port, hope it helps.

http://bit.ly/iXtOL8

Your Answer

Think you can help? Login to answer this question!