feat(libReactNative.Modules.Vsh): implement RemotePlayGetConnectionStatus #2017

Closed
ryyReid wants to merge 1 commit from upstream-pr/2017 into main
ryyReid commented 2026-10-09 05:08:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ryyReid on 2026-10-09T05:08:57Z.


What

Implements RemotePlayGetConnectionStatus in libReactNative.Modules.Vsh.

  • The export is already declared with the (userId, status) signature of sceRemoteplayGetConnectionStatus, and is assumed to wrap it; no source documents the wrapper. Recorded in TechnicalDebt.
  • Like sceRemoteplayGetConnectionStatus, it writes disconnected (0) for every user, as the host has no Remote Play session; a null status throws. shadPS4 also reports disconnected for the native call.
  • Adds libReactNative.Modules.Vsh/CMakeLists.txt (same pattern as libSceVoiceQoS) to register the module's first test, guest_react_native_vsh.

Tested

Windows 11, WinLibs GCC 15.2.0 r7 (x86_64-ucrt-posix-seh):

  • New guest_react_native_vsh: users -1, 0, 1 and 0x10000 report 0 over a filled output; a null status throws.
  • Full ctest: 489/489.
  • tools/check_conventions.py --base origin/main passes.

No title was tested.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4796254200 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2017). Originally posted by [ryyReid](https://github.com/ryyReid) on 2026-10-09T05:08:57Z. --- ### What Implements `RemotePlayGetConnectionStatus` in libReactNative.Modules.Vsh. - The export is already declared with the `(userId, status)` signature of [sceRemoteplayGetConnectionStatus](https://github.com/boykopovar/AnyPS5/blob/main/core/libs/prx/libSceRemoteplay/Export.cpp), and is assumed to wrap it; no source documents the wrapper. Recorded in TechnicalDebt. - Like `sceRemoteplayGetConnectionStatus`, it writes disconnected (0) for every user, as the host has no Remote Play session; a null `status` throws. [shadPS4](https://github.com/shadps4-emu/shadPS4/blob/main/src/core/libraries/remote_play/remoteplay.cpp) also reports disconnected for the native call. - Adds `libReactNative.Modules.Vsh/CMakeLists.txt` (same pattern as libSceVoiceQoS) to register the module's first test, `guest_react_native_vsh`. ### Tested Windows 11, WinLibs GCC 15.2.0 r7 (`x86_64-ucrt-posix-seh`): - New `guest_react_native_vsh`: users -1, 0, 1 and 0x10000 report 0 over a filled output; a null status throws. - Full `ctest`: 489/489. - `tools/check_conventions.py --base origin/main` passes. No title was tested. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
oneandonlydean commented 2026-10-09 08:57:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T08:57:18Z.


Same as #1998: no title is shown to reach RemotePlayGetConnectionStatus on main.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6077742398 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2017#issuecomment-6077742398). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-09T08:57:18Z. --- Same as #1998: no title is shown to reach `RemotePlayGetConnectionStatus` on main.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!2017
No description provided.