Files
arduino-esp32/libraries/NetBIOS/src/NetBIOS.h
me-no-dev 8dc70e0add Revert "Update licenses"
This reverts commit 4b3f5c8ed4.
2021-03-11 12:11:53 +02:00

27 lines
418 B
C++
Executable File

//
#ifndef __ESPNBNS_h__
#define __ESPNBNS_h__
#include <WiFi.h>
#include "AsyncUDP.h"
class NetBIOS
{
protected:
AsyncUDP _udp;
String _name;
void _onPacket(AsyncUDPPacket& packet);
public:
NetBIOS();
~NetBIOS();
bool begin(const char *name);
void end();
};
#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_NETBIOS)
extern NetBIOS NBNS;
#endif
#endif