Discussion in 'iOS Jailbreak & Cydia' started by Cyanidepoison, Jan 15, 2009.
All this code is broken, see http://www.ifans.com/forums/showthread.php?t=144432.
May i ask why not use the stock SMS application?
Unless there are magical command-line arguments I don't know about, you can't use it to send an SMS over SSH if your iPhone isn't close to you, but your computer is.
This can also be scripted to send out a batch of messages to a large number of people.
If you have your iPhone in front of you, it makes sense to use the regular SMS program.
Thanks for your command-line program.
I have one question about it, because it sends really really slow..
It says 'Message sent', but takes at least 30 minutes to deliver the message. When I send a message using bitesms/normalsms it gets delivered in about 5 seconds..
Can you tell me how to solve this?
I've never had that problem before.
It takes the same amount of time for me to use my program as it does to use the MobileSMS program. Are you on a 2G iPhone or a 3G iPhone?
I have the same problem, but for me it doesnt send.
I have 2G.
Great job by the way! And your link to your app is broken:/
ThanksPlease Register or Log in to view images)
------------------double post merged------------------I just "reinstalled" my iphone 2g.
Now its running 2.2.1
Version: 2.2.1 (5H11)
But it still doesnt work :/ So i guess this program only works v1.X?
Please Register or Log in to view images
I wrote this a long time ago, but it was for 2.x.
I can't really say I have the time or interest to support it though... The code is there, and you can go into the Developer's section and look in the tutorials. I have a better version posted there.
I am facing problems in opening /dev/tty.debug in my iPhone Ver 2.2.1.
open("/dev/tty.debug", O_RDWR | 0x20000 | O_NOCTTY);
What could be the problem. I tried this while using debugger and the by simply running from phone as well without debugger. In both cases opening failed.
Thanks a lot.
------------------double post merged------------------
I just checked the errno status string and it says "PERMISSION DENIED". How to fix it. Any ideas..??
Please help me out with this. I am compiling smsr code and running into iphone but the application gets killed when I run it on iphone.
The already compiled application that is included in the download runs fine on the iphone (although sms sending in not working), but the application runs fine.
But, when I compile the smsr code and run the newly compiled application I get a "Killed".
So heres the setup.
I am doing this on MAC itself for iPhoneOS 2.2.1. I run the following commands to compile the application:
1) /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc -c smsr.c -isystem /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.1.sdk/usr/include/gcc/darwin/4.0 -I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.1.sdk/usr/include -I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.1.sdk/usr/include/gcc/darwin/4.0
2) /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-ld -o smsr smsr.o -L/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.1.sdk/usr/lib -lcrt1.o -lc
I think I am doing something wrong while compiling the code, but not able to figure out the mistake.
Thanks a lot.
PS: The paths included in the commands above are correct.
Did you sign it with ldid?
Furthermore, I guess the line
Separate names with a comma.