mirror of
https://github.com/phantomptr/ps5upload.git
synced 2026-10-19 02:20:02 -05:00
Payloads: add HearBridge (Bluetooth audio) to the catalogue
Also name ports 8090 (HearBridge) and 9180 (PS5Upload Files) in Ports and mark both as web pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RxCGb8Asp1A1AQYiv1kbgS
This commit is contained in:
1 parent
530c63f28f
commit
bb53c4f928
2 files changed
+26
-2
No files matched your search
@@ -835,14 +835,17 @@ pub fn known_port_name(port: u16, proto: &str) -> Option<&'static str> {
|
||||
2159 if tcp => "gdbsrv (debugger)",
|
||||
5353 if !tcp => "mDNS",
|
||||
8080 if tcp => "websrv",
|
||||
8090 if tcp => "HearBridge",
|
||||
9180 if tcp => "PS5Upload Files",
|
||||
12800 if tcp => "DPI installer bridge",
|
||||
_ => return None,
|
||||
})
|
||||
}
|
||||
|
||||
/// Whether a well-known port serves a web page (Payload Manager's UI, websrv).
|
||||
/// Whether a well-known port serves a web page (Payload Manager's UI, websrv, HearBridge,
|
||||
/// the helper's PS5Upload Files page).
|
||||
pub fn known_port_is_web(port: u16) -> bool {
|
||||
port == crate::payload_manager::PAYLOAD_MANAGER_PORT || port == 8080
|
||||
port == crate::payload_manager::PAYLOAD_MANAGER_PORT || matches!(port, 8080 | 8090 | 9180)
|
||||
}
|
||||
|
||||
/// The ports held on the console. The helper finds them by binding each port and closing it
|
||||
|
||||
Reference in new issue
Block a user