getscanchannels implementation