Commit Graph
13 Commits
Author SHA1 Message Date
Lindamea1andClaude Opus 5.5 b2b07ce33d feat(libSceBluetoothHid): implement sceBluetoothHidThreadParamInitialize
sceBluetoothHidThreadParamInitialize threw NotImplemented. It now fills
the thread parameter block that sceBluetoothHidRegisterCallback reads:
the 32-bit priority at offset 0, the 64-bit affinity mask at offset 8
and 0 in the 32 bits at offset 16, leaving bytes 4 to 7 and 20 to 23
as they were, and returns 0. A null block returns 0x81540001.

This follows BunnyFl's native x86-64 run of firmware 13.42's
libSceBluetoothHid, not a console:
https://github.com/boykopovar/AnyPS5/pull/11124#issuecomment-6416053242
The test checks the run's bytes for (700, 0x3f) and the null answer.
The run does not show the success value, range checks, bytes 20 to 23
or calls before sceBluetoothHidInit; the debt entry records them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 23:16:31 +00:00
PrivacyOnion 5c80c032a2 test(libSceBluetoothHid): cover callback lifecycle and parameter validation in GuestBluetoothHid
Cover non-null callback registration before init, post-unregister noCallback state on duplicate unregister and device registration, and null parameter initialization.
2026-10-27 19:25:41 +01:00
Adrià 2589561c0e Merge pull request #11124 from EagleBearerYS/feat/sourced-answers-np-bt-dialog
feat: answer the NpWebApi2 multipart calls and sceBluetoothHidParamInitialize from their sources
2026-10-27 09:04:33 +01:00
Dean 3498905cc0 Merge pull request #10288 from al3w0f205/test/bluetoothhid-unregister-device-no-callback-coverage
test(libSceBluetoothHid): cover unregister device without callback rejection
2026-10-27 18:22:46 +13:00
Yunus Shaikh 56047ebb97 fix(libSceBluetoothHid): refuse a null parameter block as the module does
BunnyFl ran firmware 13.42's libSceBluetoothHid natively. A null block
given to sceBluetoothHidParamInitialize returns 0x81540001, so it now
returns InvalidArgument instead of throwing, and the test checks that
answer. The run also shows sceBluetoothHidRegisterCallback reading the
event thread's priority and affinity through the stored value, which
makes it the BluetoothHidThreadParam pointer the signature declares;
the debt entry cites the run and its limits.
2026-10-26 05:35:55 -07:00
Dean Galvin 9fd26cdb8d test(bluetoothhid): expect success from UnregisterDevice before a callback is registered
The implementation checks initialization only and ignores the vendor and product IDs, so unregistering before RegisterCallback returns 0; NoCallback is a RegisterDevice and callback-path result.
2026-10-26 05:17:17 +13:00
Yunus Shaikh 684ffde83d feat(libSceBluetoothHid): fill the HID parameter block in sceBluetoothHidParamInitialize 2026-10-25 15:24:49 +00:00
boykopovar f38d29fd08 refactor(sdk): add canonical headers for remaining libraries 2026-10-24 23:17:42 +03:00
al3w0f205 0d4cdf942e test(libSceBluetoothHid): cover unregister device without callback rejection 2026-10-23 11:32:46 -05:00
boykopovar aaf286859b fix(bluetooth): restore hid callbacks and registration checks 2026-10-21 21:48:12 +03:00
hypermistandClaude Opus 5.5 ad12ca0066 test(libSceBluetoothHid): expect the firmware version from sceBluetoothHidDebugGetVersion
The call now returns 0x1e as the firmware does instead of throwing, so
guest_bluetooth_hid checks that value.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
2026-10-21 20:03:59 +13:00
al3w0f205 173c827c65 feat(libSceBluetoothHid): export missing firmware functions from database 2026-10-19 12:27:32 -05:00
Gjon Gojcevic cb00552dd6 feat(libSceBluetoothHid): add Bluetooth HID with no devices attached
Initialization and callback and device registration succeed, no device ever connects, and calls that need a device throw.
2026-10-08 15:30:58 +13:00