Replies: 1 comment 1 reply
-
@zafersn, due to the console's limitations in handling a stream of data, there are two options for a workaround:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a python script that writes rootca certs and private keys from PC.
on the board side, first I just wanted to use a ready-to-use solution in zephyr to read data from uart. So I pick the uart_console getline example. that works good for at commands
but when I try to read certs, it doesn't work, corruptions occur and I have missed data bytes. So I was wondering how can I read all certs bytes(max 5000 bytes) and what is the best practice for this. it seems there is no ready to use solution in the zephyr for this and I have to tackle with this problem. am I correct?
here for example what I am writing from python script and what I am reading on the device side:
the cert I am writing from python.
I read from the board:
the other point is that see this first line I have from the board
-----BEGIN CERTIFICATE-----afaDQTCCAimgAwIBAgITBmyfz5m/jAo54vB4ikPmljZbyjANBgkqhkiG9w0BAQsF
in the original cert
-----BEGIN CERTIFICATE-----
doesnt share the same line but in the eco it does.Is there anyone who can shed some light on this issue?
cheers!
Beta Was this translation helpful? Give feedback.
All reactions