Skip to content

Weird Behavior with v2.0 for the setValue() and notify() #314

Open
@michaelboeding

Description

@michaelboeding

Hey I'm basically just trying to set the value on a characteristic and then notify in a loop to transfer large amounts of data. In this case wifi networks. And that all worked before without issue but now in v2.0 it seems to be failing. It almost seems like it only ever calls the notify() once even though I am looping through it to transfer lots of data.

  this->txCharacteristic->setValue(fullData);
  this->txCharacteristic->notify();

I only ever see one debug out call for

I (92730) NimBLE: GATT procedure initiated: notify; 
I (92735) NimBLE: att_handle=36

This all worked before upgrading so maybe some changes to that? Or did the API somehow change for this? @h2zero

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions