Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Device name of modem port



Hi all

I am using SerialPortSample to get the information of modems on the
system. I have one USB device and creates the virtual serial port
(modem prt). Now, I am able to get the path to open the file and
communicate with it. I need the device name for the same device. I can
see the device name in IORegistry but not able to get it at code
level.  In my case, the device name is shown as object of
IOUSBInterface class. Although I could not explain it properly but I
hope you understood my query. I want the device name of which I am
accessing the virtual serial port.

I think I can do it using IORegistryEntryGetParentIterator, but in
that case should I pass kIOServicePlane for plane parameter?

Thanks in advance.

Regards
rksinghal
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.