litesuits / litesuits/android-lite-bluetoothLE
写数据的时候,会成功很多次
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 971
- Forks
- 319
- PR merge metrics
- No merged PRs in 30d
Description
writeCharacteristic 这个发送成功以后,public void onSuccess(final BluetoothGattCharacteristic characteristic) 这个方法会执行好多次,打印的都是我发送的数据。
发送一次打印一次,发第二次的时候,会打印两次,发几次,打印几次
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing writeCharacteristic and the public onSuccess(BluetoothGattCharacteristic characteristic) callback to see how callbacks are registered and invoked across successive writes. Reproduce the reported behavior with one, then multiple sends; done means each send produces exactly one success callback and print.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100