Renesas CK-RX65N Getting Started Manual page 20

Hide thumbs Also See for CK-RX65N:
Table of Contents

Advertisement

CK-RX65N
7. Check whether sample_device_identity.c is created.
Figure 31. Convert der to hex array and set them in Sample_device_identity.c
8. Producing sample_device_cert_ptr and sample_device_private_key_ptr array containing
device certificate and private key equivalent hex values along with length.
"xxd -i cert.der | sed -E "s/(unsigned char) (¥w+)/¥1 sample_device_cert_ptr/g; s/(unsigned int)
(¥w+)_len/¥1 sample_device_cert_len/g" >> sample_device_identity.c"
"xxd -i privkey.der | sed -E "s/(unsigned char) (¥w+)/¥1 sample_device_private_key_ptr/g; s/(unsigned int)
(¥w+)_len/¥1 sample_device_private_key_len/g" >> sample_device_identity.c"
These commands will not give you any response if successfully executed.
Check the content of
certificate along with SHA1 fingerprint,Device Private Key, sample_device_cert_ptr and
sample_device_private_key_ptr array along with their length.This fingerprint you have to use in device
creation process.
R01AN6870EJ0110 Rev.1.10
Jun.02.23
Getting Started Guide with RYZ014A Azure Cellular Application
Figure 32. Producing arrays containing hex values
sample_device_identity.c with cat command. In this file you will get Device
Page 20 of 52

Advertisement

Table of Contents
loading

Table of Contents