this will take a image from C328 serial camera and store those images in mbed flash as html and this html page is uploaded into the server at ip:192.168.1.2
lwip/SNTPClient/DstZones.h@0:e1a0471e5ffb, 2010-12-15 (annotated)
- Committer:
- mitesh2patel
- Date:
- Wed Dec 15 15:01:56 2010 +0000
- Revision:
- 0:e1a0471e5ffb
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mitesh2patel | 0:e1a0471e5ffb | 1 | // DstZone.h |
mitesh2patel | 0:e1a0471e5ffb | 2 | // Written by iva2k |
mitesh2patel | 0:e1a0471e5ffb | 3 | // |
mitesh2patel | 0:e1a0471e5ffb | 4 | // Data-driven implementation of DST zones. |
mitesh2patel | 0:e1a0471e5ffb | 5 | // This file is included into many places. |
mitesh2patel | 0:e1a0471e5ffb | 6 | // _() macro is defined for each specific use. |
mitesh2patel | 0:e1a0471e5ffb | 7 | |
mitesh2patel | 0:e1a0471e5ffb | 8 | // zone is DST symbol |
mitesh2patel | 0:e1a0471e5ffb | 9 | // pFnc is NULL or custom function of pFncDstCalc type |
mitesh2patel | 0:e1a0471e5ffb | 10 | // gmt 0..1 |
mitesh2patel | 0:e1a0471e5ffb | 11 | // dst - shift in seconds (typically 3600) |
mitesh2patel | 0:e1a0471e5ffb | 12 | // hr 0..23 |
mitesh2patel | 0:e1a0471e5ffb | 13 | // wk 0=last, 1=first, 2=second, etc. |
mitesh2patel | 0:e1a0471e5ffb | 14 | // wday 0=Sunday |
mitesh2patel | 0:e1a0471e5ffb | 15 | // mon 0..11 |
mitesh2patel | 0:e1a0471e5ffb | 16 | |
mitesh2patel | 0:e1a0471e5ffb | 17 | // _( z, fnc, gmt, dst, hr1,wk1,wday1,mon1, hr2,wk2,wday2,mon2 ) |
mitesh2patel | 0:e1a0471e5ffb | 18 | |
mitesh2patel | 0:e1a0471e5ffb | 19 | // zone, pFnc, gmt,dst, 1:hr,wk,wday,mon, 2:hr,wk,wday,mon |
mitesh2patel | 0:e1a0471e5ffb | 20 | //------------------------------------------------------------------------------ |
mitesh2patel | 0:e1a0471e5ffb | 21 | _( DST_NONE, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ) |
mitesh2patel | 0:e1a0471e5ffb | 22 | |
mitesh2patel | 0:e1a0471e5ffb | 23 | // USA: 3600; 2, Second SUN, March; 2, First SUN, November |
mitesh2patel | 0:e1a0471e5ffb | 24 | _( DST_USA, NULL, 0, 3600, 2, 2, 0, 2, 2, 1, 0, 10 ) |
mitesh2patel | 0:e1a0471e5ffb | 25 | |
mitesh2patel | 0:e1a0471e5ffb | 26 | // USA: 3600; 2, First SUN, April; 2, Last SUN, October (Pre-2007) |
mitesh2patel | 0:e1a0471e5ffb | 27 | _( DST_USA_06, NULL, 0, 3600, 2, 1, 0, 3, 2, 0, 0, 9 ) |
mitesh2patel | 0:e1a0471e5ffb | 28 | |
mitesh2patel | 0:e1a0471e5ffb | 29 | // EU: 3600; 1GMT, Last SUN, March; 1GMT, Last SUN, October |
mitesh2patel | 0:e1a0471e5ffb | 30 | _( DST_EU_GMT, NULL, 1, 3600, 1, 0, 0, 2, 1, 0, 0, 9 ) |
mitesh2patel | 0:e1a0471e5ffb | 31 | |
mitesh2patel | 0:e1a0471e5ffb | 32 | // // Just for test |
mitesh2patel | 0:e1a0471e5ffb | 33 | //_( DST_TEST, NULL, 0, 3600, 18, 1, 2, 0, 12, 1, 4, 0 ) |
mitesh2patel | 0:e1a0471e5ffb | 34 | |
mitesh2patel | 0:e1a0471e5ffb | 35 | |
mitesh2patel | 0:e1a0471e5ffb | 36 | #undef _ |
mitesh2patel | 0:e1a0471e5ffb | 37 | //END |