Select your printer model

Parameters are refined by the selected printer.

<type>onreceive</type>


Acquires data sent to the communication box and notifies the application of the acquired data.

Response

Child element

Data type

Description

box_id

string

Identifier of the communication box to which the message was sent

sender_id

string

Member ID used to send the message

receiver_id

string

Member ID to acquire the sent message

message

string

Message sent to the communication box

Sample program

 
<commbox_data>
	<sequence>3</sequence>
	<data>
		<type>onreceive</type>
		<box_id>box1</box_id>
		<sender_id>member1</sender_id>
		<receiver_id></receiver_id>
		<message>send_message</message>
	</data>
	<data_id>19</data_id>
</commbox_data>

Supplementary explanation

  • When all the applications belonging to the communication box acquires the message, a null string is set.
  • No <type>onreceive</type> is notified if a communication error occurs.
    To notify the disconnection event, implement the <reconnect>.
  • If a communication error occurs and it is deemed that no recovery will take place, notify <disconnect>.
    Since no <type>onreceive</type> is notified, detect data transmission failures in <disconnect>.
 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

ePOS-Device XML includes patented or patent pending functions. The contents must not be disclosed to third parties.


ePOS-Device XML

Jump to the top