[server side] device discovering algorithm has been reworked