0.14.0 #8
Closed
ssilverman
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Added
util::StdioPrint
class, aPrint
decorator for stdio output files. It routesPrint
functions to a specificFILE*
. This exists mainly to make it easy to usePrintable
objects without needing a prior call tofflush()
.MDNSClass::maxServices()
.operator==()
andoperator!=()
operators forconst IPAddress
. They are in the usual namespace. These allow==
to be used withconst IPAddress
values without having to useconst_cast
, and also introduce the completely missing!=
operator._write()
function as weak via a newQNETHERNET_WEAK_WRITE
macro. Defining this macro will cause the function to be declared as weak.EthernetFrameClass::availableForWrite()
.EthernetFrameClass
write functions.EthernetClass::waitForLink(timeout)
function that waits for a link to be detected.EthernetClass::setMACAddressAllowed(mac, flag)
Changed
SNTPClient
example to useEthernetUDP::send()
instead ofbeginPacket()
/write()
/endPacket()
.PixelPusherServer
example to use the frame average for the update period.EthernetHardwareStatus
enum for the deprecatedEthernet.hardwareStatus()
function. This replaces the zero return value with the new non-zeroEthernetOtherHardware
._write()
(stdio) to do nothing if the requested length is zero because that's whatfwrite()
is specified to do.operator!=()
forIPAddress
.EthernetFrame
-related documentation to explain that the API doesn't receive any known Ethernet frame types, including IPv4, ARP, and IPv6 (if enabled).Ethernet.macAddress()
retrieves, not sets.EthernetClass::setMACAddress(mac)
parameter toconst
.Fixed
EthernetUDP::send()
function to take the host and port as arguments, per its description. There's now two of them: one that takes anIPAddress
and another that takes achar *
hostname.enet_output_frame()
to correctly returnfalse
if Ethernet is not initialized.This discussion was created from the release 0.14.0.
Beta Was this translation helpful? Give feedback.
All reactions