image
image

Go Back   macosx.com > Scripts > Shell/Terminal Scripts

Reply
 
LinkBack Thread Tools
  #1  
Old January 17th, 2009, 09:52 AM
Registered User
 
Join Date: Jan 2009
Location: Tanzania, East Africa but made in Germany
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
zumzum is on a distinguished road
applying a modem init string (at+crm=150) in osxTiger

My friend has bought a macbook and wants to use his Cdma1x phone as a modem.
In Windows he had to add an init string:

at+crm=150

to get it connected.

My phone doesn't need such a string in windows or in macos so I guess for my friends phone it is necessary to add the string also in macos.

I failed by adding a line in the modem script. I have added "write "at+crm=150"" but then the modem doesn't show any response.

I am using the modem script "au cdmaOne Bluetooth Adapter". I am using this script also for my other CDMA phone (Audiovox) - even though it is not connected via Bluetooth. Audiovox doesn't need any init string but this new phone needs, regardless of the operating system, to add "at+crm=150" to activate a 1x RTT packet switched call. Without this it just disconnects immediately after authentication.
I have tried already to write a terminal script (incl. creating a new folder in "library", containing that string and adding it in the ppp settings but I had no success, means no effect.

I also modified that "au cdmaOne Bluetooth Adapter" script by just adding "write "at+crm=150"" as follows:

.
.
.
@LABEL 3
matchclr
matchstr 1 13 "OK\13\10"
matchstr 2 101 "ERROR\13\10"
write "AT&F0E0Q0V1X4S0=0\13"
write "at+crm=150"
matchread 50
inctries
iftries 3 101
.
.
.
But the effect was that the modem didn't respond at all.

At the Apple Store nobody can help.

Thanx,

zumzum
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting 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 Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 11:27 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.