Quote Originally Posted by isaac View Post
.....

'Send SMS Test-Message
sms:

HSerout ["ATZ",13,10]
Pause 1000 <<<<<<<<<<<<<< [1]

HSerout ["AT+CMGF=1",13,10] 'Set Text Mode
Pause 500 <<<<<<<<<<<<<< [2]

HSerout ["AT+CMGS=",34,"+447895711481",34,",129",13,10]
Pause 500 <<<<<<<<<<<<<< [3]

HSerout ["Test-Message",10,13]
HSerout [26]
Pause 500 <<<<<<<<<<<<<< [4]

RETURN ' return from subroutine
General all the above lack the response from the mobile. Every command has a response and that response comes with different timing. Other sooner other later.

So my suggestion is to:

[1]: Wait for the 'OK' response
[2]: Wait for the 'OK' response
[3]: Wait for the '>' response
[4]: Wait for the 'OK' response

Also, have put the phone in TEXT mode or is it in PDU mode?

A monitor on the RS232 lines to see what text is transmitting to both ends would be very helpfull. If your PC has a second Port use it for stealling the signals with two 10K and drive the Rx pin of the second RS232 com port.

Ioannis