SCA as first octen in PDU
Submitted by admin on Thu, 2006-04-27 20:05.
Q: How can i set the PDU with the first octet (the two initial zeros) (Length of SMSC information)?
Because I cannot send one SMS using the Boomerang component in my Multitech Modem
This is the PDU that the component Sent (doesn't work)
A: There is function TGSM.SCAinPDU(). If returns true then #0 is included in front of PDU.
AT+CMGS=16<CR>01000A81224381585400000431D98C06<ctrl-z>This is the PDU that works
AT+CMGS=16<CR>0001000A81224381585400000431D98C06<ctrl-z>Which class property i must to set? Which value?
A: There is function TGSM.SCAinPDU(). If returns true then #0 is included in front of PDU.
function TGSM.SCAinPDU; begin Result:= FEquipment in [eqA1, eqM20, eqGM12, eqM35, eqS25, eqTC35, eqT260, eqNokia6210, eqNokia6650, eqFasttrack]; end; used function TSMSDeliver.EncodePDU; begin if (GSM = nil) or GSM.SCAinPDU then Result:= TChar(#0) { SCA number - default } else Result:= ; ...