# Use libcanard for UAVCAN v0 (legacy)

**URL:** <https://forum.opencyphal.org/t/use-libcanard-for-uavcan-v0-legacy/1278>\
**Category:** Libcanard\
**Created:** [June 1, 2021, 7:58am UTC](https://forum.opencyphal.org/t/use-libcanard-for-uavcan-v0-legacy/1278 "2021-06-01T07:58:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vilian](https://forum.opencyphal.org/letter_avatar_proxy/v4/letter/v/e0b2c6/32.png) [@vilian](https://forum.opencyphal.org/u/vilian)\
**Post date:** [June 1, 2021, 7:58am UTC](https://forum.opencyphal.org/t/use-libcanard-for-uavcan-v0-legacy/1278/1 "2021-06-01T07:58:12Z")

</div>

Hello,everyone!  
Our customer would use UAVCAN v0 for their product communication,we shall provide them with our motor driver,which should support UAVCAN protocol. For now, I have learned that libcanard([https://github.com/UAVCAN/libcanard](https://github.com/UAVCAN/libcanard)) is a good lib for developing,but it is for UAVCAN V1 version only.  
So I want to know if it(libcanard) could be ported to fit the V0 protocol？And what are the main changes? The hardware platform is a TI chip F28388X.  
Thank you in advance!

---

<div class="post-metadata">

**Author:** ![deekay](https://forum.opencyphal.org/letter_avatar_proxy/v4/letter/d/8491ac/32.png) [@deekay](https://forum.opencyphal.org/u/deekay)\
**Post date:** [June 1, 2021, 10:48am UTC](https://forum.opencyphal.org/t/use-libcanard-for-uavcan-v0-legacy/1278/2 "2021-06-01T10:48:44Z")

</div>

Hi!  
I’ve used libcanard for v0, but with some minor bug-corrections. libcanard for v0 was broken a while ago.  
I believe v0 is located here [https://github.com/UAVCAN/libcanard/tree/legacy-v0](https://github.com/UAVCAN/libcanard/tree/legacy-v0)

Regards

---

<div class="post-metadata">

**Author:** ![vilian](https://forum.opencyphal.org/letter_avatar_proxy/v4/letter/v/e0b2c6/32.png) [@vilian](https://forum.opencyphal.org/u/vilian)\
**Post date:** [June 2, 2021, 1:07am UTC](https://forum.opencyphal.org/t/use-libcanard-for-uavcan-v0-legacy/1278/3 "2021-06-02T01:07:52Z")

</div>

Thank you very much.I will try it soon.

---

<div class="post-metadata">

**Author:** ![LAlves\_AST](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/lalves_ast/32/987_2.png) [@LAlves\_AST](https://forum.opencyphal.org/u/LAlves_AST)\
**Post date:** [September 23, 2021, 3:47pm UTC](https://forum.opencyphal.org/t/use-libcanard-for-uavcan-v0-legacy/1278/4 "2021-09-23T15:47:50Z")

</div>

Hi!

The main code example demo.c in the “libcanard-0.2\tests” folder is very long… There is another example? I’m stuck in the canardGetLocalNodeID() function.

> **[Releases · UAVCAN/libcanard](https://github.com/UAVCAN/libcanard/releases)**
>
> ard/releases

Thanks
