Configuration API > BS2_GetLicenseConfig
[+ 2.9.1] Gets the device license activation information in the device.
#include "BS_API.h" int BS2_GetLicenseConfig(void* context, uint32_t deviceId, BS2LicenseConfig* config);
context
: ContextdeviceId
: Device Identifierconfig
: Pointer to store license informationReturns “BS_SDK_SUCCESS” if successful, or a corresponding error code if an error occurs.