feat(libSceNpSessionSignaling): answer the create-join activations offline #16520
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/16520"
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 edubox on 2026-11-07T00:12:10Z.
What
Implement
sceNpSessionSignalingCreateJoinActivateandsceNpSessionSignalingJoinActivatefrom the supplied firmware 11.00 module, read from disassembly.CreateJoinActivatetakes a session id, a group-id output and an optional connection-id output.JoinActivateadds a parameter block whose first byte must be nonzero, as the module checks. Both check initialization first, then the non-null pointers, and then returnUNAVAILABLE(0x80552D06) because no signaling service exists. The session-id format, the parameter block beyond its first byte and the service error codes remain in the library's technical debt.Tested
Linux x86-64, GCC 16.2.1:
ctest --test-dir build -R '^guest_np_session_signaling$'passes. The test covers the null session id, null outputs, zero mode and offlineUNAVAILABLEpaths without writing the outputs. Not measured on a PS5.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)