How to add a new feature?(UUID PROBLEM)

Open
#23 11 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, kotlin
Domain
mobile-dev

Research direction

Start with the linked BlueSTSDK_Android documentation and the custom class extending Feature, including its constructor and extractData method. Trace the documentation's second step and the node-connection setup to determine where the UUID is obtained and registered. Done means the custom feature is registered before connection and can extract sample data.

Written by the indexing model from the issue text.

Description

So I'm trying to add a new custom feature to the Android APP. I've already implemented the custom class that extends "Feature", have created the constructor having only the Node as a parameter, and have implemented the ExtractResult extractData method as well as a getter method for extracting data from the sample, as it's instructed in the documentation: https://github.com/STMicroelectronics/BlueSTSDK_Android

As far as step 2 goes, I'm not getting how do I get a "UUID" for this new feature and where exactly I have to add it in my code( the documentation says it has to be done before node connection, but I'm not sure where that would be)

Dominant language
Kotlin
Stars
99
Forks
49
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from STMicroelectronics/BlueSTSDK_Android

All issues in STMicroelectronics/BlueSTSDK_Android

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.