Allocate buffers, attach analyzers.
More...
Allocate buffers, attach analyzers.
◆ kvDiagAlloc()
Allocate diagnostic data buffer. The buffer can be connected to an analyzer with kvDiagConfigure()
- Note
- The kvDiag API is preliminary and will change!
- Parameters
-
- Returns
- canOK (zero) if success
-
canERR_xxx (negative) if failure
- See also
- kvDiagDealloc()
◆ kvDiagAttach()
Attach an analyzer to a CAN channel and prevent other channels from using it.
- Note
- The kvDiag API is preliminary and will change!
- Parameters
-
- Returns
- canOK (zero) if success
-
canERR_xxx (negative) if failure
- See also
- kvDiagDetach()
◆ kvDiagDealloc()
Deallocate diagnostic data buffer.
- Note
- The kvDiag API is preliminary and will change!
- Parameters
-
- Returns
- canOK (zero) if success
-
canERR_xxx (negative) if failure
- See also
- kvDiagAlloc()
◆ kvDiagDetach()
Detach an analyzer from a channel.
- Note
- The kvDiag API is preliminary and will change!
- Parameters
-
[in] | hnd | An open handle to a CAN channel. |
- Returns
- canOK (zero) if success
-
canERR_xxx (negative) if failure
- See also
- kvDiagAttach()