#include "OCPlatform.h"
#include "OCApi.h"
-#define MAX_URI_LENGTH (64)
#define MAX_PERMISSION_LENGTH (5)
#define CREATE (1)
#define READ (2)
int main(void)
{
- OCPersistentStorage ps {client_open, fread, fwrite, fclose, unlink };
+ OCPersistentStorage ps {client_open, fread, fwrite, fclose, unlink , NULL, NULL};
// Create PlatformConfig object
PlatformConfig cfg {