WiFiDirect library works fine, I have tested it thoroughly.
I am trying to implement WiFiDirect library which handles service adding and discovery. This library is based on WiFiServiceDiscovery from Android samples.
Although all handlers return success I am not able to discover service. It looks like addLocalService does not do the job as it is not possible to discover service even using third party tool like Bonjour Discover.