Common.Message.CanFilterModify (xmavlink_util v0.4.3)

View Source

Summary

Types

t()

Modify the filter of what CAN messages to forward over the mavlink. This can be used to make CAN forwarding work well on low bandwidth links. The filtering is applied on bits 8 to 24 of the CAN id (2nd and 3rd bytes) which corresponds to the DroneCAN message ID for DroneCAN. Filters with more than 16 IDs can be constructed by sending multiple CAN_FILTER_MODIFY messages.

Types

t()

@type t() :: %Common.Message.CanFilterModify{
  bus: XMAVLink.Types.uint8_t(),
  ids: [XMAVLink.Types.uint16_t()],
  num_ids: XMAVLink.Types.uint8_t(),
  operation: Common.Types.can_filter_op(),
  target_component: XMAVLink.Types.uint8_t(),
  target_system: XMAVLink.Types.uint8_t()
}

Modify the filter of what CAN messages to forward over the mavlink. This can be used to make CAN forwarding work well on low bandwidth links. The filtering is applied on bits 8 to 24 of the CAN id (2nd and 3rd bytes) which corresponds to the DroneCAN message ID for DroneCAN. Filters with more than 16 IDs can be constructed by sending multiple CAN_FILTER_MODIFY messages.