MQTT printer connection status message reporting

When the MQTT connection is successful, the terminal will send the following connection information to the MQTT server

{
    "dvsno":"xxx",
    "kind":"DVS",
    "printers":[
        {
            "prtidx":"P01",
            "status":"0200",
            "port":"9100",
            "ieee1284":"MFG:DATONGSMART;MDL:DP320; "
        },
        {
            "prtidx":"P02",
            "status":"0210",
            "port":"9101",
            "ieee1284":""
        },
        {
            "prtidx":"P03",
            "status":"0210",
            "port":"9102",
            "ieee1284":""
        }
    ]
}
Field Type Description
dvsno String Terminal ID
kind String command identifier, the default is DVS
printers JSON array Printer information connected to the current server
prtidx String print server port number
ieee1284 String Printer’s USB ID
作者:admin  创建时间:2023-03-31 08:45
最后编辑:admin  更新时间:2023-12-18 22:31