Modified version of NetServices. Fixes an issue where connections failed should the HTTP response status line be received in a packet on its own prior to any further headers. Changes are made to the HTTPClient.cpp file's readHeaders method.
drv/umtsstick/UMTSStickData.cpp@0:ec559500a63f, 2011-04-08 (annotated)
- Committer:
- andrewbonney
- Date:
- Fri Apr 08 14:39:41 2011 +0000
- Revision:
- 0:ec559500a63f
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewbonney | 0:ec559500a63f | 1 | #include "UMTSStick.h" |
andrewbonney | 0:ec559500a63f | 2 | |
andrewbonney | 0:ec559500a63f | 3 | const UMTSSwitchingInfo UMTSwitchingTable[UMTS_SWITCHING_COUNT] = { |
andrewbonney | 0:ec559500a63f | 4 | |
andrewbonney | 0:ec559500a63f | 5 | /* |
andrewbonney | 0:ec559500a63f | 6 | struct UMTSSwitchingInfo |
andrewbonney | 0:ec559500a63f | 7 | { |
andrewbonney | 0:ec559500a63f | 8 | uint16_t cdfsVid; |
andrewbonney | 0:ec559500a63f | 9 | uint16_t cdfsPid; |
andrewbonney | 0:ec559500a63f | 10 | uint16_t serialVid; |
andrewbonney | 0:ec559500a63f | 11 | uint16_t serialPidList[16]; |
andrewbonney | 0:ec559500a63f | 12 | byte targetClass; |
andrewbonney | 0:ec559500a63f | 13 | bool huaweiPacket; |
andrewbonney | 0:ec559500a63f | 14 | byte cdfsPacket[31]; |
andrewbonney | 0:ec559500a63f | 15 | }; |
andrewbonney | 0:ec559500a63f | 16 | */ |
andrewbonney | 0:ec559500a63f | 17 | |
andrewbonney | 0:ec559500a63f | 18 | //Huawei E220, E230, E270, E870 |
andrewbonney | 0:ec559500a63f | 19 | { 0x12d1, 0x1003, 0, {0}, 0xFF, true, {0} }, |
andrewbonney | 0:ec559500a63f | 20 | |
andrewbonney | 0:ec559500a63f | 21 | //Huawei E1550, E270+ |
andrewbonney | 0:ec559500a63f | 22 | { 0x12d1, 0x1446, 0x12d1, {0x1001, 0x1406, 0x140c, 0x14ac/*, 0x1003*/}, 0, false, { 0x55, 0x53, 0x42, 0x43, 0x12, 0x34, 0x56, 0x78, 0, 0, 0, 0, 0, 0, 0, 0x11, 0x06, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } } |
andrewbonney | 0:ec559500a63f | 23 | |
andrewbonney | 0:ec559500a63f | 24 | }; |