vitasdk
Documentation of the vitasdk
usbserial.h
Go to the documentation of this file.
1
7#ifndef _PSP2_USBSERIAL_H_
8#define _PSP2_USBSERIAL_H_
9
10#include <psp2/types.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
26
36int sceUsbSerialSetup(int unk);
37
44
53
62
72unsigned int sceUsbSerialSend(const void *buffer, unsigned int len, int unk1, int unk2);
73
84unsigned int sceUsbSerialRecv(void *buffer, unsigned int max_len, int unk1, int unk2);
85
86#ifdef __cplusplus
87}
88#endif
89#endif /* _PSP2_USBSERIAL_H_ */
void * buffer
Definition bt.h:6
int sceUsbSerialStart(void)
Activate USB serial device.
unsigned int sceUsbSerialGetRecvBufferSize(void)
Get receive buffer length.
int sceUsbSerialSetup(int unk)
Setup USB serial device.
unsigned int sceUsbSerialSend(const void *buffer, unsigned int len, int unk1, int unk2)
Send data.
int sceUsbSerialClose(void)
Close USB serial device.
int sceUsbSerialStatus(void)
Close USB serial device.
unsigned int sceUsbSerialRecv(void *buffer, unsigned int max_len, int unk1, int unk2)
Receive Data.
unsigned short unk1
Definition usbd.h:1