Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Internet and The Modem

Internet and The Modem
Thread Tools
Mac Elite
Join Date: Oct 2001
Location: Umbrella Research Center
Status: Offline
Reply With Quote
Oct 10, 2001, 11:48 AM
 
Hi people,

I need some tips or help with developing a Cocoa based internet connect application. I'm working for a large UK dialup ISP company who wants a personalised version of its internet connection software for mac os x. ( cocoa) I've been having trouble writting to /dev/cu.modem , is this the right way of going about it?
I have the relevant connection scripts, so all I need is the ability to write to the modem /serial port....

Thanks for any help you give in advance.

Luke
luke.sands@btinternet.com
     
Fresh-Faced Recruit
Join Date: Oct 2001
Status: Offline
Reply With Quote
Oct 11, 2001, 07:22 AM
 
Hi Luke,

You should have a look in the AccessingHardware.pdf document at Apple's developer site: http://developer.apple.com/techpubs/...ngHardware.pdf
In this document you'll find nescessary code and explanation at pages 71-86.

Also: Sample code for accessing hardware that is similar to the code shown in this book may be available at the “Devices and Hardware” sample code page at http://
developer.apple.com/samplecode/Sample_Code/Devices_and_Hardware.htm.

Let me know if you're succeeding!
Good luck,
Samuel
     
Mac Elite
Join Date: Oct 2001
Location: Umbrella Research Center
Status: Offline
Reply With Quote
Oct 11, 2001, 12:36 PM
 
Thanks alot Samuel ,

That pdf. helped alot and i've now got access to the modem and am able to send a command to the modem, however I'm now having trouble sending multiple commands to modem- any ideas? Also I'm having trouble making the nib interface start of the modem script.

thanks alot.

Luke
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:20 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2