Author |
Message |
Topic: Display @ with display_text |
jbladox
Replies: 1
Views: 22733
|
Forum: Development Posted: Thu Jul 23, 2009 7:09 pm Subject: Display @ with display_text |
Hello,
I have noticed that display_text interprets each byte by the 7-bit encoding value (with the 8th bit set to 0).
I am using display_text to show some text that contains a '@' symbol. @ is th ... |
Topic: ACTION_APP_UNREGISTER never called? |
jbladox
Replies: 3
Views: 31867
|
Forum: Development Posted: Mon Jul 20, 2009 6:28 pm Subject: ACTION_APP_UNREGISTER never called? |
Actually, I've found the problem. I was never updating the app_data pointer (only the global pointer that the app_data was retrieved into), so even if I had tested the app over multiple power cycles, ... |
Topic: ACTION_APP_UNREGISTER never called? |
jbladox
Replies: 3
Views: 31867
|
Forum: Development Posted: Mon Jul 20, 2009 4:47 pm Subject: ACTION_APP_UNREGISTER never called? |
The following are the relevant code snippets from my code. If you need more, I will post more, I just didn't want to post the full code for fear of creating a super long post.
Basically, my applicat ... |
Topic: ACTION_APP_UNREGISTER never called? |
jbladox
Replies: 3
Views: 31867
|
Forum: Development Posted: Thu Jul 16, 2009 5:42 pm Subject: ACTION_APP_UNREGISTER never called? |
Hello,
When is ACTION_APP_UNREGISTER called? I know the documentation says "when the program is unloaded from memory", but in my experience, this isn't called.
I have an application w ... |
Topic: emalloc fail? |
jbladox
Replies: 1
Views: 24136
|
Forum: Development Posted: Thu Jul 16, 2009 5:14 pm Subject: emalloc fail? |
I've found the answers to my questions.
emalloc returns 0 (NULL) on fail, and reports a perror in debug.
All "leaked" memory is reclaimed on a reflash of the TLite/SIM.
I was just wor ... |
Topic: emalloc fail? |
jbladox
Replies: 1
Views: 24136
|
Forum: Development Posted: Thu Jul 16, 2009 12:38 pm Subject: emalloc fail? |
Hello,
Since there is only 4 KB of EEPROM available, obviously there is an upper limit to how much memory one can emalloc. What does emalloc return if it fails to allocate the requested memory? I ... |
Topic: Close spider with timer |
jbladox
Replies: 2
Views: 27753
|
Forum: Development Posted: Tue Jun 30, 2009 12:24 pm Subject: Close spider with timer |
I see. Thank you for your reply, pz.
So that means, if my application is in the middle of a get_input() or msisdn() call, for example, it is not possible to do, right?
Also, that means that at an ... |
Topic: ACTION_CALL_CONTROL |
jbladox
Replies: 10
Views: 58901
|
Forum: Development Posted: Mon Jun 29, 2009 12:22 pm Subject: ACTION_CALL_CONTROL |
I forgot to add in my post.....
givanov78: try adding 0x9000 at the end of your b_Buf() like I did. That worked for me. |
Topic: ACTION_CALL_CONTROL |
jbladox
Replies: 10
Views: 58901
|
Forum: Development Posted: Fri Jun 26, 2009 8:27 pm Subject: ACTION_CALL_CONTROL |
I am also trying to deny the call, but provide a more meaningful response message to the user. I am able to successfully deny the call, but not get the meaningful response message.
I have:
... |
Topic: Close spider with timer |
jbladox
Replies: 2
Views: 27753
|
Forum: Development Posted: Fri Jun 26, 2009 8:21 pm Subject: Close spider with timer |
Hello,
I am trying to write an application that will timeout and close itself after a certain amount of time using a timer.
I am able to properly set up the spider menu, and start the timer prop ... |
Topic: am I using stk_cmd correctly? |
jbladox
Replies: 7
Views: 51547
|
Forum: Development Posted: Thu Nov 20, 2008 1:28 pm Subject: am I using stk_cmd correctly? |
Oh okay. I get it. I was expecting to see OK/ERROR printed out in ASCII in the answer.
Thank you. |
Topic: am I using stk_cmd correctly? |
jbladox
Replies: 7
Views: 51547
|
Forum: Development Posted: Tue Nov 18, 2008 7:42 pm Subject: am I using stk_cmd correctly? |
I've also played around with
get_tag(response, T_AT_RESPONSE)
and even
get_tag(response, T_AT_CMD) with no result (they both return 0x0000).
Using the Programmer/TLite to debug, I get the foll ... |
Topic: am I using stk_cmd correctly? |
jbladox
Replies: 7
Views: 51547
|
Forum: Development Posted: Mon Nov 17, 2008 9:48 pm Subject: am I using stk_cmd correctly? |
Is this the correct way to get the response? Because I don't seem to be getting any sensible answer (I get only garbage), and I'm doing practically the same thing.
response = stk_cmd(STK_CMD_RUN_A ... |
Topic: Broken TSIM |
jbladox
Replies: 11
Views: 55196
|
Forum: Development Posted: Thu Aug 21, 2008 9:06 pm Subject: Broken TSIM |
Thanks for your response. Is there any message indicating that the memory has been verified and that it is correct? I re-flashed one of my working TSIMs and got the following:
~/bladox/kernels$ b ... |
Topic: Broken TSIM |
jbladox
Replies: 11
Views: 55196
|
Forum: Development Posted: Fri Aug 15, 2008 1:25 pm Subject: Broken TSIM |
Hi pz,
I tried re-flashing the TSIM, and the reflashing seems to work (LEDs flash, and the Pages progress indicator increments) but once that is finished and I try to cemu --info on the TSIM, it st ... |
|