mirror of
https://github.com/torlando-tech/pyxis.git
synced 2026-08-06 02:39:32 +00:00
Adds two profile constants beyond the existing LXST_PROFILE_LBW (0x30, Codec2-3200): LXST_PROFILE_VLBW (0x20, Codec2-1600) and LXST_PROFILE_ULBW (0x10, Codec2-700C). Default is now ULBW — a 700C frame fits comfortably inside an SF7-9 LoRa packet, which is the target medium for pyxis voice. The previous 3200bps default was 4.5x larger and unsuitable for the radio path. Profile is selectable at runtime via T:CALL_PROFILE [hex]. Replaces five hardcoded LXST_PROFILE_LBW sites: three audio-init paths in call_process_signal and two profile-negotiation send_signal calls. Adds T:CALL_ANSWER for harness pyxis-as-callee testing — sets the same _call_answer_pending flag the UI button does so call_answer() runs on the main loop in its proper context. Validates against real LXST.Telephony.Telephone callers. Validated: pyxis dialed real LXST upstream Telephone bot, negotiated ULBW end-to-end, reached STATUS_ESTABLISHED, decoded frames cleanly both directions. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>