Serialize MAVLink message to binary buffer
buffer = serializemsg(mavlink,msg)
buffer = serializemsg(mavlink,msg) serializes a MAVLink message structure to a binary buffer for transmission. This buffer is for manual transmission using your own communication channel. To send over UDP, see sendmsg.
buffer
mavlink
msg
sendmsg
collapse all
mavlinkio
MAVLink client connection, specified as a mavlinkio object.
MAVLink message, specified as a structure with the fields:
MsgID: Positive integer for message ID.
MsgID
Payload: Structure containing fields for the specific message definition.
Payload
To create a blank message, use the createmsg with a mavlinkdialect object.
createmsg
mavlinkdialect
uint8
Serialized messaged, returned as vector of uint8 integers.
Data Types: uint8
connect | listClients | listConnections | mavlinkclient | mavlinkdialect | mavlinkio | mavlinksub | sendmsg
connect
listClients
listConnections
mavlinkclient
mavlinksub