Merge pull request #256 from spawluk-bitbar/devel

TC-1668 Added used device ids to API, added sample, changed parameters f...
API refactor