Hi,
I want to ask why _add_pco_to_struct needs to change the content from ascii_to_hex.
void _add_pco_to_struct(cJSON* json_key, ue_pco_t *ue_pco) {
cJSON *j_pco = cJSON_GetObjectItemCaseSensitive(json_key, JSONKEY_4G_PCO);
ue_pco->length = strlen(j_pco->valuestring) / 2;
core_ascii_to_hex(j_pco->valuestring, ue_pco->length * 2, ue_pco->buffer, ue_pco->length);
}
Thank you.