How to send a APDU SMS by NowSMS?

How to send a APDU SMS by NowSMS? SearchSearch
Author Message
amanda chen
New member
Username: Amandachen

Post Number: 1
Registered: 04-2008
Posted on Thursday, April 24, 2008 - 08:28 am:   

I have STK Applet with event of EVENT_FORMATTED_SMS_PP_ENV,
Then I have used SIMAlliance load its cap file to my SIM (Gemplus card),
then I try to use NowSMS send a APDU SMS to the mobile's sim.
my APDU code as following lists:
and my question is whatever I fill these codes to the "Send Binary Message", always get +CMS Error 500,
how can I fill the UserDataHeader, BinaryData, PID and DCS?

Thanks for your help.
...........................
A0C2000051 (ISO ENv)
D14F (11.14 SMS-PP)
02028381 (devices Ids)
0606983311111111 (SCA)
0B41 (begin of the SMS TPDU)
E40A9833111111117F16080317095345322F
(begin of the GSM 03.48 )
027000002A15020124245241440000000000001C85B29743E45727
(begin of the commands that upadte the SPN file)
280102000C5472616E73666F726D657273

amanda chen
New member
Username: Amandachen

Post Number: 2
Registered: 04-2008
Posted on Friday, April 25, 2008 - 09:27 am:   

Dear Bryce Norwood,

Thanks for your big help.
You give me the answer what I need,
I'm confused what should I do with UDH before?
I could make sure it now, Thanks a lot.
But I still got error message when I open this sms.

"Unable to open. Message format not supported"

Maybe my Nokia N80 or my SIM card not support,
I need to make sure ....
Anyway, Thanks for your big support again,
and I'm very appreciated your kindness.

Best Regards,
Amanda