|
| | RFSV16 (std::unique_ptr< TCPSocket > socket) |
| |
| Enum< RFSV::errs > | fopen (const uint32_t, const char *const, uint32_t &) |
| | Opens a file.
|
| |
| Enum< RFSV::errs > | mktemp (uint32_t &, std::string &) |
| | Creates a unique temporary file.
|
| |
| Enum< RFSV::errs > | fcreatefile (const uint32_t, const char *const, uint32_t &) |
| | Creates a named file.
|
| |
| Enum< RFSV::errs > | freplacefile (const uint32_t, const char *const, uint32_t &) |
| | Creates an named file, overwriting an existing file.
|
| |
| Enum< RFSV::errs > | fclose (const uint32_t) |
| | Close a file on the Psion whih was previously opened/created by using fopen , fcreatefile , freplacefile or mktemp .
|
| |
| Enum< RFSV::errs > | dir (const char *const, PlpDir &) |
| | Reads a directory on the Psion.
|
| |
| Enum< RFSV::errs > | pathtest (const char *const) |
| | Checks to see if the directory component of a path or file name exists and is valid.
|
| |
| Enum< RFSV::errs > | fgetmtime (const char *const, PsiTime &) |
| | Retrieves the modification time of a file on the Psion.
|
| |
| Enum< RFSV::errs > | fsetmtime (const char *const, const PsiTime) |
| | Sets the modification time of a file on the Psion.
|
| |
| Enum< RFSV::errs > | fgetattr (const char *const, uint32_t &) |
| | Retrieves attributes of a file on the Psion.
|
| |
| Enum< RFSV::errs > | fgeteattr (const char *const, PlpDirent &) |
| | Retrieves attributes, size and modification time of a file on the Psion.
|
| |
| Enum< RFSV::errs > | fsetattr (const char *const, const uint32_t seta, const uint32_t unseta) |
| |
| Enum< RFSV::errs > | dircount (const char *const, uint32_t &) |
| | Counts number of entries in a directory.
|
| |
| Enum< RFSV::errs > | devlist (uint32_t &) |
| | Retrieves available drives on the Psion.
|
| |
| Enum< RFSV::errs > | devinfo (const char, Drive &) |
| | Retrieves details about a drive.
|
| |
| Enum< RFSV::errs > | fread (const uint32_t, unsigned char *const, const uint32_t, uint32_t &) |
| | Reads from a file on the Psion.
|
| |
| Enum< RFSV::errs > | fwrite (const uint32_t, const unsigned char *const, const uint32_t, uint32_t &) |
| | Write to a file on the Psion.
|
| |
| Enum< RFSV::errs > | copyFromPsion (const char *const, const char *const, void *, cpCallback_t) |
| | Copies a file from the Psion to the local machine.
|
| |
| Enum< RFSV::errs > | copyFromPsion (const char *from, int fd, cpCallback_t cb) |
| | Copies a file from the Psion to the local machine.
|
| |
| Enum< RFSV::errs > | copyToPsion (const char *const, const char *const, void *, cpCallback_t) |
| | Copies a file from local machine to the Psion.
|
| |
| Enum< RFSV::errs > | copyOnPsion (const char *, const char *, void *, cpCallback_t) |
| | Copies a file from the Psion to the Psion.
|
| |
| Enum< RFSV::errs > | fsetsize (const uint32_t, const uint32_t) |
| | Resizes an open file on the Psion.
|
| |
| Enum< RFSV::errs > | fseek (const uint32_t, const int32_t, const uint32_t, uint32_t &) |
| | Sets the current file position of a file on the Psion.
|
| |
| Enum< RFSV::errs > | mkdir (const char *const) |
| | Creates a directory on the Psion.
|
| |
| Enum< RFSV::errs > | rmdir (const char *const) |
| | Removes a directory on the Psion.
|
| |
| Enum< RFSV::errs > | rename (const char *const, const char *const) |
| | Renames a file on the Psion.
|
| |
| Enum< RFSV::errs > | remove (const char *const) |
| | Removes a file on the Psion.
|
| |
| Enum< RFSV::errs > | opendir (const uint32_t, const char *const, RFSVDirHandle &) |
| | Open a directory for reading with readdir.
|
| |
| Enum< RFSV::errs > | readdir (RFSVDirHandle &, PlpDirent &) |
| | Read directory entries.
|
| |
| Enum< RFSV::errs > | closedir (RFSVDirHandle &) |
| | Close a directory, previously opened with opendir.
|
| |
| Enum< RFSV::errs > | setVolumeName (const char, const char *const) |
| | Set the name of a Psion Volume (Drive).
|
| |
| uint32_t | opMode (const uint32_t) |
| | Converts an open-mode (A combination of the PSI_O_ constants.) from generic representation to the machine-specific representation.
|
| |
| int | getProtocolVersion () |
| | Retrieves the protocol version.
|
| |
| char | defaultInternalDriveLetter () |
| |
| std::string | deviceConfigurationPath () |
| |
| virtual | ~RFSV () |
| |
| void | reset () |
| |
| void | reconnect () |
| |
| Enum< errs > | getStatus () |
| | Retrieves the current connection status.
|
| |
| Enum< errs > | dir (const std::string &path, bool recursive, std::vector< PlpDirent > &files) |
| |
| Enum< errs > | drives (std::vector< Drive > &drives) |
| |
| std::string | attr2String (const uint32_t attr) |
| | Converts a file attribute RFSV::file_attribs to human readable format, usable for showing them in directory listings.
|
| |
| int | getSpeed () |
| | Retrieve speed of serial link.
|
| |
|
| enum | seek_mode { PSI_SEEK_SET = 1
, PSI_SEEK_CUR = 2
, PSI_SEEK_END = 3
} |
| | The known modes for seek. More...
|
| |
| enum | open_flags { PSI_O_RDONLY = 0000
, PSI_O_WRONLY = 0001
, PSI_O_RDWR = 0002
} |
| | The known modes for file open. More...
|
| |
| enum | open_mode {
PSI_O_CREAT = 00100
, PSI_O_EXCL = 00200
, PSI_O_TRUNC = 01000
, PSI_O_APPEND = 02000
,
PSI_O_SHARE = 04000
} |
| | The known modes for file creation. More...
|
| |
| enum | errs {
E_PSI_GEN_NONE = 0
, E_PSI_GEN_FAIL = -1
, E_PSI_GEN_ARG = -2
, E_PSI_GEN_OS = -3
,
E_PSI_GEN_NSUP = -4
, E_PSI_GEN_UNDER = -5
, E_PSI_GEN_OVER = -6
, E_PSI_GEN_RANGE = -7
,
E_PSI_GEN_DIVIDE = -8
, E_PSI_GEN_INUSE = -9
, E_PSI_GEN_NOMEMORY = - 10
, E_PSI_GEN_NOSEGMENTS = -11
,
E_PSI_GEN_NOSEM = -12
, E_PSI_GEN_NOPROC = -13
, E_PSI_GEN_OPEN = -14
, E_PSI_GEN_NOTOPEN = -15
,
E_PSI_GEN_IMAGE = -16
, E_PSI_GEN_RECEIVER = -17
, E_PSI_GEN_DEVICE = -18
, E_PSI_GEN_FSYS = -19
,
E_PSI_GEN_START = -20
, E_PSI_GEN_NOFONT = -21
, E_PSI_GEN_TOOWIDE = -22
, E_PSI_GEN_TOOMANY = -23
,
E_PSI_FILE_EXIST = -32
, E_PSI_FILE_NXIST = -33
, E_PSI_FILE_WRITE = -34
, E_PSI_FILE_READ = -35
,
E_PSI_FILE_EOF = -36
, E_PSI_FILE_FULL = -37
, E_PSI_FILE_NAME = -38
, E_PSI_FILE_ACCESS = -39
,
E_PSI_FILE_LOCKED = -40
, E_PSI_FILE_DEVICE = -41
, E_PSI_FILE_DIR = -42
, E_PSI_FILE_RECORD = -43
,
E_PSI_FILE_RDONLY = -44
, E_PSI_FILE_INV = -45
, E_PSI_FILE_PENDING = -46
, E_PSI_FILE_VOLUME = -47
,
E_PSI_FILE_CANCEL = -48
, E_PSI_FILE_ALLOC = -49
, E_PSI_FILE_DISC = -50
, E_PSI_FILE_CONNECT = -51
,
E_PSI_FILE_RETRAN = -52
, E_PSI_FILE_LINE = -53
, E_PSI_FILE_INACT = -54
, E_PSI_FILE_PARITY = -55
,
E_PSI_FILE_FRAME = -56
, E_PSI_FILE_OVERRUN = -57
, E_PSI_MDM_CONFAIL = -58
, E_PSI_MDM_BUSY = -59
,
E_PSI_MDM_NOANS = -60
, E_PSI_MDM_BLACKLIST = -61
, E_PSI_FILE_NOTREADY = -62
, E_PSI_FILE_UNKNOWN = -63
,
E_PSI_FILE_DIRFULL = -64
, E_PSI_FILE_PROTECT = -65
, E_PSI_FILE_CORRUPT = -66
, E_PSI_FILE_ABORT = -67
,
E_PSI_FILE_ERASE = -68
, E_PSI_FILE_INVALID = -69
, E_PSI_GEN_POWER = -100
, E_PSI_FILE_TOOBIG = -101
,
E_PSI_GEN_DESCR = -102
, E_PSI_GEN_LIB = -103
, E_PSI_FILE_NDISC = -104
, E_PSI_FILE_DRIVER = -105
,
E_PSI_FILE_COMPLETION = -106
, E_PSI_GEN_BUSY = -107
, E_PSI_GEN_TERMINATED = -108
, E_PSI_GEN_DIED = -109
,
E_PSI_FILE_HANDLE = -110
, E_PSI_NOT_SIBO = -200
, E_PSI_INTERNAL = -201
} |
| | The known error codes. More...
|
| |
| enum | file_attribs {
PSI_A_RDONLY = 0x0001
, PSI_A_HIDDEN = 0x0002
, PSI_A_SYSTEM = 0x0004
, PSI_A_DIR = 0x0008
,
PSI_A_ARCHIVE = 0x0010
, PSI_A_VOLUME = 0x0020
, PSI_A_NORMAL = 0x0040
, PSI_A_TEMP = 0x0080
,
PSI_A_COMPRESSED = 0x0100
, PSI_A_READ = 0x0200
, PSI_A_EXEC = 0x0400
, PSI_A_STREAM = 0x0800
,
PSI_A_TEXT = 0x1000
} |
| | The known file attributes. More...
|
| |
| static RFSV * | connect (const std::string &host, int port, Enum< ConnectionError > *error) |
| |
| static std::string | convertSlash (const std::string &name) |
| | Utility method, converts '/' to '\'.
|
| |
| const char * | getConnectName () |
| | Retrieves the PLP protocol name.
|
| |
| std::unique_ptr< TCPSocket > | socket_ |
| |
| Enum< errs > | status_ |
| |
| int32_t | operationId_ |
| |
This is the implementation of the RFSV protocol for Psion series 3 (SIBO) variant.
You normally never create objects of this class directly. Thus the constructor is private. Use RFSVFactory for creating an instance of RFSV . For a complete documentation, see RFSV .
Definition at line 35 of file rfsv16.h.