/// This sample provides the way to create cloud sample
+#include <string.h>
#include "ocstack.h"
#include "ocpayload.h"
#include "rd_client.h"
printf("Value: None\n");
break;
case OCREP_PROP_INT:
- printf("Value: %d\n", value->i);
+ printf("Value: %ld\n", value->i);
break;
case OCREP_PROP_DOUBLE:
printf("Value: %f\n", value->d);
OCStackApplicationResult CloudSignupCallback(void *ctx,
OCDoHandle handle, OCClientResponse *clientResponse)
{
+ (void) handle;
if (ctx != (void *)DEFAULT_CONTEXT_VALUE)
{
printf("Invalid Cloud Login/out callback received\n");
OCStackApplicationResult CloudLoginoutCallback(void *ctx,
OCDoHandle handle, OCClientResponse *clientResponse)
{
+ (void) handle;
if (ctx != (void *)DEFAULT_CONTEXT_VALUE)
{
printf("Invalid Cloud Login/out callback received\n");
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-#include "NSProviderResource.h"
+#include <inttypes.h>
#include <string.h>
+#include "NSProviderResource.h"
#include "rd_client.h"
NSNotificationResource NotificationResource;
OCClientResponse *clientResponse)
{
(void) handle;
+ (void) clientResponse;
if (ctx != (void *)DEFAULT_CONTEXT_VALUE)
{
NS_LOG(DEBUG, "Invalid Publish callback received");