Searched refs:client_id (Results 1 – 2 of 2) sorted by relevance
/curl/lib/ |
H A D | mqtt.c | 209 static int add_client_id(const char *client_id, const size_t client_id_len, in add_client_id() argument 216 memcpy(&pkt[start + 2], client_id, MQTT_CLIENTID_LEN); in add_client_id() 262 char client_id[MQTT_CLIENTID_LEN + 1] = "curl"; in mqtt_connect() local 300 result = Curl_rand_alnum(data, (unsigned char *)&client_id[clen], in mqtt_connect() 303 rc = add_client_id(client_id, strlen(client_id), packet, pos + 1); in mqtt_connect() 305 failf(data, "Client ID length mismatched: [%zu]", strlen(client_id)); in mqtt_connect() 309 infof(data, "Using client id '%s'", client_id); in mqtt_connect()
|
/curl/tests/server/ |
H A D | mqttd.c | 500 char client_id[MAX_CLIENT_ID_LENGTH]; in mqttit() local 603 memcpy(client_id, &buffer[12], client_id_length); in mqttit() 604 client_id[client_id_length] = 0; in mqttit() 606 logmsg("MQTT client connect accepted: %s", client_id); in mqttit()
|
Completed in 8 milliseconds