Top |
#define | ARV_GVCP_PORT |
enum | ArvGvcpPacketType |
enum | ArvGvcpCommand |
ArvGvcpHeader | |
ArvGvcpPacket |
ArvGvcpPacketType
arv_gvcp_packet_get_packet_type (ArvGvcpPacket *packet
);
void *
arv_gvcp_packet_get_read_memory_ack_data
(const ArvGvcpPacket *packet
);
size_t
arv_gvcp_packet_get_read_memory_ack_size
(guint32 data_size
);
void arv_gvcp_packet_get_read_memory_cmd_infos (const ArvGvcpPacket *packet
,guint32 *address
,guint32 *size
);
guint32
arv_gvcp_packet_get_read_register_ack_value
(const ArvGvcpPacket *packet
);
void arv_gvcp_packet_get_read_register_cmd_infos (const ArvGvcpPacket *packet
,guint32 *address
);
size_t
arv_gvcp_packet_get_write_memory_ack_size
(void
);
void *
arv_gvcp_packet_get_write_memory_cmd_data
(const ArvGvcpPacket *packet
);
void arv_gvcp_packet_get_write_memory_cmd_infos (const ArvGvcpPacket *packet
,guint32 *address
,guint32 *size
);
void arv_gvcp_packet_get_write_register_cmd_infos (const ArvGvcpPacket *packet
,guint32 *address
,guint32 *value
);
void arv_gvcp_packet_set_packet_id (ArvGvcpPacket *packet
,guint16 id
);
ArvGvcpPacket * arv_gvcp_packet_new_read_memory_cmd (guint32 address
,guint32 size
,guint16 packet_id
,size_t *packet_size
);
[skip]
ArvGvcpPacket * arv_gvcp_packet_new_read_memory_ack (guint32 address
,guint32 size
,guint16 packet_id
,size_t *packet_size
);
[skip]
ArvGvcpPacket * arv_gvcp_packet_new_write_memory_cmd (guint32 address
,guint32 size
,guint16 packet_id
,size_t *packet_size
);
[skip]
ArvGvcpPacket * arv_gvcp_packet_new_write_memory_ack (guint32 address
,guint16 packet_id
,size_t *packet_size
);
[skip]
ArvGvcpPacket * arv_gvcp_packet_new_read_register_cmd (guint32 address
,guint16 packet_id
,size_t *packet_size
);
[skip]
ArvGvcpPacket * arv_gvcp_packet_new_read_register_ack (guint32 value
,guint16 packet_id
,size_t *packet_size
);
[skip]
ArvGvcpPacket * arv_gvcp_packet_new_write_register_cmd (guint32 address
,guint32 value
,guint16 packet_id
,size_t *packet_size
);
[skip]
ArvGvcpPacket * arv_gvcp_packet_new_write_register_ack (guint32 address
,guint16 packet_id
,size_t *packet_size
);
[skip]
ArvGvcpPacket *
arv_gvcp_packet_new_discovery_cmd (size_t *size
);
[skip]
ArvGvcpPacket *
arv_gvcp_packet_new_discovery_ack (size_t *packet_size
);
[skip]
ArvGvcpPacket * arv_gvcp_packet_new_packet_resend_cmd (guint32 frame_id
,guint32 first_block
,guint32 last_block
,guint16 packet_id
,size_t *packet_size
);
Create a gvcp packet for a packet resend command.
[skip]
char *
arv_gvcp_packet_to_string (const ArvGvcpPacket *packet
);
Converts packet
into a human readable string.
void arv_gvcp_packet_debug (const ArvGvcpPacket *packet
,ArvDebugLevel level
);
Dumps the content of packet
if level is lower or equal to the current debug level for the cp debug category. See arv_debug_enable()
.
discovery command |
||
discovery acknowledge |
||
goodbye command, for connection termination |
||
goodbye acknowledge |
||
packet resend request |
||
packet resend acknowledge (not used ?) |
||
read register command |
||
read register acknowledge |
||
write register command |
||
write register acknowledge |
||
read memory command |
||
read memory acknowledge |
||
write memory command |
||
write memory acknowledge |
||
pending command acknowledge |
typedef struct { guint16 packet_type; guint16 command; guint16 size; guint16 id; } ArvGvcpHeader;
GVCP packet header structure.
guint16 |
a ArvGvcpPacketType identifier |
|
guint16 |
a ArvGvcpCommand identifier |
|
guint16 |
data size |
|
guint16 |
packet identifier |