arduino-midi
Public Member Functions | Protected Attributes | List of all members
midi::MidiUdp< UDPClass > Class Template Reference

Simple UDP wrapper class which sends all packages to the same destination. More...

#include <MidiUdp.h>

Inheritance diagram for midi::MidiUdp< UDPClass >:

Public Member Functions

 MidiUdp (char *addessStr, int targetPort)
 
 MidiUdp (IPAddress address, int targetPort)
 
bool isValidHost ()
 
void setTargetPort (int port)
 
size_t write (const uint8_t *buffer, size_t size)
 

Protected Attributes

bool isValidHostFlag
 
int targetPort
 
IPAddress targetUdpAddress
 

Detailed Description

template<class UDPClass = WiFiUDP>
class midi::MidiUdp< UDPClass >

Simple UDP wrapper class which sends all packages to the same destination.

This is useful when the API asks for a stream as parameter to output data.

by Phil Schatzmann


The documentation for this class was generated from the following file: