I found a discrepancy between a tutorial and an application note.
Step 2.A of "BLE Characteristics, a beginner's tutorial" devzone.nordicsemi.com/.../ calls sd_ble_uuid_vs_add
for each characteristic.
Application note nAN-36 www.nordicsemi.com/.../nAN-36.zip
does not call sd_ble_uuid_vs_add
for each characteristic. It just re-uses the returned type by the sd_ble_uuid_vs_add
call for the service.
ble_uuid.type = p_lbs->uuid_type;
ble_uuid.uuid = LBS_UUID_BUTTON_CHAR;
Which one is correct? Or do they achieve exactly the same under water?