Move functions for packing/unpacking PARAM.response
Add unitary test for PARAM.response ( test pack/unpack, free, copy and compare )
This commit is contained in:
committed by
Rúben Soares Silva
parent
34ea6c7a90
commit
79bde47b57
@@ -44,6 +44,12 @@
|
||||
#include "nfapi_nr_interface.h"
|
||||
#include "nfapi_nr_interface_scf.h"
|
||||
|
||||
#define FILL_TLV(TlV, TaG, VaL) \
|
||||
do { \
|
||||
TlV.tl.tag = TaG; \
|
||||
TlV.value = VaL; \
|
||||
} while (0)
|
||||
|
||||
uint8_t rand8()
|
||||
{
|
||||
return (rand() & 0xff);
|
||||
|
||||
Reference in New Issue
Block a user