mirror of
				https://github.com/0xFEEDC0DE64/arduino-esp32.git
				synced 2025-11-04 08:01:38 +01:00 
			
		
		
		
	
		
			
	
	
		
			19 lines
		
	
	
		
			412 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			412 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
								 | 
							
								/*
							 | 
						||
| 
								 | 
							
								 * Universally Unique IDentifier (UUID)
							 | 
						||
| 
								 | 
							
								 * Copyright (c) 2008, Jouni Malinen <j@w1.fi>
							 | 
						||
| 
								 | 
							
								 *
							 | 
						||
| 
								 | 
							
								 * This software may be distributed under the terms of the BSD license.
							 | 
						||
| 
								 | 
							
								 * See README for more details.
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#ifndef UUID_H
							 | 
						||
| 
								 | 
							
								#define UUID_H
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#define UUID_LEN 16
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								int uuid_str2bin(const char *str, u8 *bin);
							 | 
						||
| 
								 | 
							
								int uuid_bin2str(const u8 *bin, char *str, size_t max_len);
							 | 
						||
| 
								 | 
							
								int is_nil_uuid(const u8 *uuid);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#endif /* UUID_H */
							 |