annotate g23m/condat/ms/src/bmi/Icons/IcnGprs.c @ 48:616f63f3e501 default tip

fixed bug in etm_pkt_send() dealing with max-sized packets: this fix is needed for fc-fsio cpout command to work like it does with Pirelli's firmware (they must have made the same fix)
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Fri, 13 Nov 2015 19:11:07 +0000
parents 509db1a7b7b8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
1 #include "IcnDefs.h"
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
2 #ifdef WIDEICONS
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
3 const unsigned char I_gprsColour[] = {
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
4 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,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
5 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,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
6 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,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
7 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,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
8 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,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
9 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,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
10 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,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
11 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,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
12 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,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
13 0x25,0x25,0x25,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
14 0x00 };
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
15 #define ICON_SX 21
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
16 #else
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
17 const unsigned char I_gprsColour[] = {
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
18 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,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
19 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,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
20 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,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
21 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,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
22 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,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
23 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,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
24 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,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
25 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,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
26 0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,0x25,
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
27 0x00 };
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
28 #define ICON_SX 19
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
29 #endif
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
30 //Return information about this bitmap
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
31 int icnGPRS_dataformat( char* *bmp, int *sx, int *sy, int *format, char **palette)
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
32 {
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
33 *bmp = (char*)I_gprsColour;
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
34 *sx = ICON_SX;
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
35 *sy = 22;
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
36 *format = ICON_TYPE_256Colour;
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
37 return (0);
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
38
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
39 }
509db1a7b7b8 initial import: leo2moko-r1
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
40