6#ifndef _PSP2_NET_ADHOC_MATCHING_H_
7#define _PSP2_NET_ADHOC_MATCHING_H_
65int sceNetAdhocMatchingStart(
int id,
int thread_priority,
int thread_stack_size,
int thread_cpu_affinity_mask,
int hello_opt_len,
void *hello_opt);
uint8_t type
0 = read?, 1 = write?, 2 = feature?, 3 = ?
Definition bt.h:2
int sceNetAdhocMatchingSendData(int id, SceNetInAddr *addr, int data_len, void *data)
int sceNetAdhocMatchingSelectTarget(int id, SceNetInAddr *target, int opt_len, void *opt)
int sceNetAdhocMatchingGetHelloOpt(int id, unsigned int *opt_len, void *opt)
int sceNetAdhocMatchingSetHelloOpt(int id, int opt_len, void *opt)
int sceNetAdhocMatchingTerm(void)
int sceNetAdhocMatchingStop(int id)
int sceNetAdhocMatchingCancelTargetWithOpt(int id, SceNetInAddr *target, int opt_len, char *opt)
int sceNetAdhocMatchingAbortSendData(int id, SceNetInAddr *addr)
SceNetAdhocMatchingMode
Definition adhoc_matching.h:45
SceNetAdhocMatchingErrorCode
Definition adhoc_matching.h:17
int sceNetAdhocMatchingStart(int id, int thread_priority, int thread_stack_size, int thread_cpu_affinity_mask, int hello_opt_len, void *hello_opt)
int sceNetAdhocMatchingGetMembers(int id, unsigned int *members_count, struct SceNetAdhocMatchingMember *members)
int sceNetAdhocMatchingDelete(int id)
int sceNetAdhocMatchingCreate(SceNetAdhocMatchingMode mode, int max_members, SceUShort16 port, int rx_buffer_len, unsigned int hello_interval, unsigned int keep_alive_interval, int retry_count, unsigned int rexmt_interval, SceNetAdhocMatchingCallback handler_callback)
int sceNetAdhocMatchingCancelTarget(int id, SceNetInAddr *target)
SceNetInAddr addr
Definition adhoc_matching.h:59
int sceNetAdhocMatchingInit(unsigned int pool_size, void *pool_ptr)
void(* SceNetAdhocMatchingCallback)(int id, int type, SceNetInAddr *addr, SceSize opt_len, void *opt)
Definition adhoc_matching.h:51
@ SCE_NET_ADHOC_MATCHING_MODE_CHILD
Definition adhoc_matching.h:47
@ SCE_NET_ADHOC_MATCHING_MODE_PARENT
Definition adhoc_matching.h:46
@ SCE_NET_ADHOC_MATCHING_MODE_P2P
Definition adhoc_matching.h:48
@ SCE_NET_ADHOC_MATCHING_ERROR_ALREADY_ESTABLISHED
Definition adhoc_matching.h:33
@ SCE_NET_ADHOC_MATCHING_ERROR_INVALID_OPTLEN
Definition adhoc_matching.h:22
@ SCE_NET_ADHOC_MATCHING_ERROR_ALREADY_INITIALIZED
Definition adhoc_matching.h:35
@ SCE_NET_ADHOC_MATCHING_ERROR_IS_RUNNING
Definition adhoc_matching.h:27
@ SCE_NET_ADHOC_MATCHING_ERROR_TARGET_NOT_READY
Definition adhoc_matching.h:30
@ SCE_NET_ADHOC_MATCHING_ERROR_UNKNOWN_TARGET
Definition adhoc_matching.h:29
@ SCE_NET_ADHOC_MATCHING_ERROR_NO_SPACE
Definition adhoc_matching.h:26
@ SCE_NET_ADHOC_MATCHING_ERROR_NOT_ESTABLISHED
Definition adhoc_matching.h:40
@ SCE_NET_ADHOC_MATCHING_ERROR_REQUEST_IN_PROGRESS
Definition adhoc_matching.h:32
@ SCE_NET_ADHOC_MATCHING_ERROR_INVALID_DATALEN
Definition adhoc_matching.h:39
@ SCE_NET_ADHOC_MATCHING_ERROR_BUSY
Definition adhoc_matching.h:34
@ SCE_NET_ADHOC_MATCHING_ERROR_INVALID_MAXNUM
Definition adhoc_matching.h:20
@ SCE_NET_ADHOC_MATCHING_ERROR_DATA_BUSY
Definition adhoc_matching.h:41
@ SCE_NET_ADHOC_MATCHING_ERROR_NOT_RUNNING
Definition adhoc_matching.h:28
@ SCE_NET_ADHOC_MATCHING_ERROR_PORT_IN_USE
Definition adhoc_matching.h:37
@ SCE_NET_ADHOC_MATCHING_ERROR_NOT_INITIALIZED
Definition adhoc_matching.h:36
@ SCE_NET_ADHOC_MATCHING_ERROR_STACKSIZE_TOO_SHORT
Definition adhoc_matching.h:38
@ SCE_NET_ADHOC_MATCHING_ERROR_RXBUF_TOO_SHORT
Definition adhoc_matching.h:21
@ SCE_NET_ADHOC_MATCHING_ERROR_INVALID_PORT
Definition adhoc_matching.h:19
@ SCE_NET_ADHOC_MATCHING_ERROR_INVALID_ALIGNMENT
Definition adhoc_matching.h:42
@ SCE_NET_ADHOC_MATCHING_ERROR_INVALID_ARG
Definition adhoc_matching.h:23
@ SCE_NET_ADHOC_MATCHING_ERROR_INVALID_ID
Definition adhoc_matching.h:24
@ SCE_NET_ADHOC_MATCHING_ERROR_INVALID_MODE
Definition adhoc_matching.h:18
@ SCE_NET_ADHOC_MATCHING_ERROR_ID_NOT_AVAIL
Definition adhoc_matching.h:25
@ SCE_NET_ADHOC_MATCHING_ERROR_EXCEED_MAXNUM
Definition adhoc_matching.h:31
Definition adhoc_matching.h:58
unsigned int SceSize
Definition types.h:56
uint16_t SceUShort16
Definition types.h:39