Device name of modem port
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=Jt8q/42ywX2+TD/X46Wz9dtF5Un4spmnwE4OX4ERKyM=; b=t+6fdO6P5MIdNKRJ9AxNpuvh1gypF9B6d0kz6AL+oPlcXlgHLpEEhZoK2mzLv+XLiJ KeYcUJmvQyuiMsUv2+Lq2ILn2ZPqvKZqL+d/1+54MIpu8LPCPVR/wlq8C3Nnzg1Gv72y M/dyoZAyfECKQrdDjfDm02TO3+iQK4FZZuq/A= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=JCgX5iBtE9IRep/mWmsLLMJEUQUU/kpSIp24wm+wU4UPk+1+BhX+gQqj7mUtMhmsh4 y9AQ18gjt7TBCNy5IP6UJK0gtO9Rrhdpx7iQwaQidRM6t6xbiT6OZ3Pc02r2J6Cmp6Ya 14LH91rWliV53U9AMj4XE83e6T6mHEXVhJTew= 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Rakesh Singhal