MCUXpresso_MIMXRT1021xxxxx/boards/evkmimxrt1020/azure_rtos_examples/azure_iot_embedded_sdk_pnp/sample_device_identity.c
2022-08-23 23:00:33 +08:00

28 lines
1.3 KiB
C

/**************************************************************************/
/* */
/* Copyright (c) Microsoft Corporation. All rights reserved. */
/* */
/* This software is licensed under the Microsoft Software License */
/* Terms for Microsoft Azure RTOS. Full text of the license can be */
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */
/* and in the root directory of this software. */
/* */
/**************************************************************************/
#include "nx_api.h"
/* Device certificate. */
#ifndef DEVICE_CERT
#define DEVICE_CERT {0x00}
#endif /* DEVICE_CERT */
/* Device Private Key. */
#ifndef DEVICE_PRIVATE_KEY
#define DEVICE_PRIVATE_KEY {0x00}
#endif /* DEVICE_PRIVATE_KEY */
const UCHAR sample_device_cert_ptr[] = DEVICE_CERT;
const UINT sample_device_cert_len = sizeof(sample_device_cert_ptr);
const UCHAR sample_device_private_key_ptr[] = DEVICE_PRIVATE_KEY;
const UINT sample_device_private_key_len = sizeof(sample_device_private_key_ptr);