Skip to content

Commit

Permalink
Update official website address
Browse files Browse the repository at this point in the history
  • Loading branch information
Shanyaliux committed Jan 9, 2022
1 parent a03f830 commit 807acb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

## 项目官网

[https://www.serialport.cn](https://www.serialport.cn)
**如上述地址无法访问则可以访问一下地址**
[https://shanya.gitee.io/](https://shanya.gitee.io/)
[https://shanyaliux.cn/serialport/](https://shanyaliux.cn/serialport/)

## CSDN说明文档

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class MainActivity : AppCompatActivity() {
}
}
.build(this)

serialPort.setSendDataType(SerialPort.SEND_HEX)
serialPort.setConnectionResultCallback { result, bluetoothDevice ->
Log.d("SerialPort", "ConnectionResult: $result")
if (bluetoothDevice != null) {
Expand Down

0 comments on commit 807acb5

Please sign in to comment.