# Send and receive DroneCan messages via python

**URL:** <https://discuss.px4.io/t/send-and-receive-dronecan-messages-via-python/42696>\
**Category:** MAVLink\
**Created:** [December 2, 2024, 6:12pm UTC](https://discuss.px4.io/t/send-and-receive-dronecan-messages-via-python/42696 "2024-12-02T18:12:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aleksw](https://discuss.px4.io/user_avatar/discuss.px4.io/aleksw/32/17954_2.png) [@aleksw](https://discuss.px4.io/u/aleksw)\
**Post date:** [December 2, 2024, 6:12pm UTC](https://discuss.px4.io/t/send-and-receive-dronecan-messages-via-python/42696/1 "2024-12-02T18:12:36Z")

</div>

Hi! I testing a new sensor for a drone and want to do some manual tuning when its connected to a drone. For that I need to send and receive some messages. I have found the dronecan.protocol.param.GetSet request/response messages to be the most fitting.  
I have been trying for a while to send messages through mavlink using the pymavlink, but have not had any luck so far.  
I have been trying can\_frame\_send from mavserial.mav.can\_frame\_send and mavserial.mav.command\_long\_send, but I have not been able to receive any can messages on my custom node.  
Using MissionPlanner I am able to see the NodeStatus message from my node, and using DroneCAN GUI I am able to send a request directly from there and receive it on my device.  
Does anyone have any experience doing something like this?
