Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 698e71b

Browse files
committed
writeValue: return the number of bytes written/stored in buffer
1 parent a2b1338 commit 698e71b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/local/BLELocalCharacteristic.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ int BLELocalCharacteristic::writeValue(const uint8_t value[], int length)
132132
}
133133
}
134134

135-
return 1;
135+
return _valueLength;
136136
}
137137

138138
int BLELocalCharacteristic::writeValue(const char* value)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /