Files
AnyPS5/docs/dev/debt/libSceCompanionHttpd.md
T
Savvanis SpyrosandClaude Opus 5.5 346cafdb84 feat(libSceCompanionHttpd): keep the server state with no companion device
Initialize, register a request callback, start, stop and terminate keep the
library's state with its errors; no companion device connects, so
sceCompanionHttpdGetEvent always returns NO_EVENT and the callback is never
called. The response builders are declared and throw.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 09:39:58 +02:00

2.2 KiB

libSceCompanionHttpd technical debt

Unknown function info

Functional

  • Companion server state (libSceCompanionHttpd) - no HTTP server listens, so no companion device ever connects: sceCompanionHttpdGetEvent returns NO_EVENT without writing the event and the request callback is never called. Initialization, callback registration and start and stop are tracked with the errors of shadPS4's companion_error.h (ALREADY_REGISTERED is 0x80E4000C, between NOT_STARTED and NOT_CONNECTED; the header has 0x80E4000, one digit short). Unregistering with no callback and terminating a started server throw, since the console's answers are unknown. Not measured on a console. Closes when: a companion server is hosted