| Aravis Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
void arv_gvcp_packet_free (ArvGvcpPacket *packet); guint16 arv_gvcp_packet_get_packet_count (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_count (ArvGvcpPacket *packet,guint16 count); ArvGvcpPacket * arv_gvcp_packet_new_read_memory_cmd (guint32 address,guint32 size,guint32 packet_count,size_t *packet_size); ArvGvcpPacket * arv_gvcp_packet_new_read_memory_ack (guint32 address,guint32 size,guint32 packet_count,size_t *packet_size); ArvGvcpPacket * arv_gvcp_packet_new_write_memory_cmd (guint32 address,guint32 size,guint32 packet_count,size_t *packet_size); ArvGvcpPacket * arv_gvcp_packet_new_write_memory_ack (guint32 address,guint32 packet_count,size_t *packet_size); ArvGvcpPacket * arv_gvcp_packet_new_read_register_cmd (guint32 address,guint32 packet_count,size_t *packet_size); ArvGvcpPacket * arv_gvcp_packet_new_read_register_ack (guint32 value,guint32 packet_count,size_t *packet_size); ArvGvcpPacket * arv_gvcp_packet_new_write_register_cmd (guint32 address,guint32 value,guint32 packet_count,size_t *packet_size); ArvGvcpPacket * arv_gvcp_packet_new_write_register_ack (guint32 address,guint32 packet_count,size_t *packet_size); ArvGvcpPacket * arv_gvcp_packet_new_discovery_cmd (size_t *size); ArvGvcpPacket * arv_gvcp_packet_new_discovery_ack (size_t *packet_size); ArvGvcpPacket * arv_gvcp_packet_new_packet_resend_cmd (guint32 frame_id,guint32 first_block,guint32 last_block,guint32 packet_count,size_t *packet_size); char * arv_gvcp_packet_to_string (const ArvGvcpPacket *packet); void arv_gvcp_packet_debug (const ArvGvcpPacket *packet);
guint16 arv_gvcp_packet_get_packet_count (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_count (ArvGvcpPacket *packet,guint16 count);
ArvGvcpPacket * arv_gvcp_packet_new_read_memory_cmd (guint32 address,guint32 size,guint32 packet_count,size_t *packet_size);
Create a gvcp packet for a memory read command.
|
read address |
|
read size, in bytes |
|
current packet count |
|
packet size, in bytes Return value: (transfer full): a new ArvGvcpPacket. [out] |
ArvGvcpPacket * arv_gvcp_packet_new_read_memory_ack (guint32 address,guint32 size,guint32 packet_count,size_t *packet_size);
Create a gvcp packet for a memory read acknowledge.
|
read address |
|
read size, in bytes |
|
current packet count |
|
packet size, in bytes Return value: (transfer full): a new ArvGvcpPacket. [out] |
ArvGvcpPacket * arv_gvcp_packet_new_write_memory_cmd (guint32 address,guint32 size,guint32 packet_count,size_t *packet_size);
Create a gvcp packet for a memory write command.
|
write address |
|
write size, in bytes |
|
current packet count |
|
packet size, in bytes Return value: (transfer full): a new ArvGvcpPacket. [out] |
ArvGvcpPacket * arv_gvcp_packet_new_write_memory_ack (guint32 address,guint32 packet_count,size_t *packet_size);
Create a gvcp packet for a memory write acknowledge.
|
write address |
|
current packet count |
|
packet size, in bytes Return value: (transfer full): a new ArvGvcpPacket. [out] |
ArvGvcpPacket * arv_gvcp_packet_new_read_register_cmd (guint32 address,guint32 packet_count,size_t *packet_size);
Create a gvcp packet for a register read command.
|
write address |
|
current packet count |
|
packet size, in bytes Return value: (transfer full): a new ArvGvcpPacket. [out] |
ArvGvcpPacket * arv_gvcp_packet_new_read_register_ack (guint32 value,guint32 packet_count,size_t *packet_size);
Create a gvcp packet for a register read acknowledge.
|
read value |
|
current packet count |
|
packet size, in bytes Return value: (transfer full): a new ArvGvcpPacket. [out] |
ArvGvcpPacket * arv_gvcp_packet_new_write_register_cmd (guint32 address,guint32 value,guint32 packet_count,size_t *packet_size);
Create a gvcp packet for a register write command.
|
write address |
|
value to write |
|
current packet count |
|
packet size, in bytes Return value: (transfer full): a new ArvGvcpPacket. [out] |
ArvGvcpPacket * arv_gvcp_packet_new_write_register_ack (guint32 address,guint32 packet_count,size_t *packet_size);
Create a gvcp packet for a register write acknowledge.
|
write address |
|
current packet count |
|
packet size, in bytes Return value: (transfer full): a new ArvGvcpPacket. [out] |
ArvGvcpPacket * arv_gvcp_packet_new_discovery_cmd (size_t *size);
Create a gvcp packet for a discovery command.
|
packet size, in bytes Return value: (transfer full): a new ArvGvcpPacket. [out] |
ArvGvcpPacket * arv_gvcp_packet_new_discovery_ack (size_t *packet_size);
Create a gvcp packet for a discovery acknowledge.
|
packet size, in bytes Return value: (transfer full): a new ArvGvcpPacket. [out] |
ArvGvcpPacket * arv_gvcp_packet_new_packet_resend_cmd (guint32 frame_id,guint32 first_block,guint32 last_block,guint32 packet_count,size_t *packet_size);
Create a gvcp packet for a packet resend command.
|
frame id |
|
first missing packet |
|
last missing packet |
|
current packet count |
|
packet size, in bytes Return value: (transfer full): a new ArvGvcpPacket. [out] |