Re (2): OTBind + Serial Endpoint
Re (2): OTBind + Serial Endpoint
- Subject: Re (2): OTBind + Serial Endpoint
- From: Jiri Volejnik <email@hidden>
- Date: Mon, 02 Sep 2002 12:33:30 +0200
>
... When binding serial
>
endpoints (and indeed any outgoing connections), just pass NULL to
>
both the second and third parameters.
>
>This is what I was trying the first time, but it gives the same error.
>
If that's the case, it must be caused by something other than the
>
actual bind. OTBind(ep, NULL, NULL) is definitely the way to go for
>
serial endpoints. Here's some code I wrote that does exactly this
>
(talking to my phone via its IrDA port).
>
...
>
Are you sure you've opened a serial port?
Under Classic Environment, I can open usb->serial adapter using OT without
problems. - I have installed only OS9 version of the driver.
Under OS X however, using the same code (very very similar to yours), I
cannot open internal modem port nor IrDA port (Titanium). They are visible,
but not available. Is it correct, are those ports 'reserved' for OS X
(why?), or am I still doing something wrong?
Unfortunately, I cannot try to open usb-serial adapter under OS X, because
the appropriate driver doesn't exist yet.
Thanks again,
Jiri.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.