
3.3.6. SetBaudRate【波特率设置命令】
定义
说明
参数
返回
(int)
码 参考代
public native int SetBaudRate(byte[]comAddr, byte baud,int PortHandle);
设置读写器通讯波特率。
名称
ComAddr
类型
byte []
方向
[in/out]
备注
使用连接读写器返回的读写器地址。
baud
byte
[in]
1 个字节,波特率。
0 – 9600bps;
1 – 19200bps;
2 – 38400bps;
5 – 57600bps;
6 – 115200bps.
PortHandle
int
[in]
连接读写器返回的句柄。
0:表示成功。不等于 0:表示失败,请查看返回值错误代码表。
无
25






































