I want to discover other devices in my local network. So I called gedday_discover_service ( "_http._tcp.local",service_result );
But it is not returning anything. After a while, it resets. What I tried is the following:
wiced_network_up(WICED_STA_INTERFACE, WICED_USE_EXTERNAL_DHCP_SERVER, NULL);
WPRINT_APP_INFO( ( "Service Starts\n" ) );
result = gedday_discover_service ( "_http._tcp.local",service_result );
WPRINT_APP_INFO( ( "Service Discovery res %d\n" , result ) );
WPRINT_APP_INFO( ( "instance_name res %s\n" , service_result->instance_name ) );
}while(result != WICED_SUCCESS);
Is there anyone using that ?
Thanks a lot.