# KDECAN protocol from KDE Direct

**URL:** <https://forum.opencyphal.org/t/kdecan-protocol-from-kde-direct/216>\
**Category:** General\
**Created:** [October 24, 2018, 2:59pm UTC](https://forum.opencyphal.org/t/kdecan-protocol-from-kde-direct/216 "2018-10-24T14:59:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [October 24, 2018, 2:59pm UTC](https://forum.opencyphal.org/t/kdecan-protocol-from-kde-direct/216/1 "2018-10-24T14:59:14Z")

</div>

KDE Direct have created their own CAN bus protocol designed specifically for their ESC. It is [soon to be supported in ArduPilot](https://discuss.ardupilot.org/t/kdecan-a-new-can-protocol-first-in-ardupilot/34351).

I have skimmed through the description and the ArduPilot setup guide, here they are attached:

[KDECAN\_Bus\_Protocol\_1.0.0.pdf](https://forum.opencyphal.org/uploads/default/original/1X/9e80b97324ad566a741dbc150359caf7ff35dc32.pdf) (973.4 KB)  
[KDECAN\_Pixhawk\_QuickStart.pdf](https://forum.opencyphal.org/uploads/default/original/1X/9d3bf781b310261ccb0be209f98579371b57dbcd.pdf) (538.1 KB)

I was delighted to see that the auto-enumeration and the ID allocation feature have been borrowed from UAVCAN and Sapog (that means that those ideas are valuable), and that they have adopted a similar approach to CAN ID conflict resolution (except that the chosen method of ID randomization is still collision-prone, but they don’t seem to require high levels of determinism/predictability).

The fact that they rely exclusively on point-to-point addressable transfers seems to go against the core principles of the CAN bus, but that is unlikely to create any significant issues in such a narrow use case.

The license stated in the documents is rather weird as it seems to prohibit any third parties from re-implementing/supporting this protocol, which seems to kind of defeat the purpose. Perhaps there is more hidden reasoning I am not aware of.

The legal restrictions put on the protocol and the mere fact that it seems to re-create the functionality already available in UAVCAN v0 are disappointing, as that increases fragmentation of the ecosystem. I guess we should extract some learning experience from this, but I am not quite sure yet what it would be. Opinions welcome.
