Change characteristic user desciption descriptor.
[platform/upstream/iotivity.git] / resource / csdk / connectivity / src / bt_le_adapter / linux / descriptor.c
index 7066c33..82ceb71 100644 (file)
@@ -82,8 +82,8 @@ static gboolean CAGattDescriptorReadValue(
  * @param[in]  descriptor_path @c GattDescriptor1 object path for the
  *                             user description descriptor.
  * @param[in]  value           User description descriptor value,
- *                             e.g. @c "OIC Node Request" or
- *                             @c "OIC Node Response".
+ *                             e.g. @c "OCF Node Request" or
+ *                             @c "OCF Node Response".
  *
  * @note This function does not allocate the @a descriptor object
  *       itself.  The caller is responsible for allocating that
@@ -119,7 +119,7 @@ static bool CAGattDescriptorInitialize(CAGattCharacteristic * c,
                                 g_variant_new_bytestring(value));
 
     // Readable, no encryption, no authorization.
-    static char const * flags[] = { "read", NULL };
+    static char const * const flags[] = { "read", NULL };
     gatt_descriptor1_set_flags(d->descriptor, flags);
 
     /*