title_body: Connect mavlink (on RPi) with QGroundControl
upvoted_answer: After referring to lot of documents and mavlink message format, I was finally able to send heartbeat to the QGroundControl from the sample code without Ardupilot/PX4. I modified the code
  mavlink_msg_heartbeat_pack(1, 1, &amp;msg, MAV_TYPE_HELICOPTER, MAV_AUTOPILOT_GENERIC, 0, 0, 0);
  
  and was able to receive the data at QGC end. It seems like default system id and component id values was key to communicate with the QGC. Now, since the first step is accomplished would look in transmitting other various parameters to QGC from mavlink RPi.
  Thanks