How long can be cable of soil moisture sensor?

I have found that there is some update of SDK of soil moisture sensor - with ability to connect more sensors. I am using previous version of SDK, because I have only one sensor.
But when I would like to use more soil moisture sensors connected to one device, I need to use cable length about 5m. Is it possible? Is any difference between using old and new SDK in case of cable length?

For one sensor use void bc_soil_sensor_init(bc_soil_sensor_t *self);
https://sdk.bigclown.com/group__bc__soil__sensor.html#ga56d1112c93fe427298ff8ab4bf3698dd

Is any difference between using old and new SDK in case of cable length?

NO

The 5 meters should be fine. I’ve seen that people have much more complicated 1-Wire topologies throught the house.

Thank you for the answers! I have read some articles about cable length and I wasn’t sure if it is not designed just for short ranges. Now I know that it is not problem to use longer cable…