MW_MISC_EncAdvData_T

C

typedef struct MW_MISC_EncAdvData_T
{
    uint8_t   *p_key;
    uint8_t   *p_iv;
    uint8_t   payloadLen;
    uint8_t   *p_payload;
    uint16_t  *p_advDataLen;
    uint8_t   *p_advData;
} MW_MISC_EncAdvData_T;

Description

Structure for handling the encryption of advertising data.

Field Documentation

FieldDescription
p_keyPointer to the 16-byte encryption key.
p_ivPointer to the 8-byte initialization vector (IV).
payloadLenThe length of the unencrypted payload.
p_payloadPointer to the unencrypted payload.
p_advDataLenPointer to the the advertising data length.
p_advDataPointer to the advertising data.