mirror of
https://github.com/pschatzmann/arduino-audio-tools.git
synced 2024-09-21 18:37:28 +00:00
Added function for available bytes, so UDP is willing to take bytes as a Print
This commit is contained in:
parent
16cce947d5
commit
22b50c2d18
@ -396,6 +396,13 @@ class UDPStream : public WiFiUDP {
|
|||||||
this->password = password;
|
this->password = password;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Always return 1492 (MTU 1500 - 8 byte header) as UDP packet available to write
|
||||||
|
*/
|
||||||
|
int availableForWrite() {
|
||||||
|
return 1492;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides the available size of the current package and if this is used up
|
* Provides the available size of the current package and if this is used up
|
||||||
* of the next package
|
* of the next package
|
||||||
|
Loading…
Reference in New Issue
Block a user