English
Language : 

UM1573 Datasheet, PDF (22/27 Pages) STMicroelectronics – ST7540 power line modem firmware stack
ST7540 stack firmware code
UM1573
{
F_ENABLED,
F_DISABLED
}NL_WMFlag_status_t;
If the AES128 encryption is enabled, the function to use to set up the AES key is:
void NL_SetEncryptionKey(uint8_T *Ekey);
Once the encryption is enabled by selecting the DEVICE_WM_ENCRYPT_DATA option in the
interfaceconfig.h file, data is encrypted using the AES128 algorithm with the supplied
AES key (Ekey), and if the target device has the encryption enabled too and also has the
same key, the data is correctly decoded directly by the stack. If the encryption is not enabled
or the key is different, the data frame is discharged and consequently not acknowledged.
Finally, it is possible to know the stack firmware release (two bytes, in the x.y decimal
format) calling the API:
/* Stack firmware release (x).(y) */
uint16_t NL_GetStackFirmwareRelease(void);
22/27
Doc ID 023619 Rev 1