Searched refs:jEvent (Results 1 – 1 of 1) sorted by relevance
493 cJSON *jEvent = cJSON_CreateObject(); in NotifySourceDev() local494 CHECK_NULL_VOID(jEvent); in NotifySourceDev()495 cJSON_AddStringToObject(jEvent, KEY_DH_ID, dhId.c_str()); in NotifySourceDev()496 cJSON_AddNumberToObject(jEvent, KEY_RESULT, result); in NotifySourceDev()497 cJSON_AddNumberToObject(jEvent, KEY_EVENT_TYPE, static_cast<int32_t>(type)); in NotifySourceDev()498 cJSON_AddStringToObject(jEvent, KEY_RANDOM_TASK_CODE, std::to_string(randomTaskCode).c_str()); in NotifySourceDev()504 cJSON_Delete(jEvent); in NotifySourceDev()507 char *data = cJSON_PrintUnformatted(jEvent); in NotifySourceDev()510 cJSON_Delete(jEvent); in NotifySourceDev()531 cJSON_Delete(jEvent); in NotifySourceDev()