1 /*!
2  * \file      soft-se-hal.h
3  *
4  * \brief     Secure Element hardware abstraction layer implementation
5  *
6  * \copyright Revised BSD License, see section \ref LICENSE.
7  *
8  * \code
9  *                ______                              _
10  *               / _____)             _              | |
11  *              ( (____  _____ ____ _| |_ _____  ____| |__
12  *               \____ \| ___ |    (_   _) ___ |/ ___)  _ \
13  *               _____) ) ____| | | || |_| ____( (___| | | |
14  *              (______/|_____)_|_|_| \__)_____)\____)_| |_|
15  *              (C)2020 Semtech
16  *
17  *               ___ _____ _   ___ _  _____ ___  ___  ___ ___
18  *              / __|_   _/_\ / __| |/ / __/ _ \| _ \/ __| __|
19  *              \__ \ | |/ _ \ (__| ' <| _| (_) |   / (__| _|
20  *              |___/ |_/_/ \_\___|_|\_\_| \___/|_|_\\___|___|
21  *              embedded.connectivity.solutions===============
22  *
23  * \endcode
24  *
25  */
26 #include "board.h"
27 #include "radio.h"
28 
29 #include "lr1110-se-hal.h"
30 
LR1110SeHalGetUniqueId(uint8_t * id)31 void LR1110SeHalGetUniqueId( uint8_t *id )
32 {
33     BoardGetUniqueId( id );
34 }
35 
LR1110SeHalGetRandomNumber(void)36 uint32_t LR1110SeHalGetRandomNumber( void )
37 {
38     return Radio.Random( );
39 }
40