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 

USSD function ?

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





PostPosted: Mon Jul 17, 2006 7:31 am    Post subject: USSD function ? Reply with quote

Has anybody written function to send USSD. Shall I use stk_cmd() tom implement it ?
Back to top
pz
Guest





PostPosted: Mon Jul 17, 2006 8:25 am    Post subject: Reply with quote

Yes, stk_cmd() wil do it. Example of SEND_SS:

u8 *buf = buf_A ();
u8 len = 0;

buf[len++] = T_SS_STRING | CR_FLAG;
buf[len++] = strlen(t_Text_ss);
for (i = 0; i < strlen(t_Text_ss); i++)
buf[len++] = rb(t_Text_ss+i);

stk_cmd (STK_CMD_SEND_SS, 0x00, DEV_ID_NETWORK, len);
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