Page 1
Application Note Use of the RC function for remote script download...
Page 2
First edition (January 2004) Sony Ericsson Mobile Communications. publishes this manual without making any warranty as to the content contained herein. Further Sony Ericsson Mobile Communications. reserves the right to make modifications, additions and deletions to this manual due to typographical errors, inaccurate information, or improvements to programs and/or equipment at any time and without notice.
Remote script download using RC intrinsic function Introduction The GR47 has been designed so that scripts embedded within the device can be updated either through a serial interface on UART1 or where this is not feasible, due to location, remotely using the air interface. The script resident in the device must be written in a way that makes remote access permissible and preferably with some form of authentication of the calling party.
Remote script download using RC intrinsic function 2 Overview 2.1 General The remote script download is dependant on the currently active script within the GR47 having the RC intrinsic function capability written in such a way that once a CSD data call is received, the RC intrinsic function is called and the remote script download takes place.
Remote script download using RC intrinsic function 2.3 Remote GR47 Setup The GR47 that is to have its script updated by using the RC function must have a script with the RC functionality active as part of the main loop within the script structure (example below).
Remote script download using RC intrinsic function Appendix I Embedded Application Code The following code sample (using Sony Ericsson’s M2mpower help file) can be used to set-up the RC functionality within a script. /* This example shows how simple Over the Air Download can work using the RC function.
Page 8
Remote script download using RC intrinsic function else /* check status of call every second */ dlys (1); prtf ("online status NUMBER 1 = %d\n", st); st = chsts(1); st = st & 0x02; (first == 0) /* disable remote control and reset the module */ prtf ("disable rc\n");...
Page 9
Remote script download using RC intrinsic function prtf ("\r\nFAILED!"); RemoteMode (); prtf ("\r\n\nScript Complete!"); LZT 123 7799 R1A...