Skip to content

DEV-651 New BT command for factory test of RN4678#264

Merged
JongChern merged 2 commits intomasterfrom
DEV-651_new_bt_command_for_RN4678_test
Jan 30, 2026
Merged

DEV-651 New BT command for factory test of RN4678#264
JongChern merged 2 commits intomasterfrom
DEV-651_new_bt_command_for_RN4678_test

Conversation

@marknolan
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Bluetooth command path intended to enable an RN4678 factory-test feature on supported Shimmer3 LogAndStream firmware.

Changes:

  • Removes legacy pressure sampling-rate command constants from ShimmerObject and introduces a new SET_FEATURE BT opcode.
  • Adds a firmware/hardware capability gate (isSupportedRn4678ErrorTest) to control when the feature can be used.
  • Adds a feature flag + enum and sends the new feature command during Shimmer3/3R initialization when enabled.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
ShimmerDriver/src/main/java/com/shimmerresearch/driver/ShimmerObject.java Removes old pressure sampling-rate command constants and adds the new SET_FEATURE command byte.
ShimmerDriver/src/main/java/com/shimmerresearch/driver/ShimmerDevice.java Adds a version-gated capability check for the RN4678-related feature.
ShimmerDriver/src/main/java/com/shimmerresearch/bluetooth/ShimmerBluetooth.java Adds feature toggle/enum, registers the new command, and sends the feature-enable command during initialization when applicable.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Collaborator

@JongChern JongChern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok looks good

@JongChern JongChern merged commit dc054f1 into master Jan 30, 2026
1 check passed
@JongChern JongChern deleted the DEV-651_new_bt_command_for_RN4678_test branch January 30, 2026 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants