Unable to request Mavlink message

Hey there,

I am currently trying to read several mavlink messages form pixhawk with an arduino.

Now i am stuck. I want to read a read a certain mavlink message. Just for testing now lets say I want to read the GPS STATUS Message (#25).

I therefore sent the message_interval message with the MAVLINK_MSG_GPS_STATUS as the message id and 1000 as the interval.

mavlink_msg_message_interval_pack(2,  0, &msg, MAVLINK_MSG_ID_GPS_STATUS, 1000);

this is the line to pack the message.

I then read all Messages that are incoming but the desired #25 is not displayed.

What am I doing wrong? Am I using the method the wrong way somehow?

I am using the latest firmware (updated this morning) and the c_library_v1-master mavlink library.

Can somebody explain the correct way to receive a certain mavlink message?

Thank you so much!

Nick

Hey, Got the same problem with the debug message, do you find a solution?