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:
Rúben Soares da Silva
2024-06-25 11:53:41 +01:00
committed by Rúben Soares Silva
parent 34ea6c7a90
commit 79bde47b57
7 changed files with 801 additions and 517 deletions
+6
View File
@@ -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);