View previous topic :: View next topic |
Author |
Message |
tkm
Joined: 18 Jan 2011 Posts: 72
|
Posted: Tue Apr 12, 2011 5:39 pm Post subject: call setup subaddress problem/issue |
|
|
Hello All/pz,
I am trying to do a STK command with call setup. It works fine with Address field only. When I put the subaddress it no longer works. I have done the necessary TS 04.08 encoding of the subaddress. Ref:http://pda.etsi.org/exchangefolder/ts_100940v072100p.pdf
My code is below:
Code: |
u8 *buf = buf_A ();
u8 len = 0;
//address starts here
buf[len++] = 0X86;
buf[len++] = 0X07;
buf[len++] = 0X81;
buf[len++] = 0X70;
buf[len++] = 0X78;
buf[len++] = 0X88;
buf[len++] = 0X47;
buf[len++] = 0X32;
buf[len++] = 0Xf9;
//Subaddress starts here
buf[len++] = 0X08;
buf[len++] = 0X07;
//The subaddress encoding starts here
buf[len++] = 0X80;
buf[len++] = 0X50;
buf[len++] = 0X31;
buf[len++] = 0X32;
buf[len++] = 0X33;
buf[len++] = 0X34;
buf[len++] = 0X35;
stk_cmd (STK_CMD_SET_UP_CALL, 0x00, DEV_ID_NETWORK, len);
|
Could anyone kindly point me where I am going wrong? I would really appreciated this? Many thanks. |
|
Back to top |
|
 |
tkm
Joined: 18 Jan 2011 Posts: 72
|
Posted: Tue Apr 19, 2011 12:54 pm Post subject: Re: call setup subaddress problem/issue |
|
|
tkm wrote: | Hello All/pz,
I am trying to do a STK command with call setup. It works fine with Address field only. When I put the subaddress it no longer works. I have done the necessary TS 04.08 encoding of the subaddress. Ref:http://pda.etsi.org/exchangefolder/ts_100940v072100p.pdf
My code is below:
Code: |
u8 *buf = buf_A ();
u8 len = 0;
//address starts here
buf[len++] = 0X86;
buf[len++] = 0X07;
buf[len++] = 0X81;
buf[len++] = 0X70;
buf[len++] = 0X78;
buf[len++] = 0X88;
buf[len++] = 0X47;
buf[len++] = 0X32;
buf[len++] = 0Xf9;
//Subaddress starts here
buf[len++] = 0X08;
buf[len++] = 0X07;
//The subaddress encoding starts here
buf[len++] = 0X80;
buf[len++] = 0X50;
buf[len++] = 0X31;
buf[len++] = 0X32;
buf[len++] = 0X33;
buf[len++] = 0X34;
buf[len++] = 0X35;
stk_cmd (STK_CMD_SET_UP_CALL, 0x00, DEV_ID_NETWORK, len);
|
Could anyone kindly point me where I am going wrong? I would really appreciated this? Many thanks. |
pz? Any thoughts on this? Pls... |
|
Back to top |
|
 |
pz
Joined: 12 Mar 2004 Posts: 1161
|
Posted: Wed May 04, 2011 7:46 am Post subject: |
|
|
Sorry, we have no experience with subaddress. |
|
Back to top |
|
 |
tkm
Joined: 18 Jan 2011 Posts: 72
|
Posted: Thu May 05, 2011 11:10 am Post subject: |
|
|
pz wrote: | Sorry, we have no experience with subaddress. |
Ok pz. Thanks. |
|
Back to top |
|
 |
|