Added api availability comment
Fixed scan error handling issue

The getScanInfo could return a false, which wasn’t handled properly
resulting in a error and the box sticking into connecting mode.