iSDIO Library for TOSHIBA FlashAir. include HTTP or HTTPS Client.
Dependents: FlashAir_Twitter Neon_F303K8_04
Fork of HTTPClient by
Diff: HTTPClient.h
- Revision:
- 20:51abf34bcc06
- Parent:
- 19:3b1625dbd7e9
--- a/HTTPClient.h Sun Dec 14 19:05:31 2014 +0000 +++ b/HTTPClient.h Mon Dec 15 12:23:22 2014 +0000 @@ -24,7 +24,7 @@ #ifndef HTTP_CLIENT_H #define HTTP_CLIENT_H -#include "TCPSocketConnection.h" +#include "iSDIO.h" #define HTTP_CLIENT_DEFAULT_TIMEOUT 15000 @@ -140,7 +140,14 @@ HTTPResult parseURL(const char* url, char* scheme, size_t maxSchemeLen, char* host, size_t maxHostLen, uint16_t* port, char* path, size_t maxPathLen); //Parse URL //Parameters - TCPSocketConnection m_sock; + SD_iSDIO* card; + uint32_t sequenceId; + + uint8_t buffer[512 * 2]; + uint8_t* bufferPos; + uint8_t recvCount; + uint32_t recvTotalSize; + uint32_t recvAvailableSize; int m_timeout;