| Package | Description | 
|---|---|
| com.rscja.team.qcom.deviceapi | 
| Modifier and Type | Method and Description | 
|---|---|
| static HardwareInterface_qcom.FunctionEnum | HardwareInterface_qcom.FunctionEnum. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static HardwareInterface_qcom.FunctionEnum[] | HardwareInterface_qcom.FunctionEnum. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | HardwareInterface_qcom. free(HardwareInterface_qcom.FunctionEnum module)释放模块,模块断电同时关闭串口 Release module | 
| boolean | HardwareInterface_qcom. init(HardwareInterface_qcom.FunctionEnum module,
    int baudrate) | 
| boolean | HardwareInterface_qcom. init(HardwareInterface_qcom.FunctionEnum module,
    int baudrate,
    int databits,
    int stopbits,
    int check)初始化模块 ,模块上电同时打开串口 Initialize the module | 
| byte[] | HardwareInterface_qcom. receive(HardwareInterface_qcom.FunctionEnum module)接收数据,读取串口数据 Receive data | 
| boolean | HardwareInterface_qcom. send(HardwareInterface_qcom.FunctionEnum module,
    byte[] data)发送数据 Send data | 
| byte[] | HardwareInterface_qcom. sendAndReceive(HardwareInterface_qcom.FunctionEnum module,
              byte[] sendData)收发数据 |