How To Modify Web Page; Mkweb.bat And Mkweball.bat; Mkweb.bat - PalmMicro AR1688 Development Manual

Based ip phone
Table of Contents

Advertisement

C o m m u n i c a t i o n s , I n c .

8 How To Modify WEB Page

It's not recommended that modifying the phonebook, digitmap and updating program
page. The following shows how to modify the parameters information page.
Programs directories and files related with WEB page:
SDCC\src\res\us
SDCC\tool\convert\web.cpp
SDCC\include\web_info_iax2.h,web_info_sip.h
SDCC\src\http.c,settings.c
Note:
The English pages are default standard WEB page. We take English pages as a template.

mkweb.bat and mkweball.bat

There are two bat files in SDCC\src\res\, mkweb.bat and mkweball.bat, that convert web
page easily. As follows:

mkweb.bat

Input format:
mkweb [protocol] (Enter)
For the converting operation of the phone setting page. After modifying settings_iax2.htm
or settings_sip.htm, run mkweb.bat, converting .htm file to html file accepted by AR1688
and generating web_info_iax2.h and web_info_sip.h in SDCC\include\.
Note:
We convert web_info_iax2.h and web_info_sip.h according to the English setting page.
Details in mkweb.bat codes:
IF "%1"=="sip" GOTO Do_sip
GOTO Do_iax2
:Do_sip
..\..\bin\convert -w –f us\settings_sip.htm settings_sip_us.htm
..\..\bin\convert -w -f cn\settings_sip.htm settings_sip_cn.htm
..\..\bin\convert -i -f us\settings_sip.htm ..\..\include\web_info_sip.h
PalmMicro Communications, Inc.
© 2006-2007
Room 0611, Bldg.B Tsinghua Tongfang Technology Plaza, 1 Wangzhuang Road, Beijing, CHINA
(WEB page displays English)
31

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents