FreeCalypso > hg > fc-magnetite
view src/aci2/bmi/AUIWapext.h @ 636:57e67ca2e1cb
pcmdata.c: default +CGMI to "FreeCalypso" and +CGMM to model
The present change has no effect whatsoever on Falconia-made and Openmoko-made
devices on which /pcm/CGMI and /pcm/CGMM files have been programmed in FFS
with sensible ID strings by the respective factories, but what should AT+CGMI
and AT+CGMM queries return when the device is a Huawei GTM900 or Tango modem
that has been converted to FreeCalypso with a firmware change? Before the
present change they would return compiled-in defaults of "<manufacturer>" and
"<model>", respectively; with the present change the firmware will self-identify
as "FreeCalypso GTM900-FC" or "FreeCalypso Tango" on the two respective targets.
This firmware identification will become important if someone incorporates an
FC-converted GTM900 or Tango modem into a ZeroPhone-style smartphone where some
high-level software like ofono will be talking to the modem and will need to
properly identify this modem as FreeCalypso, as opposed to some other AT command
modem flavor with different quirks.
In technical terms, the compiled-in default for the AT+CGMI query (which will
always be overridden by the /pcm/CGMI file in FFS if one is present) is now
"FreeCalypso" in all configs on all targets; the compiled-in default for the
AT+CGMM query (likewise always overridden by /pcm/CGMM if present) is
"GTM900-FC" if CONFIG_TARGET_GTM900 or "Tango" if CONFIG_TARGET_TANGO or the
original default of "<model>" otherwise.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 19 Jan 2020 20:14:58 +0000 |
parents | 93999a60b835 |
children |
line wrap: on
line source
/******************************************************************************* CONDAT (UK) ******************************************************************************** This software product is the property of Condat (UK) Ltd and may not be disclosed to any third party without the express permission of the owner. ******************************************************************************** $Project name: $Project code: $Module: $File: AUIWapext.h $Revision: $Author: Condat(UK) $Date: ******************************************************************************** Description: External prototypes for AUI WAP. ******************************************************************************** $History: AUIWapext.h 15/05/2003 - SPR#1983 - SH - Updated to latest from 1.6.3 version. $End *******************************************************************************/ #ifdef FF_GPF_TCPIP typedef enum { WAP_BROWSER, WAP_PUSH, #ifdef FF_MMI_MMS WAP_MMS, #endif WAP_DOWNLOAD } T_WAP_APPLICATION; typedef void (*T_WAP_CB) (UBYTE result); void AUI_wap_init(void); void AUI_wap_start(T_WAP_APPLICATION application, T_WAP_CB callback); void AUI_wap_connect_URL (char *URL); /* SPR#2086 - modified */ /* WAP TEST */ int AUI_download(MfwMnu* menu, MfwMnuItem* item); #endif /* #ifdef FF_GPF_TCPIP */ int AUI_menu(MfwMnu* menu, MfwMnuItem* item); int AUI_homepage(MfwMnu* menu, MfwMnuItem* item); int AUI_goto_www(MfwMnu* menu, MfwMnuItem* item); int AUI_goto_wap(MfwMnu* menu, MfwMnuItem* item); int AUI_goto_other(MfwMnu* menu, MfwMnuItem* item); int AUI_bookmarks_add(MfwMnu* menu, MfwMnuItem* item); int AUI_bookmarks_add_www(MfwMnu* menu, MfwMnuItem* item); int AUI_bookmarks_add_wap(MfwMnu* menu, MfwMnuItem* item); int AUI_bookmarks_add_other(MfwMnu* menu, MfwMnuItem* item); int AUI_bookmarks_list(MfwMnu* menu, MfwMnuItem* item); int AUI_bookmarks_goto(MfwMnu* menu, MfwMnuItem* item); int AUI_bookmarks_edit(MfwMnu* menu, MfwMnuItem* item); int AUI_bookmarks_edit_url(MfwMnu* menu, MfwMnuItem* item); int AUI_bookmarks_delete(MfwMnu* menu, MfwMnuItem* item); int AUI_bookmarks_sendSMS(MfwMnu* menu, MfwMnuItem* item); int AUI_history_list(MfwMnu* menu, MfwMnuItem* item); int AUI_history_goto(MfwMnu* menu, MfwMnuItem* item); int AUI_history_edit(MfwMnu* menu, MfwMnuItem* item); int AUI_history_edit_url(MfwMnu* menu, MfwMnuItem* item); int AUI_history_delete(MfwMnu* menu, MfwMnuItem* item); int AUI_history_clear(MfwMnu* menu, MfwMnuItem* item); int AUI_history_addbook(MfwMnu* menu, MfwMnuItem* item); int AUI_history_sendSMS(MfwMnu* menu, MfwMnuItem* item); #ifdef FF_GPF_TCPIP int AUI_profiles_list(MfwMnu* menu, MfwMnuItem* item); #else /* SPR#2324 - SH - Removed AUI_profiles_list */ #endif int AUI_profile_change(MfwMnu* menu, MfwMnuItem* item); /* SPR#2324 - SH - Added */ int AUI_profile_delete(MfwMnu* menu, MfwMnuItem* item); /* SPR#2324 - SH - Added */ int AUI_profile_new(MfwMnu* menu, MfwMnuItem* item); /* SPR#2324 - SH - Added */ int AUI_profile_reset(MfwMnu* menu, MfwMnuItem* item); /* SPR#2324 - SH - Added */ /* SPR#2324 - SH - Removed AUI_profiles_list */ int AUI_profiles_setup(MfwMnu* menu, MfwMnuItem* item); int AUI_profile_name_edit(MfwMnu* menu, MfwMnuItem* item); int AUI_profile_select(MfwMnu* menu, MfwMnuItem* item); /* SPR#2324 - SH - Added *///liuyu int AUI_homepage_edit(MfwMnu* menu, MfwMnuItem* item); int AUI_connectionType(MfwMnu* menu, MfwMnuItem* item); int AUI_connectionType_set(MfwMnu* menu, MfwMnuItem* item); int AUI_connectionSpeed(MfwMnu* menu, MfwMnuItem* item); int AUI_connectionSpeed_set(MfwMnu* menu, MfwMnuItem* item); //xpradipg - Aug 4:changes for WAP2.0 Menu #ifdef FF_GPF_TCPIP int AUI_WirelessProfiledHTTP_set(MfwMnu* menu, MfwMnuItem* item); int AUI_PPGAuthentication_set(MfwMnu* menu, MfwMnuItem* item); int AUI_WirelessProfiledHTTP(MfwMnu* menu, MfwMnuItem* item); int AUI_PPGAuthentication(MfwMnu* menu, MfwMnuItem* item); int AUI_NameServer1(MfwMnu* menu, MfwMnuItem* item); int AUI_NameServer2(MfwMnu* menu, MfwMnuItem* item); EXTERN BOOL HTTP_Selected(); #endif int AUI_security(MfwMnu* menu, MfwMnuItem* item); int AUI_security_set(MfwMnu* menu, MfwMnuItem* item); int AUI_access(MfwMnu* menu, MfwMnuItem* item); int AUI_access_set(MfwMnu* menu, MfwMnuItem* item); int AUI_dialupNumber(MfwMnu* menu, MfwMnuItem* item); int AUI_IPAddress1(MfwMnu* menu, MfwMnuItem* item); int AUI_IPAddress2(MfwMnu* menu, MfwMnuItem* item); int AUI_Port1(MfwMnu* menu, MfwMnuItem* item); int AUI_Port2(MfwMnu* menu, MfwMnuItem* item); int AUI_APN(MfwMnu* menu, MfwMnuItem* item); int AUI_username(MfwMnu* menu, MfwMnuItem* item); int AUI_password(MfwMnu* menu, MfwMnuItem* item); int AUI_response_timer(MfwMnu* menu, MfwMnuItem* item); int AUI_savehist(MfwMnu* menu, MfwMnuItem* item); int AUI_savehist_set(MfwMnu* menu, MfwMnuItem* item); int AUI_scaleimages(MfwMnu* menu, MfwMnuItem* item); int AUI_scaleimages_set(MfwMnu* menu, MfwMnuItem* item); #ifdef FF_GPF_TCPIP T_MFW_HND AUI_wap_launch_browser(char *URL,UBYTE* bearer_list,UBYTE bearer_list_len); #endif void AUI_wap_extDestroy(void); void AUI_wap_gprs_status(UBYTE status); void AUI_wap_gprs_cb(UBYTE status);//xrashmic 13 Feb, 2006 MMI-SPR-58532 void AUI_wap_call_connect(SHORT cId); void AUI_wap_call_disconnect(SHORT cId); void AUI_end_call(SHORT cId); UBYTE AUI_wap_in_call(void); void AUI_wap_browser_disconnect(void); // RAVI #ifdef FF_GPF_TCPIP void AUI_wap_content_get(UBYTE id, char *Url, BOOL reload, char *acceptHeader); int AUI_wap_push_list(MfwMnu* menu, MfwMnuItem* item); int AUI_wap_push_message_read(MfwMnu* menu, MfwMnuItem* item); int AUI_wap_push_message_delete(MfwMnu* menu, MfwMnuItem* item); int AUI_wap_push_showmessages(MfwMnu* menu, MfwMnuItem* item); int AUI_wap_push_showmessages_set(MfwMnu* menu, MfwMnuItem* item); #endif