view src/ui/bmi/Icons/IcnGprs.c @ 301:4bb5772a05a3

AT%SPVER: new command for setting custom speech version lists The speech version list in the Bearer Capability IE tells the network which speech codecs are supported by the MS, and in which order of preference. The standard behaviour is to list all codecs that are supported by the hw+fw platform, and the standard preference order is newer over older, FR over HR. But sometimes it is desirable (for network testing) to artificially restrict which codecs the test MS will declare as supported, and/or to list them in some peculiar non-standard order of preference. Add a new private AT command, AT%SPVER, allowing the user to set and clear custom speech version lists for the Bearer Capability IE composer in CC.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 21 May 2023 21:43:10 +0000
parents 67bfe9f274f6
children
line wrap: on
line source

#include "IcnDefs.h"
#ifdef WIDEICONS
const unsigned char I_gprsColour[] = {	
0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x7F,0x7F,0x7F,0x7F,0x7F,0x7F,0x7F,0x7F,0x7F,0x00,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x7F,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x7F,
0x00,0x25,0x25,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x7F,0x7F,0x00,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x7F,0x00,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,
0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,
0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x00,0x00,0x00,0x00,0x25,0x25,0x00,0x7F,
0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x00,0x00,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,
0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x00,0x00,0x7F,0x7F,0x7F,0x7F,0x00,0x25,
0x25,0x25,0x25,0x25,0x00,0x7F,0x7F,0x7F,0x7F,0x00,0x00,0x00,0x00,0x7F,0x7F,0x7F,0x00,0x7F,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x7F,0x7F,0x7F,0x7F,0x7F,0x7F,0x7F,0x00,0x00,0x25,0x00,0x7F,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x25,0x25,0x25,0x25,0x00,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,
0x25,0x25,0x25,
0x00 };
#define ICON_SX 21
#else
const unsigned char I_gprsColour[] = {	
0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x56,0x56,0x56,0x56,0x56,0x56,0x56,0x56,0x00,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x56,0x00,0x00,0x00,0x00,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,
0x56,0x00,0x25,0x25,0x25,0x25,0x00,0x00,0x56,0x56,0x00,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x56,0x00,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x25,0x25,0x25,
0x00,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,
0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x00,0x25,
0x25,0x25,0x25,0x00,0x00,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x00,0x25,0x25,0x25,
0x00,0x56,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x00,0x56,0x56,0x56,0x56,0x56,0x00,0x00,0x00,0x56,0x56,0x00,0x56,0x56,0x00,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x56,0x56,0x56,0x56,0x56,0x56,0x56,0x00,0x25,
0x00,0x56,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x25,0x25,0x25,0x00,0x00,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,
0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,
0x00 };
#define ICON_SX 19
#endif
#if (BOARD == 61)
/* OMA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 19
#endif
/* END */
#endif
//Return information about this bitmap
int icnGPRS_dataformat( char* *bmp, int *sx, int *sy, int *format, char **palette)
{
	*bmp = (char*)I_gprsColour;
	*sx = ICON_SX;
	*sy = 22;
	*format = ICON_TYPE_256Colour;
	return (0);

}

#if (BOARD == 61)
/* OMAP00074454 - 24-04-2006 */
/* ===========================================================*/
/**
* icnEDGE_dataformat () data format for E-GPRS is set in this function
*
* @param char* *bmp - Bitmap pointer.
*
* @param  int *sx -  x position
*
* @param  int *sy -  y position
*
* @param  int *format -  Format
*
* @param char **palette - Colour pallete.
*
*  @return integer - 1- for SUCCESS and 0- For Failure
*
*  @see
*/
/* =========================================================== */
int icnEDGE_dataformat( char* *bmp, int *sx, int *sy, int *format, char **palette)
{
	*bmp = (char*)I_edgeColour;
	*sx = ICON_SX;
	*sy = 22;
	*format = ICON_TYPE_256Colour;
	return (0);

}
/* END */
#endif