Searched refs:endPointJson (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/base/usb/usb_manager/interfaces/innerkits/native/include/ |
H A D | usb_endpoint.h | 166 cJSON *endPointJson = cJSON_CreateObject(); in getJsonString() local 167 if (!endPointJson) { in getJsonString() 171 cJSON_AddNumberToObject(endPointJson, "address", static_cast<double>(address_)); in getJsonString() 172 cJSON_AddNumberToObject(endPointJson, "attributes", static_cast<double>(attributes_)); in getJsonString() 173 cJSON_AddNumberToObject(endPointJson, "interval", static_cast<double>(interval_)); in getJsonString() 175 cJSON_AddNumberToObject(endPointJson, "direction", static_cast<double>(GetDirection())); in getJsonString() 176 cJSON_AddNumberToObject(endPointJson, "number", static_cast<double>(GetEndpointNumber())); in getJsonString() 177 cJSON_AddNumberToObject(endPointJson, "type", static_cast<double>(GetType())); in getJsonString() 178 cJSON_AddNumberToObject(endPointJson, "interfaceId", static_cast<double>(interfaceId_)); in getJsonString() 179 char *pEndPointJson = cJSON_PrintUnformatted(endPointJson); in getJsonString() [all …]
|