feat(libSceNpSessionSignaling): answer connection status queries offline #4695
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4695"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by p3n1cillin on 2026-10-12T19:11:21Z.
What
Implements
sceNpSessionSignalingGetConnectionStatusfor the library's offline model, in which no session ever activates (sceNpSessionSignalingActivateSessionalready fails). Every connection id answersSCE_NP_SESSION_SIGNALING_ERROR_CONN_NOT_FOUND(0x8055330C, from shadPS4's np_error.h) without writing the status, peer address or peer port; a null status answersINVALID_ARGUMENT, as the library's other queries do.The signature
(context id, connection id, int32* status, peer address*, uint16* peer port)is the one already declared, matching PS4'ssceNpSignalingGetConnectionStatus. ASTRO BOT (PPSA21564, 01.007.000) imports this function. The assumptions are recorded indocs/dev/debt/libSceNpSessionSignaling.md.guest_np_session_signalingnow checks the null-status error, the not-found answer with and without peer outputs, and that no output is written.Tested
Windows 11, MinGW-w64 GCC 15.2.0 (WinLibs r7),
BUILD_TESTING=ON:guest_np_session_signalingpasses.python tools/check_conventions.py --base origin/mainpasses. Not tested in a title: the import was found with the registryrelinker --registrywrote for PPSA21564.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-12T19:11:37Z.
Thank you for your contribution! Authors with no pull requests merged into
maincan have 1 open pull request at a time, authors with at least 1 merged can have 20, and from 20 merged there is no limit. This PR has been automatically closed and labeled "open PR limit" because that limit was reached. This is not a judgment of the quality of your changes: reopen it once one of your open pull requests is merged or closed.Pull request closed