Ask a Question related to Mac Programming, Design and Development.
-
tom #1
[Q] carbon, IO kit and serial port programming
i'm looking for some OSX code that talks to a serial port.
I've found some Apple sample code but that's for a modem and I wondered
anyone could point me to some code that doesn't need modifying.
Any help is greatly appreciated,
tom
tom Guest
-
Serial Port communication
A Flex capabilities question...really could be what i'm looking :) really glad when my MD5 search came up with one result, tick one on the... -
Serial Port Problems
I'm trying to send data over the serial port using PHP and Serproxy. I downloaded Serproxy from http://www.lspace.nildram.co.uk/freeware.html. From... -
pb with serial port
Hello, I have a program that run under Sun. It sends on the serial port this kind of sequence: 02 00 0A 30 30 33 ... On the serial port, i... -
Serial Port and PHP Login
Hello All, I have asked before about serial port programing with PHP and have gotten great advice and now I am stuck again. Okay here is my... -
Serial port programming
Hallo, this is my first mail to the list. Here i have a program which communicates with the modem (/dev/ttyS0) and gets the output 'OK' on to the... -
Mike #2
Re: [Q] carbon, IO kit and serial port programming
tom wrote:
You could always drop down to pure Posix and treat it like a file.>i'm looking for some OSX code that talks to a serial port.
The usual open/close/read/write will work, with some extras like 'fcntl'
and 'termios'. Check the man pages, or get a Posix programming
book from the library.
Mike Guest
-
David Phillip Oster #3
Re: [Q] carbon, IO kit and serial port programming
In article <bihc4v$ni4$1@bob.news.rcn.net>, Mike <mghall@enteract.com>
wrote:
And make sure you follow the directions in Apple's documentation about> tom wrote:
>>> >i'm looking for some OSX code that talks to a serial port.
> You could always drop down to pure Posix and treat it like a file.
> The usual open/close/read/write will work, with some extras like 'fcntl'
> and 'termios'. Check the man pages, or get a Posix programming
> book from the library.
not hard coding /dev/tty names into your program, but instead use the
approved system calls to look them up at run-time.
David Phillip Oster Guest
-
tom #4
Re: [Q] carbon, IO kit and serial port programming
In article <jpdjajadiningrat-A4BD02.00594127082003@reader1.tiscali.nl>,
tom <jpdjajadiningrat@yahoo.com> wrote:
mike, david,> i'm looking for some OSX code that talks to a serial port.
>
> I've found some Apple sample code but that's for a modem and I wondered
> anyone could point me to some code that doesn't need modifying.
>
> Any help is greatly appreciated,
>
>
> tom
thanks for the replies.
I was also pointed to the AMSerial library:
[url]http://www.harmless.de/cocoa.html[/url]
Tom
tom Guest



Reply With Quote

