Analytica GmbH AnaGate CAN duo User Manual Page 25

  • Download
  • Add to my manuals
  • Print
  • Page
    / 83
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 24
CAN API reference
18 © 2007-2010 Analytica GmbH
CANGetFilter
CANGetFilter — Returns the current filter settings for the connection.
Syntax
#include <AnaGateDllCAN.h>
int CANGetFilter(int hHandle, int * pnFilter);
Parameter
hHandle Valid access handle.
pnFilter Pointer to an array of 8 filter entries (4 mask and 4 range filter entries). A filter entry contains
of two 32-bit values. Unused mask filter entries are initialized with 0 values. Unused range
filter entries are initialized with (0,0x1FFFFFFF) value pairs.
Return value
Returns Null if successful, or an error value otherwise (Appendix A, Return Codes).
Description
This function retrieves the current filter settings for the current connection. Filter can be used to suppress
messages with specific CAN message ids.
See also
CANSetFilter
Page view 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 82 83

Comments to this Manuals

No comments