package socketcan
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Socketcan.Filter
Filters for incoming data that can be applied to a socket.
val create :
?remote_frames:[ `Also | `Exclusive | `No ] ->
?extended_frames:[ `Also | `Exclusive | `No ] ->
?mask:Mask.t ->
Id.t ->
tcreate ~mask:m id creates a new receive filter that matches can-ids for which received_id & mask = id & mask; the default value for can_mask is eff_mask. By default extended_frames is `Also, error_frames is `No and remote_frames is `No.