# How to use seeedstudio from pythoncan?

**URL:** <https://forum.opencyphal.org/t/how-to-use-seeedstudio-from-pythoncan/1385>\
**Category:** PyCyphal\
**Created:** [July 31, 2021, 12:26pm UTC](https://forum.opencyphal.org/t/how-to-use-seeedstudio-from-pythoncan/1385 "2021-07-31T12:26:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diggy](https://forum.opencyphal.org/letter_avatar_proxy/v4/letter/d/e99b99/32.png) [@Diggy](https://forum.opencyphal.org/u/Diggy)\
**Post date:** [July 31, 2021, 12:26pm UTC](https://forum.opencyphal.org/t/how-to-use-seeedstudio-from-pythoncan/1385/1 "2021-07-31T12:26:36Z")

</div>

Hi there! Seeedstudio interface was added to pythoncan:  
[https://python-can.readthedocs.io/en/3.3.2/interfaces/seeedstudio.html](https://python-can.readthedocs.io/en/3.3.2/interfaces/seeedstudio.html)  
What’s the correct way to use it in pyuavcan?

---

<div class="post-metadata">

**Author:** ![Diggy](https://forum.opencyphal.org/letter_avatar_proxy/v4/letter/d/e99b99/32.png) [@Diggy](https://forum.opencyphal.org/u/Diggy)\
**Post date:** [July 31, 2021, 12:30pm UTC](https://forum.opencyphal.org/t/how-to-use-seeedstudio-from-pythoncan/1385/2 "2021-07-31T12:30:19Z")

</div>

I mean it would be great to have similar example for seedstudio too:

class PythonCANMedia(Media):  
…

- Interface `socketcan` is implemented by :class:`can.interfaces.socketcan.SocketcanBus`.  
The bit rate values are only used to select Classic/FD mode.  
It is not possible to configure the actual CAN bit rate using this API.  
Example: `socketcan:vcan0`

---

<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:** [August 1, 2021, 5:34pm UTC](https://forum.opencyphal.org/t/how-to-use-seeedstudio-from-pythoncan/1385/3 "2021-08-01T17:34:12Z")

</div>

It is not supported at the moment. You can add support by introducing a new factory here:

> <https://github.com/UAVCAN/pyuavcan/blob/76f29d67938a8f3dc6a44eb1c812049fdd757f2e/pyuavcan/transport/can/media/pythoncan/_pythoncan.py#L425-L437>

It was done recently for another adapter:

> <https://github.com/UAVCAN/pyuavcan/pull/156>

---

<div class="post-metadata">

**Author:** ![Diggy](https://forum.opencyphal.org/letter_avatar_proxy/v4/letter/d/e99b99/32.png) [@Diggy](https://forum.opencyphal.org/u/Diggy)\
**Post date:** [August 2, 2021, 10:00am UTC](https://forum.opencyphal.org/t/how-to-use-seeedstudio-from-pythoncan/1385/4 "2021-08-02T10:00:00Z")

</div>

Pavel thank you so much!  
Do you have any idea when it would be supported?

---

<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:** [August 2, 2021, 10:08am UTC](https://forum.opencyphal.org/t/how-to-use-seeedstudio-from-pythoncan/1385/5 "2021-08-02T10:08:14Z")

</div>

It will be supported when you send a pull request with the necessary changes in it 😉

---

<div class="post-metadata">

**Author:** ![Diggy](https://forum.opencyphal.org/letter_avatar_proxy/v4/letter/d/e99b99/32.png) [@Diggy](https://forum.opencyphal.org/u/Diggy)\
**Post date:** [August 2, 2021, 10:14am UTC](https://forum.opencyphal.org/t/how-to-use-seeedstudio-from-pythoncan/1385/6 "2021-08-02T10:14:19Z")

</div>

got you 😃
