Hi,
Is there a library version for piSerial?
I already have C++ application, and I want to get serial number from it.
Spawning executable (piSerial -s) and parsing the output is not the best thing to do.
Do you provide library (piSerial.h and libpiSerial.a) version for it?
Using piSerial programmatically (C Library)
Re: Using piSerial programmatically (C Library)
Hi alizaki,
the piSerial tool is closed source and we do not provide a C library.
But you have to call and parse it only once. So there should be no technical issues
or a performance gap to integrate this call i.e. in a C application.
the piSerial tool is closed source and we do not provide a C library.
But you have to call and parse it only once. So there should be no technical issues
or a performance gap to integrate this call i.e. in a C application.
Re: Using piSerial programmatically (C Library)
You could write your own. It's not too hard.
The data sheet is freely available on the web, use your favourite search engine to find it.
Some more links here: viewtopic.php?f=8&t=705#p3028
The data sheet is freely available on the web, use your favourite search engine to find it.
Some more links here: viewtopic.php?f=8&t=705#p3028
Re: Using piSerial programmatically (C Library)
piSerial is a documented function of RevPi and therefore will be part of future systems' backward compatibility concepts. The crypto chip may not as it is not part of our open source concept and restricted for KUNBUS and/or OEM use (i.e. KUNBUS may replace the chip in future releases without public notification and without backward compatibility. If a customer is interested in proper and reliably use of the crypto functions of a RevPi he should contact sales@kunbus.de for further negotiations on a custom brand contract (only open for customers with high volume/year).
Unser RevPi Motto: Don't just claim it - make it!
Re: Using piSerial programmatically (C Library)
@volker
Questions about the crypto chip are coming up frequently.
Should there be an entry in the FAQ? Some technical details/links and a clear disclaimer that this is not supported by Kunbus, that piSerial won't be open sourced (because of NDA) and customers who want to use the chip for for production should contact your sales?
Questions about the crypto chip are coming up frequently.
Should there be an entry in the FAQ? Some technical details/links and a clear disclaimer that this is not supported by Kunbus, that piSerial won't be open sourced (because of NDA) and customers who want to use the chip for for production should contact your sales?
Re: Using piSerial programmatically (C Library)
Hi Wulf,
yes thank you for your idea - we'll add a faq subject about the crypto chip and the piSerial tool.
yes thank you for your idea - we'll add a faq subject about the crypto chip and the piSerial tool.