} else {
json_object_object_add(jcall, "uuid", json_object_new_string (request->client->uuid));
json_object_object_add(jcall, "token", json_object_new_string (request->client->token));
+ json_object_object_add(jcall, "timeout", json_object_new_int (request->config->cntxTimeout));
}
break;
} else {
json_object_object_add(jcall, "uuid", json_object_new_string (request->client->uuid));
json_object_object_add(jcall, "token", json_object_new_string (request->client->token));
+ json_object_object_add(jcall, "timeout", json_object_new_int (request->config->cntxTimeout));
}
break;
afbJsonType = json_object_new_string (AFB_MSG_JTYPE);
int i = 0;
- plugins[i++] = afsvRegister(session),
+ plugins[i++] = tokenRegister(session),
plugins[i++] = alsaRegister(session),
+ plugins[i++] = helloWorldRegister(session),
#ifdef HAVE_RADIO_PLUGIN
plugins[i++] = radioRegister(session),
#endif