Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/i/s/iSniff-GPS-HEAD/iSniff_GPS/wloc.py   iSniff-GPS(Download)
def QueryBSSID(bssid):
	liste_wifi = BSSIDApple_pb2.BlockBSSIDApple()
	wifi = liste_wifi.wifi.add()
	wifi.bssid = bssid
	liste_wifi.valeur_inconnue1 = 0
	data = "\x00\x01\x00\x05"+"en_US"+"\x00\x00\x00\x09"+"5.1.9B176"+"\x00\x00\x00\x01\x00\x00\x00" + chr(longueur_chaine_liste_wifi) + chaine_liste_wifi;
	r = requests.post('https://gs-loc.apple.com/clls/wloc',headers=headers,data=data,verify=False) #the remote SSL cert CN on this server doesn't match hostname anymore
	liste_wifi = BSSIDApple_pb2.BlockBSSIDApple() 
	liste_wifi.ParseFromString(r.content[10:])
	return ListWifiDepuisApple(liste_wifi)