Welcome to mirror list, hosted at ThFree Co, Russian Federation.

MulticastResponder.h « MulticastDiscovery « Networking « src - github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a9d71babccc0ce17085a9c640ecc156d79f4691f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * MulricastResponder.h
 *
 *  Created on: 12 Jul 2022
 *      Author: David
 */

#ifndef SRC_NETWORKING_MULTICASTRESPONDER_H_
#define SRC_NETWORKING_MULTICASTRESPONDER_H_

#include <RepRapFirmware.h>

#if SUPPORT_MULTICAST_DISCOVERY

#include <NetworkDefs.h>

namespace MulticastResponder
{
	void Init() noexcept;
	void Spin() noexcept;
	void Start(TcpPort port) noexcept;
	void Stop() noexcept;
	void SendResponse(uint8_t *data, size_t length) noexcept;
	void ScheduleReboot() noexcept;
	void Diagnostics(MessageType mtype) noexcept;
}

#endif

#endif /* SRC_NETWORKING_MULTICASTRESPONDER_H_ */