Skip to content

Adding new Feature to SensorTile #3

@skaterSteve

Description

@skaterSteve

Hello,

I am trying to add new features so that I can use in the BlueSTSDK iOS on the SensorTile. I am using ALLMEMS1_ST firmware.

I have defined and added a new Service and corresponding Characteristics. I took care to follow the patterns in the ALLMEMS1_ST uuid definitions. I didn't choose 0x10 as uuid[15] as in the example because I noticed COPY_MIC_ANGLE_UUID ( is 100000000-0000-11e1-ac36-0002a5d5c51b) in case that mattered.

I have defined as such:

  • Service: 00000000-000D-11e1-9ab4-0002a5d5c51b
  • char1: 0a000000-000D-11e1-ac36-0002a5d5c51b
    -char2: 0b000000-000D-11e1-ac36-0002a5d5c51b
    -char3: 0c000000-000D-11e1-ac36-0002a5d5c51b

The API is able to discover the service! I am trying to follow "How to add a new Feature" section in the Readme. Would you please clarify my confusions on step 1 and 2?

  1. Steps i and ii are hard for me to understand and implement correctly. An explicit example as done in Step 2 would be very helpful for how to define MyNewFeature.
  2. I don't see an "addFeatureForBoard" method in the BlueSTSDK or in the documentation. The closest I see is addFeatureForNode - I tried this method following the example in this step, but it isn't working. It's likely that MyNewFeature is declared incorrectly? Or how do I properly use addFeatureForNode? Perhaps after a node is selected?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions