- SDKInited() - 接口 中的方法com.taichuan.serialcommunication.SDKInitListener
-
初始化成功
- SDKInitListener - com.taichuan.serialcommunication中的接口
-
Created by vivek-wo on 2017/9/14.
- SDKLosted() - 接口 中的方法com.taichuan.serialcommunication.SDKInitListener
-
服务失去连接,初始化失败
- send485Data(byte[]) - 类 中的静态方法com.taichuan.serialcommunication.SerialPortPublic
-
定义一个方法用于 发送485 数据
- sendSerialport2Data(byte[]) - 类 中的静态方法com.taichuan.serialcommunication.SerialPortPublic
-
定义一个方法用于 发送数据 给串口2
- SerialPortException - com.taichuan.serialcommunication中的异常错误
-
Created by OISNY on 2017/3/7.
- SerialPortException(int) - 异常错误 的构造器com.taichuan.serialcommunication.SerialPortException
-
Constructs a new runtime exception with null
as its
detail message.
- SerialPortException(int, String) - 异常错误 的构造器com.taichuan.serialcommunication.SerialPortException
-
Constructs a new runtime exception with the specified detail message.
- SerialPortException(int, String, Throwable) - 异常错误 的构造器com.taichuan.serialcommunication.SerialPortException
-
Constructs a new runtime exception with the specified detail message and
cause.
- SerialPortException(int, Throwable) - 异常错误 的构造器com.taichuan.serialcommunication.SerialPortException
-
Constructs a new runtime exception with the specified cause and a
detail message of (cause==null ?
- SerialPortPublic - com.taichuan.serialcommunication中的类
-
Created by OISNY on 2017/3/6.
- SerialPortPublic() - 类 的构造器com.taichuan.serialcommunication.SerialPortPublic
-
- setDataParseDebugMode(boolean) - 类 中的静态方法com.taichuan.serialcommunication.SerialPortPublic
-
定义一个方法用于设置是否开启 单片机串口 的数据解析的调试模式,开启后将输出数据解析过程中的详细流程日志
该方法必须在串口库SDK初始化方法之前调用才有效
- setIsPrintSpecialCmdDataLog(boolean) - 类 中的静态方法com.taichuan.serialcommunication.SerialPortPublic
-
定义一个方法用于设置是否打印特殊指令的数据信息
适用于上报频率十分高的指令,便于开发调试时不会被刷屏
该方法必须在串口库SDK初始化方法之前调用才有效
- setSdkInitListener(SDKInitListener) - 类 中的静态方法com.taichuan.serialcommunication.SerialPortPublic
-
定义一个方法用于 给外部组件注册 太川串口库SDK 初始化结果回调事件
- setSp2Config(String, Integer, Integer, Integer, boolean) - 类 中的静态方法com.taichuan.serialcommunication.SerialPortPublic
-
定义一个方法用于配置 串口2的初始化配置,必须在调用 initSerialPortMulti()方法前调用
由于串口2为通用接口,因此建议初始化前调用该方法 显式指定串口2的库文件路径和传输波特率,以免无法使用
- setSp485Config(String, Integer, Integer, Integer) - 类 中的静态方法com.taichuan.serialcommunication.SerialPortPublic
-
485串口配置
- setSpConfig(String, Integer, Integer, Integer) - 类 中的静态方法com.taichuan.serialcommunication.SerialPortPublic
-
单片机串口配置
- setSpForWifiPropeConfig(Integer, Integer, boolean) - 类 中的静态方法com.taichuan.serialcommunication.SerialPortPublic
-
定义一个方法用于配置 WiFi探针串口的初始化配置,必须在调用 initSerialPortMulti()方法前调用