Hi,
I'm having working system with PIC32 and CC3000 module. I've run some measurements of my setup, and I get some results that confuses me. I measured time to establish connection with AP (I've used Mikrotik). I've measured required time to establish connection in two scenarios: when CC3000 has to scan all channels, and when it was set to scan only working channel of my AP. Time I've measured was from point when wlan_connect command was issued until HCI_EVNT_WLAN_UNSOL_CONNECT event. Working AP channel was channel with lowest interference (no other AP in vicinity operated on that channel). Fast connection nor smartprofiles were used, but all SSID parameters were passed on wlan_connect command.
In fist case I've got that CC3000 requires some 1.2 seconds to HCI_EVNT_WLAN_UNSOL_CONNECT event (+/- few miliseconds). And that's fine.
However, in second case, I've got two bins. In one bin it took it 1.059second (+/- few milisecond) to establish connection, while in second bin I've measured around 60ms. Nothing in between, it is either 60ms or 1second. I've run something like 50 runs, and number of events in each bin is approximately equal (50%). Now, I'm confused why I'm seeing those two bins, why is there so huge difference between them, and what can be cause of it. Does anybody has any idea or suggestion?
Thanks.
Regards,
Boris