// Logging tag.
-static char const TAG[] = "BLE_ADVERTISEMENT";
+#define TAG "BLE_ADVERTISEMENT"
bool CALEAdvertisementInitialize(CALEAdvertisement * a,
GDBusConnection * connection,
#define MICROSECS_PER_SEC 1000000
// Logging tag.
-static char const TAG[] = "BLE_INTERFACE";
+#define TAG "BLE_INTERFACE"
/*
The IoTivity adapter interface currently doesn't provide a means to
// Logging tag.
-static char const TAG[] = "BLE_CENTRAL";
+#define TAG "BLE_CENTRAL"
static bool CACentralGetBooleanProperty(GDBusProxy * device,
char const * property)
// Logging tag.
-static char const TAG[] = "BLE_CHARACTERISTIC";
+#define TAG "BLE_CHARACTERISTIC"
// ---------------------------------------------------------------------
// GATT Request Handling
// Logging tag.
-static char const TAG[] = "BLE_CLIENT";
+#define TAG "BLE_CLIENT"
typedef struct _CAGattClientContext
{
// Logging tag.
-static char const TAG[] = "BLE_DESCRIPTOR";
+#define TAG "BLE_DESCRIPTOR"
/**
* Implementation of the @c org.bluez.GattDescriptor1.ReadValue()
#define MICROSECS_PER_SEC 1000000
// Logging tag.
-static char const TAG[] = "BLE_PERIPHERAL";
+#define TAG "BLE_PERIPHERAL"
static CAPeripheralContext g_context = {
.lock = NULL
// Logging tag.
-static char const TAG[] = "BLE_RECV";
+#define TAG "BLE_RECV"
static CAGattRecvInfo const g_null_info =
{
// Logging tag.
-static char const TAG[] = "BLE_SERVER";
+#define TAG "BLE_SERVER"
static CAResult_t CAGattServerSendResponseNotificationImpl(
CAGattService * service,
// Logging tag.
-static char const TAG[] = "BLE_SERVICE";
+#define TAG "BLE_SERVICE"
static GVariant * CAGattServiceGetProperties(GattService1 * service)
{
// Logging tag.
-static char const TAG[] = "BLE_UTILS";
+#define TAG "BLE_UTILS"
bool CAGetBlueZManagedObjectProxies(GList ** proxies,
char const * interface,
//-----------------------------------------------------------------------------
// Private variables
//-----------------------------------------------------------------------------
-static const char TAG[] = "RDDatabaseTests";
+#define TAG "RDDatabaseTests"
std::chrono::seconds const SHORT_TEST_TIMEOUT = std::chrono::seconds(5);
//-----------------------------------------------------------------------------
// Private variables
//-----------------------------------------------------------------------------
-static const char TAG[] = "RDTests";
+#define TAG "RDTests"
std::chrono::seconds const SHORT_TEST_TIMEOUT = std::chrono::seconds(5);
//-----------------------------------------------------------------------------
// Private variables
//-----------------------------------------------------------------------------
-static const char TAG[] = "TestHarness";
+#define TAG "TestHarness"
static OCUri SERVICE_URI = "coap://127.0.0.1:5683/";
void EXPECT_EQ(int a, int b) {
//-----------------------------------------------------------------------------
// Private variables
//-----------------------------------------------------------------------------
-static const char TAG[] = "TestHarness";
+#define TAG "TestHarness"
char gDeviceUUID[] = "fe3f9a68-4931-4cb0-9ea4-81702b43116c";
char gDevicePIID[] = "32684bf3-4c44-47b0-99fe-6a9a59b73a8d";