What is the MAVLink ID limit?

Hi,

I’m trying to add a new message packet to my Mavlink, but as I’ve failed to get packet from my arduino board, I’m asking this.

For MAVLink 1, it is 255.

When I try to compile my arduino skecth using MAVLink v2.0 it says 156% of global variables is used :confused:

I have no experience with Arduino so I can’t help you there. With MAVLink 2 each dialect has it’s own IDs so the space for IDs is much bigger.

This sounds like there is not enough ram to fit all the required variables for the sketch on the particular Arduino board you are using.
Which Arduino board is it? You could try upgrading to a board with more ram

It is an arduino pro mini
But how comes it requires so much ram ?

As to why Mavlink2 requires so much ram, I have no idea.
The Arduino Pro Mini has 2k ram.
The ArduPilot boards now being targetted since the inception of Mavlink2 dont have less than maybe 200 k ram, so they probably didnt worry too much about running it on tiny boards like yours.

I dont have much experience of Arduino, but I am sure there are other Arduino boards that have much more ram. You will have to check the specs for all the different Arduino Boards