add panasonic fpxh plc test json file

This commit is contained in:
jqy1988
2023-11-28 15:05:06 +08:00
parent e5e654988b
commit 8202e08c9c
3 changed files with 132 additions and 1 deletions

View File

@@ -97,7 +97,7 @@ void Uart485Init(uint32_t baud_rate, uint8_t data_bits, uint8_t stop_bits, uint8
cfg.port_configure = PORT_CFG_INIT;
#endif
cfg.serial_timeout = 10000;
cfg.dev_recv_callback=NULL;
ioctl_cfg.ioctl_driver_type = SERIAL_TYPE;
ioctl_cfg.args = &cfg;
ret = PrivIoctl(uart_fd, OPE_INT, &ioctl_cfg);