确认帧间隙的命令是 ifg。
"get ifg" 应答值同下形态的16进制字符串形式。
<?php
include "/lib/sd_spc.php";
$sid = 14;
spc_reset();
spc_sync_baud(115200);
spc_request_dev($sid, "set uart 115200N81");
spc_request_dev($sid, "set ifg 50");
echo spc_request_dev($sid, "get ifg"), "\r\n";
spc_request_dev($sid, "set ifg 0");
echo spc_request_dev($sid, "get ifg");
?>