Change-Id: I27d0199562a30959074e7a66e5a9a405a7f6d234
// The maximum length of topic is 1024.
// The length of value is at most (VINE_MAX_ATTRIBUTE_LEN(252) - key length(2) - 1 = 249)
// Therefore, at most five attributes can be added for a topic.
- VINE_LOGD("Topic[%s] is added as attributes", mTopic);
+ VINE_LOGD("Topic[%s] is added as attributes", mTopic.c_str());
while (pos < mTopic.size()) {
std::string val = mTopic.substr(pos, VINE_MAX_ATTRIBUTE_LEN - 1 - 2);
char key[3];
FILE(GLOB VINE_TEST_SRCS *.cpp)
FILE(GLOB VINE_TEST_UTILS_SRC *utils*.cpp)
+FILE(GLOB VINE_TEST_BLE_SRC vine-ble-test.cpp)
LIST(REMOVE_ITEM VINE_TEST_SRCS ${VINE_TEST_UTILS_SRC})
+IF(NOT BT_SUPPORT)
+LIST(REMOVE_ITEM VINE_TEST_SRCS ${VINE_TEST_BLE_SRC})
+ENDIF()
foreach(file ${VINE_TEST_SRCS})
GET_FILENAME_COMPONENT(name ${file} NAME_WE)