![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Arianna autonomous DAQ firmware
Dependencies: mbed SDFileSystemFilinfo AriSnProtocol NetServicesMin AriSnComm MODSERIAL PowerControlClkPatch DS1820OW
SnUIDtoMac.h
- Committer:
- uci1
- Date:
- 2019-06-05
- Revision:
- 125:ce4045184366
- Parent:
- 116:8099b754fbb4
File content as of revision 125:ce4045184366:
#ifndef SN_SnUIDtoMac #define SN_SnUIDtoMac #include <stdint.h> #include "SnPreCompOptions.h" #include "SnLPC1768UID.h" class SnUIDtoMac { public: static const uint8_t kNumMacBytes = 6; // 48 bit MAC addresses static void GetMacAddress( char mac[kNumMacBytes] ); static bool GetMacFromUIDtable(const uint32_t uid[SnLPC1768UID::kUIDlen], char mac[kNumMacBytes] ); static void GetMacFromCRCofUID(const uint32_t uid[SnLPC1768UID::kUIDlen], char mac[kNumMacBytes] ); }; #endif // SN_SnUIDtoMac