34 stringRep.
add(
rpcsfactory::FACERR_COULD_NOT_SEND,
N_("could not send version request"));
59 a.addStringT(
"NCP$INFO");
71 if (
a.getLen() > 8 && !strncmp(
a.getString(),
"Series 3", 8)) {
74 else if (
a.getLen() > 8 && !strncmp(
a.getString(),
"Series 5", 8)) {
77 if ((
a.getLen() > 8) && !strncmp(
a.getString(),
"No Psion", 8)) {
#define ENUM_DEFINITION_END(EnumName)
#define ENUM_DEFINITION_BEGIN(EnumName, initWith)
Helper macro to construct an enumeration wrapper Enum<E> for a specific enum type.
A class for dealing with sockets.
bool closeSocket(void)
Closes the connection.
virtual bool reconnect()
Reopens the connection after closing it.
int getBufferStore(bufferStore &a, bool wait=true)
Receive data into a bufferStore .
bool sendBufferStore(const bufferStore &a)
Sends data from a bufferStore .
A generic container for an array of bytes.
This is the implementation of the rpcs protocol for Psion series 3 (SIBO) variant.
This is the implementation of the rpcs protocol for Psion series 5 (EPOC) variant.
Remote procedure call services via PLP.
A factory for automatically instantiating the correct protocol variant depending on the connected Psi...
virtual rpcs * create(bool reconnect)
Creates a new rpcs instance.
errs
The known errors which can happen during create .
TCPSocket * skt
The socket to be used for connecting to the ncpd daemon.
stringRep add(rpcsfactory::FACERR_NONE, N_("no error"))
static void error(int line)
Description of a Psion-Device.