









工作模式
TCP Server模式
串口服務(wù)器監(jiān)聽設(shè)定的端口庫并等待TCP客戶端連接。
串口設(shè)備發(fā)送的數(shù)據(jù)將通過串口服務(wù)器透明傳輸給所有鏈接成功的客戶端

TCP Client模式
串口服務(wù)器向設(shè)定的IP地址發(fā)起TCP鏈接,若鏈接失敗,串口服務(wù)器將不斷嘗試重連直到成功。
若鏈接成功,服務(wù)端就可以與串口設(shè)備雙向透明傳輸數(shù)據(jù)。

UDP模式
串口服務(wù)器將串口設(shè)備的數(shù)據(jù)UDP發(fā)送給指定的IP網(wǎng)絡(luò)設(shè)備。
串口服務(wù)器同時(shí)監(jiān)聽端口,將所有接收的數(shù)據(jù)轉(zhuǎn)發(fā)給串口設(shè)備。

HTTPD Client模式
支持串口數(shù)據(jù)HTTPD(GET/POST)方式提交至指定服務(wù)器。


特色功能
同步波特率
通過網(wǎng)絡(luò)指令動(dòng)態(tài)改變串口服務(wù)器的波特率、數(shù)據(jù)位、校驗(yàn)位、停止位。

注冊包機(jī)制
N510作為TCP Client時(shí),建立鏈接后自動(dòng)發(fā)送預(yù)定的注冊包做標(biāo)識。
注冊包數(shù)據(jù)可以是IMEI碼,ICCID碼和自定義注冊數(shù)據(jù)。

心跳包
網(wǎng)絡(luò)心跳包:服務(wù)器通過定時(shí)發(fā)送心跳包通知服務(wù)器處于活躍狀態(tài),并保持與服務(wù)器的正常網(wǎng)絡(luò)鏈接。
串口心跳包:服務(wù)器通知串口設(shè)備處于活躍狀態(tài),也可用于主動(dòng)抓取傳感器的數(shù)據(jù)。



應(yīng)用案例
無人值守稱重
將串口服務(wù)器N510連接道閘,控制中心通過以太網(wǎng)遠(yuǎn)程控制道閘開關(guān)。
同時(shí),N510也支持與車牌抓拍串口攝像頭、稱重儀表、LED提示屏、
RFID讀卡器、車輛感應(yīng)線圈、票據(jù)打印機(jī)等無人值守稱重設(shè)備結(jié)合使用。