Conversation
There was a problem hiding this comment.
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
Comments suppressed due to low confidence (1)
ShimmerDriver/src/main/java/com/shimmerresearch/bluetooth/ShimmerBluetooth.java:1092
- [nitpick] Consider renaming the 'clearCrcBytes' parameter to something more descriptive, such as 'shouldClearCrcFromBuffer', to clarify its purpose.
protected void processInstreamResponse(boolean clearCrcBytes) {
|
Just to note, a better approach would be to actually check the CRC in the instream response parsing: And in the other response parsing: but this would involve a much larger update as there are some command that don't have a fixed number of bytes in the response so they would all have to be managed individually while also having to manage what happens if/when the CRC check fails. |
JongChern
left a comment
There was a problem hiding this comment.
ok looks good and tested
No description provided.