Then the only thing remaining is the phone (Nokia 6600) on wich I'm making tests!

Gosh
Thanks Aarno

J

Aarno Syv�nen wrote:

There is few things here:

a) All phones to not allow Service Loading, which is consired quite unsave by some.
Are you sure that your phone accepts SLS at all ?


b) You can try to send SL over PPG. Then all these hex bytes will go to PPG, and
we need not handle them separately many times over.


c) As per your question, see between the lines

Aarno

On 26.2.2005, at 11:50, Linkas wrote:

In the the contrib/web/sendsms.php I have Service Indication (WAPPUSHSI) working fine, but not the WAPPUSHSL.

I've tried to modify a couple of "strange things" I saw, and here is the "job":

My UDH is: %06%05%04%0B%84%23%F0
(same ad Wap Push SI)


This is right, both go to the push port


While the text message is: $fields['text'] .= "%01"; # Transaction ID $fields['text'] .= "%06"; # PDU Type (push) $fields['text'] .= "%04"; # Headers Length $fields['text'] .= "%03"; # Length of content type // The next line looks strange - in the contrib was different $fields['text'] .= "%B0"; # Content-Type: application/vnd.wap.slc // End of strange line

$fields['text'] .= "%81";     # Charset
$fields['text'] .= "%EA";     # UTF-8


Content type is right, too, sse http://www.wapforun.org/wina


$fields['text'] .= "%02"; # Version number (wbxml_version) $fields['text'] .= "%06"; # WBXML Public Identifier (sL_public_id) // THIS line is strange too - why SIbxml and not SLbxml ? $fields['text'] .= "%6A"; # charset= (sibxml->charset) // END of strange line $fields['text'] .= "%00"; # String table length


Charset are same is all cases


// The 'real' content I need to send where $URL is my wap page
$fields['text'] .= "%85"; # <sl>
$fields['text'] .= "%06"; # action="signal-high"
// Quite strange the URL is not 'urlencoded' but on the SI works ok like that
$fields['text'] .= "%08" . "%03" . $URL . "%00";
$fields['text'] .= "%01"; # </si>



execute-hing is right, too


The resulting HTTP GET is:

udh=%06%05%04%0B%84%23%F0
text=%01%06%04%03%B0%81%EA%02%06%6A%00%85%06%08%03http://www.info- me.it/wap/index.wml%00%01


Can anyone help?

Thanks
Julien



Aarno






Reply via email to