I recently bought a CSA90 Android TV box which is running Android 5.1.1.
I am having problems with Wifi direct. When I try and connect to the HTPC from a Samsung phone (I have tried an S2 and S3) initially the scan shows no devices. Eventually the HTPC appears and I can create the connection...