Generate device name
This commit is contained in:
21
esp32_device/main/random.h
Normal file
21
esp32_device/main/random.h
Normal file
@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Random utilities
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Generate random string of given size
|
||||
*/
|
||||
void rand_str(size_t len, char *dest);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user