mirror of
https://github.com/khoih-prog/AsyncHTTPRequest_Generic.git
synced 2025-09-25 13:20:53 +02:00
Update Packages' Patches
This commit is contained in:
1730
Packages_Patches/Fab_SAM_Arduino/hardware/samd/1.8.0/boards.txt
Normal file
1730
Packages_Patches/Fab_SAM_Arduino/hardware/samd/1.8.0/boards.txt
Normal file
File diff suppressed because it is too large
Load Diff
1751
Packages_Patches/Fab_SAM_Arduino/hardware/samd/1.9.0/boards.txt
Normal file
1751
Packages_Patches/Fab_SAM_Arduino/hardware/samd/1.9.0/boards.txt
Normal file
File diff suppressed because it is too large
Load Diff
@@ -54,7 +54,8 @@ class Stream : public Print
|
|||||||
unsigned long _startMillis = 0; // used for timeout measurement
|
unsigned long _startMillis = 0; // used for timeout measurement
|
||||||
int timedRead(); // read stream with timeout
|
int timedRead(); // read stream with timeout
|
||||||
int timedPeek(); // peek stream with timeout
|
int timedPeek(); // peek stream with timeout
|
||||||
int peekNextDigit(LookaheadMode lookahead, bool detectDecimal); // returns the next numeric digit in the stream or -1 if timeout
|
int peekNextDigit(LookaheadMode lookahead,
|
||||||
|
bool detectDecimal); // returns the next numeric digit in the stream or -1 if timeout
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual int available() = 0;
|
virtual int available() = 0;
|
||||||
@@ -99,7 +100,8 @@ class Stream : public Print
|
|||||||
return findUntil((char *)target, terminator);
|
return findUntil((char *)target, terminator);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool findUntil(char *target, size_t targetLen, char *terminate, size_t termLen); // as above but search ends if the terminate string is found
|
bool findUntil(char *target, size_t targetLen, char *terminate,
|
||||||
|
size_t termLen); // as above but search ends if the terminate string is found
|
||||||
bool findUntil(uint8_t *target, size_t targetLen, char *terminate, size_t termLen)
|
bool findUntil(uint8_t *target, size_t targetLen, char *terminate, size_t termLen)
|
||||||
{
|
{
|
||||||
return findUntil((char *)target, targetLen, terminate, termLen);
|
return findUntil((char *)target, targetLen, terminate, termLen);
|
||||||
|
@@ -54,7 +54,8 @@ class Stream : public Print
|
|||||||
unsigned long _startMillis = 0; // used for timeout measurement
|
unsigned long _startMillis = 0; // used for timeout measurement
|
||||||
int timedRead(); // read stream with timeout
|
int timedRead(); // read stream with timeout
|
||||||
int timedPeek(); // peek stream with timeout
|
int timedPeek(); // peek stream with timeout
|
||||||
int peekNextDigit(LookaheadMode lookahead, bool detectDecimal); // returns the next numeric digit in the stream or -1 if timeout
|
int peekNextDigit(LookaheadMode lookahead,
|
||||||
|
bool detectDecimal); // returns the next numeric digit in the stream or -1 if timeout
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual int available() = 0;
|
virtual int available() = 0;
|
||||||
@@ -99,7 +100,8 @@ class Stream : public Print
|
|||||||
return findUntil((char *)target, terminator);
|
return findUntil((char *)target, terminator);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool findUntil(char *target, size_t targetLen, char *terminate, size_t termLen); // as above but search ends if the terminate string is found
|
bool findUntil(char *target, size_t targetLen, char *terminate,
|
||||||
|
size_t termLen); // as above but search ends if the terminate string is found
|
||||||
bool findUntil(uint8_t *target, size_t targetLen, char *terminate, size_t termLen)
|
bool findUntil(uint8_t *target, size_t targetLen, char *terminate, size_t termLen)
|
||||||
{
|
{
|
||||||
return findUntil((char *)target, targetLen, terminate, termLen);
|
return findUntil((char *)target, targetLen, terminate, termLen);
|
||||||
|
@@ -42,7 +42,8 @@ class UDP : public Stream
|
|||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual uint8_t begin(uint16_t) = 0; // initialize, start listening on specified port. Returns 1 if successful, 0 if there are no sockets available to use
|
virtual uint8_t begin(uint16_t) =
|
||||||
|
0; // initialize, start listening on specified port. Returns 1 if successful, 0 if there are no sockets available to use
|
||||||
|
|
||||||
// KH, add virtual function to support Multicast, necessary for many services (MDNS, UPnP, etc.)
|
// KH, add virtual function to support Multicast, necessary for many services (MDNS, UPnP, etc.)
|
||||||
virtual uint8_t beginMulticast(IPAddress, uint16_t)
|
virtual uint8_t beginMulticast(IPAddress, uint16_t)
|
||||||
|
1730
Packages_Patches/Seeeduino/hardware/samd/1.7.0/boards.txt
Normal file
1730
Packages_Patches/Seeeduino/hardware/samd/1.7.0/boards.txt
Normal file
File diff suppressed because it is too large
Load Diff
@@ -20,7 +20,6 @@
|
|||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <stdio.h> // for size_t
|
#include <stdio.h> // for size_t
|
||||||
#include <stdarg.h> // for printf
|
|
||||||
|
|
||||||
#include "WString.h"
|
#include "WString.h"
|
||||||
#include "Printable.h"
|
#include "Printable.h"
|
||||||
|
@@ -20,7 +20,6 @@
|
|||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <stdio.h> // for size_t
|
#include <stdio.h> // for size_t
|
||||||
#include <stdarg.h> // for printf
|
|
||||||
|
|
||||||
#include "WString.h"
|
#include "WString.h"
|
||||||
#include "Printable.h"
|
#include "Printable.h"
|
||||||
|
@@ -20,7 +20,6 @@
|
|||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <stdio.h> // for size_t
|
#include <stdio.h> // for size_t
|
||||||
#include <stdarg.h> // for printf
|
|
||||||
|
|
||||||
#include "WString.h"
|
#include "WString.h"
|
||||||
#include "Printable.h"
|
#include "Printable.h"
|
||||||
|
@@ -42,7 +42,8 @@ class UDP : public Stream
|
|||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual uint8_t begin(uint16_t) = 0; // initialize, start listening on specified port. Returns 1 if successful, 0 if there are no sockets available to use
|
virtual uint8_t begin(uint16_t) =
|
||||||
|
0; // initialize, start listening on specified port. Returns 1 if successful, 0 if there are no sockets available to use
|
||||||
virtual uint8_t beginMulticast(IPAddress, uint16_t)
|
virtual uint8_t beginMulticast(IPAddress, uint16_t)
|
||||||
{
|
{
|
||||||
return 0; // initialize, start listening on specified multicast IP address and port. Returns 1 if successful, 0 on failure
|
return 0; // initialize, start listening on specified multicast IP address and port. Returns 1 if successful, 0 on failure
|
||||||
|
@@ -42,7 +42,8 @@ class UDP : public Stream
|
|||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual uint8_t begin(uint16_t) = 0; // initialize, start listening on specified port. Returns 1 if successful, 0 if there are no sockets available to use
|
virtual uint8_t begin(uint16_t) =
|
||||||
|
0; // initialize, start listening on specified port. Returns 1 if successful, 0 if there are no sockets available to use
|
||||||
virtual uint8_t beginMulticast(IPAddress, uint16_t)
|
virtual uint8_t beginMulticast(IPAddress, uint16_t)
|
||||||
{
|
{
|
||||||
return 0; // initialize, start listening on specified multicast IP address and port. Returns 1 if successful, 0 on failure
|
return 0; // initialize, start listening on specified multicast IP address and port. Returns 1 if successful, 0 on failure
|
||||||
|
Reference in New Issue
Block a user