diff --git a/API.md b/API.md index 52d757e..abe93db 100644 --- a/API.md +++ b/API.md @@ -233,6 +233,12 @@ Choice of: or * value - string value (max: 20 characters on nRF8001 and nRF51822) + + Please take note that in order to initialise a characteristic containing one or more 0's (i.e. not a real string) you should use a combination of + ``` + BLECharacteristic(const char* uuid, unsigned char properties, sizeof(value)); + BLECharacteristic.setValue((unsigned char*)value, sizeof(value)); + ``` ## Get value ```c