Articles Posted by the Author:

  • EthernetUDP.available()

    EthernetUDP.available()

    Description Get the number of bytes (characters) available for reading from the buffer. This is data that’s already arrived. This function can only be successfully called after Udp.parsePacket(). available() inherits from the Stream utility class. Syntax Udp.available() Parameters None Returns the number of bytes available to read Example See Also - Stream.available() Libraries Reference Home […]


  • EthernetUDP.endPacket()

    EthernetUDP.endPacket()

    Description Called after writing UDP data to the remote connection. Syntax Udp.endPacket(); Parameters None Returns None Example Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.


  • EthernetUDP.beginPacket()

    EthernetUDP.beginPacket()

    Description Starts a connection to write UDP data to the remote connection Syntax Udp.beginPacket(remoteIP, remotePort); Parameters remoteIP: the IP address of the remote connection (4 bytes) remotePort: the port of the remote connection (int) Returns None Example Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is […]


  • set_bank()

    set_bank()

    Description Set to use the 16 KB bank of virtual EEPROM in the on-board flash. Syntax EEPROM.set_bank(flag) Parameters flag: indicate whether the EEPROM library shall access the 16 KB bank of virtual EEPROM (bool) If flag = true, then the EEPROM library access the 16 KB bank of virtual EEPROM, and if flag = false, […]


  • EthernetUDP.write()

    EthernetUDP.write()

    Description Writes UDP data to the remote connection. Must be wrapped between beginPacket() and endPacket(). beginPacket() initializes the packet of data, it is not sent until endPacket() is called. (Remarks: the maximum size of the packet is 512-byte in 86Duino, in contrast with 24-byte in Arduino.) Syntax Udp.write(message); Udp.write(buffer, size); Parameters message: the outgoing message […]


  • EthernetUDP.read()

    EthernetUDP.read()

    Description Reads UDP data from the specified buffer. If no arguments are given, it will return the next character in the buffer. This function can only be successfully called after Udp.parsePacket(). Syntax Udp.read(); Udp.read(packetBuffer, MaxSize); Parameters packetBuffer: buffer to hold incoming packets (char) MaxSize: maximum size of the buffer (int) Returns char : returns the […]


  • EthernetUDP.begin()

    EthernetUDP.begin()

    Description Initializes the ethernet UDP library and network settings. Syntax Udp.begin(localPort); Parameters localPort: the local port to listen on (int) Returns None Example Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are […]


  • stop()

    stop()

    Description Disconnect from the server. Syntax client.stop() Parameters none Returns none Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.


  • flush()

    flush()

    Description Discard any bytes that have been written to the client but not yet read. flush() inherits from the Stream utility class. Syntax client.flush() Parameters none Returns none See also - Stream.flush() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons […]


  • read()

    read()

    Description Read the next byte received from the server the client is connected to (after the last call to read()). read() inherits from the Stream utility class. Syntax client.read() Parameters none Returns The next byte (or character), or -1 if none is available. See Also - Stream.read() Libraries Reference Home The text of the 86Duino […]