Special CAN Communication with AP_CANManager

Hello, I am working with ArduPlane version 4.2. I want to communicate with the Pixhawk Cube Orange using a CAN communication where I can set the ID and data. I set the CAN_D1_PROTOCOL and CAN_P1_DRIVER parameters to 1, and CAN_P1_BITRATE to 1000000. CAN communication is happening, and I can send the data, but I want to display it on the message screen through Mission Planner. I thoroughly examined the AP_CANManager section and made several attempts, but I couldn’t retrieve the data, and I couldn’t figure out where the CAN communication is activated and where the operations are handled. I added debug commands like gcs().send_text(MAV_SEVERITY_INFO, "message"); to many functions in the code, but none of them seem to be executed, and nothing is displayed on the screen. I am seeking help from experts on this. Wishing everyone good work.