Hello,
I'm developing a PRIME application tring to use MAC API directly but I have some questions and need information/documentation about structs and functions.
I using MAC_register () API function, it uses as a parameter a variable of typedef struct MAC_EUI48_t, MAC_SNA_t defined as:
typedef struct {
UINT16 addr_l;
UINT16 addr_m;
UINT16 addr_h;
UINT16 aligner;
} MAC_EUI48_t, MAC_SNA_t;
I don't know exactly what is each field, I can imagine that addr_X is 2 bytes of the address but how must be assigned the value?, using hexadecimal notation? decimal notation? how?
And aligner field, what is? I don't know what represents, and what values could be used.
Are there any documentation about MAC API appart the pdf TI_plcSUITE_mac_api.pdf? I need more details.
Thanks in advance,
Ruben