Skip to content

CurieBLE: Set characteristic value internally if it not associated with a service yet #480

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 22, 2017

Conversation

sandeepmistry
Copy link
Contributor

Resolves #366.

As outlined in the sketch provided in #366 (comment).

The initial value of 0x00 that was set by the type characteristic was dropped because it has not been associated with a service yet via addCharacteristic(...). This change stores the value internally like the BLECharacteristic(const char* uuid, unsigned char properties, const char* value) constructor path.

@SidLeung
Copy link
Contributor

@sandeepmistry , please consider this conversation,

#456 (comment)

@sandeepmistry
Copy link
Contributor Author

See discussion in #366 (comment) for comment above

@SidLeung
Copy link
Contributor

@russmcinnis , @noelpaz , please proceed with system testing.

@SidLeung SidLeung requested review from russmcinnis and noelpaz March 20, 2017 22:26
@SidLeung SidLeung added this to the Deneb milestone Mar 20, 2017
@SidLeung SidLeung assigned noelpaz and unassigned sandeepmistry Mar 20, 2017
@russmcinnis
Copy link
Contributor

we have system tested and it passes. No unit test yet.

@russmcinnis
Copy link
Contributor

I used the sketch from #366 that connects and used nRF connect to read the value that has not been set. It shows up as Value: (0x)00
I believe this is the expected behavior.

Copy link
Contributor

@russmcinnis russmcinnis left a comment

Choose a reason for hiding this comment

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

I used the sketch from #366 that connects and used nRF connect to read the value that has not been set. It shows up as Value: (0x)00
I believe this is the expected behavior.

@russmcinnis
Copy link
Contributor

russmcinnis commented Mar 22, 2017

Passed system test
PR490(471, 477, 480, 484 and 489)
using nRF connect shows up as Value: (0x)00

@SidLeung SidLeung merged commit 07fce54 into arduino:master Mar 22, 2017
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.

5 participants