XMPP.SBR

Enhancement: revisions to the parameter list and to the associated libashxmpp library to support receiving as well as sending.

Revised syntax:

xcall XMPP, opcode, status, fromid, pw, server, port, toid, msg, msgid, flags {, timeout {, rcvfile}}

Parameters (new)

opcode  (num)  [in]

Value

Meaning

1

connect, send message, disconnect

2

connect, receive message(s), disconnect

3

connect, send message, receive message(s), disconnect

 

status  (num)  [out]

Value

Meaning

0 :

ok (for op 1)

>0 :

# messages received (ops 2 and 3)

-1 :

routine abort during startup

-2 :

error opening the xmpp.log file (when debug flags set)

-3 :

failure to create a connection context

-4 :

error during configuration of connection options

-5 :

failure to connect

-6 :

failure to disconnect

 

timeout  (num)  [in]

Number of seconds to wait for messages to be received.

rcvfile  (string)  [in]

File specification (AMOS or native) of file to receive messages in. If not specified, default is ashxmpp.xml.

All other parameters are as previously documented; see 1676.0 below.

WARNING: This A-Shell update requires the libashxmpp.so.1 library to be upgraded to version 1.0.102+ (and vice versa).