GSM_Information N6110_Information = {\r
"3210|3310|3330|5110|5130|5190|6110|6130|6150|6190|8210|8850",\r
/* Supported models in FBUS */\r
- "3210|3310|3330|5110|5130|5190|6110|6130|6150|6190|8210|8850",\r
+ "3210|3310|3330|5110|5130|5190|6110|6130|6150|6190|8210|8850|9210",\r
/* Supported models in MBUS */\r
"6110|6130|6150|8210|8850",\r
/* Supported models in FBUS over infrared */\r
"8210|8850",
/* infrared sockets */
"6110|6130|6150|8210|8850",
- /* Supported models in FBUS over infrared with Tekram device */\r
+ /* Supported models in FBUS over infrared with Tekram device */\r "",
4, /* Max RF Level */\r
0, /* Min RF Level */\r
GRF_Arbitrary, /* RF level units */\r
fprintf(stdout, _("Message: SMS reading failed\n"));\r
\r
switch (MessageBuffer[4]) {\r
- case 0x02:\r
- fprintf(stdout, _(" Invalid location!\n"));break;\r
- case 0x07:\r
- fprintf(stdout, _(" Empty SMS location.\n"));break;\r
- case 0x0c:\r
- fprintf(stdout, _(" No access to memory (no PIN on card ?)\n"));break;\r
- default: \r
- fprintf(stdout, _(" Error code %i - please report it \n"),MessageBuffer[4]);break;\r
+ case 0x02:fprintf(stdout, _(" Invalid location!\n"));break;\r
+ case 0x07:fprintf(stdout, _(" Empty SMS location.\n"));break;\r
+ case 0x0c:fprintf(stdout, _(" No access to memory (no PIN on card ?)\n"));break;\r
+ default :fprintf(stdout, _(" Error code %i - please report it \n"),MessageBuffer[4]);break;\r
}\r
#endif /* DEBUG */\r
\r
switch (PDU) {
case SMS_Submit:
offset=5;
- for (i=0;i<((ETSI.Number[0]+1)/2+1)+1;i++)
- req[i+12+offset]=ETSI.Number[i];
+ for (i=0;i<((ETSI.Number[0]+1)/2+1)+1;i++) req[i+12+offset]=ETSI.Number[i];
req[10+offset]=ETSI.TPDCS;
req[11+offset]=ETSI.TPUDL;
req[24+offset]=ETSI.TPVP;
// fprintf(stdout,_(" TP-DCS: %02x\n"),ETSI.TPDCS);
#endif
// req[]=ETSI.TPPID;
- for(i=0;i<*length;i++)
- req[i+31+offset]=ETSI.MessageText[i];
+ for(i=0;i<*length;i++) req[i+31+offset]=ETSI.MessageText[i];
break;
case SMS_Deliver:
offset=4;
- for (i=0;i<((ETSI.Number[0]+1)/2+1)+1;i++)
- req[i+12+offset]=ETSI.Number[i];
+ for (i=0;i<((ETSI.Number[0]+1)/2+1)+1;i++) req[i+12+offset]=ETSI.Number[i];
req[10+offset]=ETSI.TPDCS;
req[11+offset]=ETSI.TPUDL;
// req[]=ETSI.TPPID;
- for(i=0;i<*length;i++)
- req[i+31+offset]=ETSI.MessageText[i];
- for (i=0;i<7;i++)
- req[24+offset+i]=ETSI.DeliveryDateTime[i];
+ for(i=0;i<*length;i++) req[i+31+offset]=ETSI.MessageText[i];
+ for (i=0;i<7;i++) req[24+offset+i]=ETSI.DeliveryDateTime[i];
break;
default:
break;