Custom command from mission planner

Hi Everyone,
I’ve created custom message definitions of mavlink packet using mavgenrate in C language in linux Ubuntu 20. Now I want to send same custom commands from mission planner to the vehicle and receive as well. But I’m not able to start. Can someone please help me out with this?