Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix default pmin value as this was preventing notifications on the cl… #50

Merged
1 commit merged into from
Mar 14, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion core/src/client/lwm2m_server_object.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,10 @@ static int Lwm2mServer_ResourceReadHandler(void * context, ObjectIDType objectID
*bufferLen = -1;
}
}
else
{
*bufferLen = -1;
}
return *bufferLen;
}

Expand Down Expand Up @@ -334,7 +338,7 @@ void Lwm2mCore_SetServerUpdateRegistration(Lwm2mContextType * context, int serve

int Lwm2mServerObject_GetDefaultMinimumPeriod(Lwm2mContextType * context, int shortServerID)
{
int64_t defaultMinimumPeriod = -1;
int64_t defaultMinimumPeriod = 0;
Lwm2mServerType * server = GetServerObjectByShortServerID(context, shortServerID);
if (server != NULL)
{
Expand Down