#include <inttypes.h>
#include <stdbool.h>
#include "vlcb/platform/error.h"
#include "vlcb/platform/interface.h"
#include "adapter/can/packet.h"
#include "vlcb/net/addr.h"
Go to the source code of this file.
◆ VLCB_NET_ADPT_MAX_PAYLOAD
#define VLCB_NET_ADPT_MAX_PAYLOAD 8 |
◆ VlcbNetAdptPayload
typedef uint8_t VlcbNetAdptPayload[8] |
◆ VlcbNetAdptErr
Enumerator |
---|
VLCB_NET_ADPT_ERR_OK | |
VLCB_NET_ADPT_ERR_WOULD_BLOCK | Device is busy or has nothing to transfer.
Not an error state, can be used by device drivers to signal that it cannot receive at the moment. The library will do other tasks instead of waiting to do them until next packet will get delivered.
It is advisable to use this non-blockking functionality.
|
VLCB_NET_ADPT_ERR_UNSUPPORTED_MEDIUM | Passed in packet for transmission contains unsupported medium by this network device.
|
VLCB_NET_ADPT_ERR_PAYLOAD_TOO_LARGE | Passed in payload had length that was above the limit that the device can transfer.
|
VLCB_NET_ADPT_ERR_INVALID_CANID | |
VLCB_NET_ADPT_ERR_COUNT | Not an actual error, can be used to ensure the returned codes are within valid range.
|
Definition at line 39 of file adapter.h.
◆ _INTERFACE_DECLARE()
◆ vlcb_net_adpt_ErrToStr()