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

UniqueId.h « Platform « src - github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dc51db66b112abaf73abe1bb63509c7809f33bde (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
/*
 * UniqueId.h
 *
 *  Created on: 4 Oct 2021
 *      Author: David
 *
 *  This class extends UniqueIdBase to add additional functions
 */

#ifndef SRC_PLATFORM_UNIQUEID_H_
#define SRC_PLATFORM_UNIQUEID_H_

#include <UniqueIdBase.h>
#include <Platform/OutputMemory.h>
#include <Networking/NetworkDefs.h>

// Unique ID class extended with some additional functions
class UniqueId : public UniqueIdBase
{
public:
	void AppendCharsToBuffer(OutputBuffer *buf) const noexcept;
	void GenerateMacAddress(MacAddress& addr) const noexcept;
};

#endif /* SRC_PLATFORM_UNIQUEID_H_ */