1.修复添加wifi zone提示页,提示靠近设备的弹窗,有时会弹出了两次bug
2.限制用户名空格和14个字母,7个中文输入 3.限制围栏名和wifi名空格和14个字母,7个中文输入
This commit is contained in:
@@ -15,6 +15,7 @@ import androidx.annotation.IntDef
|
||||
ConState.CONNECTION_FAIL,
|
||||
ConState.BLUETOOTH_ON,
|
||||
ConState.BLUETOOTH_OFF,
|
||||
ConState.CANCEL_SCAN_DEVICE,
|
||||
ConState.DEVICE_NOT_FOUND
|
||||
)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
@@ -35,6 +36,9 @@ annotation class ConState {
|
||||
//没有找到设备
|
||||
const val DEVICE_NOT_FOUND = 4
|
||||
|
||||
//取消扫描蓝牙设备
|
||||
const val CANCEL_SCAN_DEVICE = 8
|
||||
|
||||
//未连接,连接失败
|
||||
const val CONNECTION_FAIL = 5
|
||||
|
||||
|
||||
Reference in New Issue
Block a user