Network Check

From The iPhone Wiki
Jump to: navigation, search

NetworkCheck (or NetworkCheck.Framework) is an internal library used to check if an Apple device suited for demo is connected to the network. It can retrieve informations about the network connections, including Wi-Fi SSIDs, and devices on the same private network. Using Bounjour protocol, the library can be used to query those devices. It is mainly used in the Retail to guarantee all the demo devices respects the Apple standards, fetching informations about the position and reporting to Apple the informations about the store where it is located.

Currently, it is used in the following applications:


Tests executed

The following tests are executed by NetworkCheck:

  • CellularNetworkCheck: test to check if the device is connected to a cellular network;
  • BonjourTestNetworkCheck: test to check if the device can query devices in the same network via Bonjour protocol;
  • LatencyTestCheck: test to measure the latency between packets (must be < 300ms);
  • ThroughputTest: test to measure the network throughput (must be at least 10mb/s to consider it valid);
  • HostReachabilityTest: test to see if the device can reach Apple domains;