projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git]
/
service
/
notification
/
src
/
consumer
/
NSConsumerNetworkEventListener.c
diff --git
a/service/notification/src/consumer/NSConsumerNetworkEventListener.c
b/service/notification/src/consumer/NSConsumerNetworkEventListener.c
index
8e9e1e5
..
d48d897
100644
(file)
--- a/
service/notification/src/consumer/NSConsumerNetworkEventListener.c
+++ b/
service/notification/src/consumer/NSConsumerNetworkEventListener.c
@@
-30,7
+30,7
@@
#include "NSConsumerDiscovery.h"
#include "NSConsumerNetworkEventListener.h"
#include "NSConsumerDiscovery.h"
#include "NSConsumerNetworkEventListener.h"
-#define NS_PRESENCE_SUBSCRIBE_QUERY "/oic/ad?rt=
oic.wk
.notification"
+#define NS_PRESENCE_SUBSCRIBE_QUERY "/oic/ad?rt=
x.org.iotivity
.notification"
void NSConnectionStateListener(const CAEndpoint_t * info, bool isConnected);
void NSConnectionStateListener(const CAEndpoint_t * info, bool isConnected);
@@
-71,7
+71,7
@@
NSResult NSConsumerListenerInit()
void NSConsumerListenerTermiate()
{
void NSConsumerListenerTermiate()
{
- CA
RegisterNetworkMonitorHandler(NULL, NULL
);
+ CA
UnregisterNetworkMonitorHandler(NSAdapterStateListener, NSConnectionStateListener
);
OCCancel(*getPresenceHandle(), NS_QOS, NULL, 0);
}
OCCancel(*getPresenceHandle(), NS_QOS, NULL, 0);
}
@@
-80,7
+80,7
@@
void NSConnectionStateListener(const CAEndpoint_t * info, bool connected)
NS_VERIFY_NOT_NULL_V(info);
NS_LOG_V(DEBUG, "adapter : %d", info->adapter);
NS_VERIFY_NOT_NULL_V(info);
NS_LOG_V(DEBUG, "adapter : %d", info->adapter);
- NS_LOG_V(
DEBUG
, "remote_address : %s:%d", info->addr, info->port);
+ NS_LOG_V(
INFO_PRIVATE
, "remote_address : %s:%d", info->addr, info->port);
NS_LOG_V(DEBUG, "isConnect : %d", connected);
NSTaskType type = TASK_EVENT_CONNECTED;
NS_LOG_V(DEBUG, "isConnect : %d", connected);
NSTaskType type = TASK_EVENT_CONNECTED;