We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`bleManager.notify(bleDevice,BL2K_SERVICE,BL2K_CHARACTERISTIC,object : BleNotifyCallback() { override fun onNotifyFailure(exception: BleException?) { Log.d(TAG,"notifyDeviceState failure $exception") }
override fun onNotifySuccess() { Log.d(TAG,"onNotifySuccess") _deviceState.postValue(DeviceState()) } override fun onCharacteristicChanged(data: ByteArray?) { Log.d(TAG, "onCharacteristicChanged----") data?.let { val state = String(it) Log.d(TAG, "notifyDeviceState state:$state") } } })`
The text was updated successfully, but these errors were encountered:
请问这问题你解决了吗
Sorry, something went wrong.
还没有,怎么弄都不行
解决了:#574
No branches or pull requests
`bleManager.notify(bleDevice,BL2K_SERVICE,BL2K_CHARACTERISTIC,object : BleNotifyCallback() {
override fun onNotifyFailure(exception: BleException?) {
Log.d(TAG,"notifyDeviceState failure $exception")
}
The text was updated successfully, but these errors were encountered: