mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-21 14:03:11 -07:00
Add Discovery and Wakeup for PS5
This commit is contained in:
parent
65add80ec6
commit
8904c86a6d
9 changed files with 42 additions and 19 deletions
|
@ -21,8 +21,10 @@ typedef unsigned short sa_family_t;
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define CHIAKI_DISCOVERY_PORT 987
|
||||
#define CHIAKI_DISCOVERY_PROTOCOL_VERSION "00020020"
|
||||
#define CHIAKI_DISCOVERY_PORT_PS4 987
|
||||
#define CHIAKI_DISCOVERY_PROTOCOL_VERSION_PS4 "00020020"
|
||||
#define CHIAKI_DISCOVERY_PORT_PS5 9302
|
||||
#define CHIAKI_DISCOVERY_PROTOCOL_VERSION_PS5 "00030010"
|
||||
|
||||
typedef enum chiaki_discovery_cmd_t
|
||||
{
|
||||
|
@ -101,7 +103,7 @@ CHIAKI_EXPORT ChiakiErrorCode chiaki_discovery_thread_stop(ChiakiDiscoveryThread
|
|||
* Convenience function to send a wakeup packet
|
||||
* @param discovery Discovery to send the packet on. May be NULL, in which case a new temporary Discovery will be created
|
||||
*/
|
||||
CHIAKI_EXPORT ChiakiErrorCode chiaki_discovery_wakeup(ChiakiLog *log, ChiakiDiscovery *discovery, const char *host, uint64_t user_credential);
|
||||
CHIAKI_EXPORT ChiakiErrorCode chiaki_discovery_wakeup(ChiakiLog *log, ChiakiDiscovery *discovery, const char *host, uint64_t user_credential, bool ps5);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue