put the iotivity version info in CA for convenience in debugging
because CA is the lowest module which is always included when iotivity is built.
Change-Id: I54451358f16540aba914ebdd67fdbf7ee762f931
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5125
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
CAResult_t CAInitialize()
{
+ OIC_LOG_V(DEBUG, TAG, "IoTivity version is v%s", IOTIVITY_VERSION);
OIC_LOG(DEBUG, TAG, "CAInitialize");
if (!g_isInitialized)
#ifndef LOGGER_H_
#define LOGGER_H_
+#define IOTIVITY_VERSION "1.1.0"
+
#include <stdint.h>
#include <stdio.h>
#include <stdarg.h>