ascii-chat 0.11.33
Video chat in your terminal
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 ACIP packets. 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 6000-6199: 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"