bladox.com Forum Index bladox.com
Turbo SIM Toolkit Adapter Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Kannel and Turbo SMS

 
Post new topic   Reply to topic    bladox.com Forum Index -> Development
View previous topic :: View next topic  
Author Message
cporter
Guest





PostPosted: Fri Feb 01, 2008 3:28 pm    Post subject: Kannel and Turbo SMS Reply with quote

Sending TSMS using Kannel might sound straightforward (it is - but not initially). Some trial and error is required, since one would assume that a SIM Toolkit terminated msg would be needed. Unfortunately, this is not the case with Kannel. If you follow the documentation you'll end up with a hundred unwanted message dominating your mailbox: and a sleeping STK app.

TSMS based STK Apps (ACTION_SMS_MSG or ACTION_SMS_Q/A) are triggered ONLY if the following params are used:

turbo/M + <app_mime> specified in text field in HEX
mclass=2 (SIM Terminated) Not STK!!
coding=1 (In Kannel this means 8-bit DCS coding scheme)
pid=127
alt-dcs=1 (FX)

E.g: http://serverName:port/cgi-bin/sendsms?user=kanneluser&pass=xxxxxxx&to=xxxxxxxx&text=%74%75%72%62%6F%2F%4D%74%65%73%74%00&mclass=2&coding=1&pid=127&alt-dcs=1

This will trigger the 'Test PID' app permanently stored on your TurboSIM.

Hope this will help! Corrections/comments may only help Kannel/TSIM 'talk' better.

Chris Porter
Back to top
Display posts from previous:   
Post new topic   Reply to topic    bladox.com Forum Index -> Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group