ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
messages.h File Reference

ACIP protocol message structures and helpers. More...

Go to the source code of this file.

Functions

const char * acip_packet_type_name (uint16_t type)
 Get human-readable name for packet type.
 

Detailed Description

ACIP protocol message structures and helpers.

This header provides a centralized location for all ACIP message structures used in packets 1-199. It includes packet structures from packet.h and adds ACIP-specific helpers and type definitions.

ACIP PACKET RANGES:

  • Packets 1-35: Core ascii-chat protocol (video, audio, control)
  • Packets 100-199: ACDS discovery service protocol

DESIGN RATIONALE:

Rather than duplicating structures, we include packet.h which already defines all core protocol structures (ascii_frame_packet_t, etc.). This header adds convenience helpers and ACIP-specific functionality.

Author
Zachary Fogg me@zf.nosp@m.o.gg
Date
January 2026

Definition in file messages.h.

Function Documentation

◆ acip_packet_type_name()

const char * acip_packet_type_name ( uint16_t  type)

Get human-readable name for packet type.

Parameters
typePacket type from packet_type_t enum
Returns
String name or "UNKNOWN"