How calculate bandwidth of the WiFi or WiFi signal strength using jquery or javascript -
hello want calculate bandwidth of wifi or wifi signal strength using jquery or javascript. know can calculate strength on server side code want calculate on client side.
check website:: think suit wifi connection also
http://www.wiseloop.com/demo/javascript-bandwidth-tester
and fiddle
http://jsfiddle.net/praveen16oct90/tefpc/115/
code this:
function showresults() { var duration = (endtime - starttime) / 1000; //math.round() var bitsloaded = downloadsize * 8; var speedbps = (bitsloaded / duration).tofixed(2); var speedkbps = (speedbps / 1024).tofixed(2); var speedmbps = (speedkbps / 1024).tofixed(2); alert("your connection speed is: \n" + speedbps + " bps\n" + speedkbps + " kbps\n" + speedmbps + " mbps\n" );
}