onewire_device_iter_get_next() function
Get the next 1-Wire device from the iterator
Arguments
iter
Device iterator handle
dev
Returned 1-Wire device handle
Return value
- ESP_OK: Get next device successfully - ESP_ERR_INVALID_ARG: Invalid argument - ESP_ERR_NOT_FOUND: No more device to get - ESP_FAIL: Other errors