Searched refs:sub_list (Results 1 – 4 of 4) sorted by relevance
104 const struct mqtt_subscription_list sub_list = { in subscribe_topic() local110 LOG_INF("Subscribing to %hu topic(s)", sub_list.list_count); in subscribe_topic()112 ret = mqtt_subscribe(&client_ctx, &sub_list); in subscribe_topic()
342 const struct mqtt_subscription_list sub_list = { in app_mqtt_subscribe() local348 LOG_INF("Subscribing to %d topic(s)", sub_list.list_count); in app_mqtt_subscribe()350 rc = mqtt_subscribe(client, &sub_list); in app_mqtt_subscribe()
207 (void)memset(frnd->sub_list, 0, sizeof(frnd->sub_list)); in friend_clear()306 for (int i = 0; i < ARRAY_SIZE(frnd->sub_list); i++) { in friend_sub_add()307 if (frnd->sub_list[i] == addr) { in friend_sub_add()311 if (frnd->sub_list[i] == BT_MESH_ADDR_UNASSIGNED) { in friend_sub_add()317 frnd->sub_list[empty_idx] = addr; in friend_sub_add()328 for (i = 0; i < ARRAY_SIZE(frnd->sub_list); i++) { in friend_sub_rem()329 if (frnd->sub_list[i] == addr) { in friend_sub_rem()331 frnd->sub_list[i] = BT_MESH_ADDR_UNASSIGNED; in friend_sub_rem()921 off->sub_list_size = ARRAY_SIZE(frnd->sub_list), in enqueue_offer()1552 for (i = 0; i < ARRAY_SIZE(frnd->sub_list); i++) { in friend_lpn_matches()[all …]
75 uint16_t sub_list[FRIEND_SUB_LIST_SIZE]; member