Battery efficient wireless network connection and registration for a low-power device
A client device is configured to communicate with an access point over a wireless network, exchanging data with the access point over a selected communication channel. After the wireless connection to the access point has ended, the client device receives a probe from the access point over a low-level layer, such as a data link layer. In response to receiving the probe, the client device reconnects to the access point.
1. A client device, comprising:
a microprocessor having an active state and a standby state, wherein the microprocessor is configured to exchange data with an access point over a wireless network connection while operating in the active state; and
a wireless interface including a low-power processor, wherein the low-power processor is configured to:
while the microprocessor is in the standby state, detect a probe received from the access point over a data link layer between the wireless interface and the access point;
in response to receiving the probe, cause the microprocessor to enter the active state,
wherein the microprocessor is configured to reconnect to the access point upon re-entering the active state; and
cause the microprocessor to transmit data packets to the access point to lease an internet protocol (IP) address, the data packets transmitted at a data rate that is less than a physical data rate associated with a wireless link between the client device and the access point.
2. The client device of claim 1 , wherein the client device comprises a camera that is controlled by the microprocessor to capture image data when the microprocessor is in the active state.
3. The client device of claim 2 , further comprising a motion sensor;
wherein the low-power processor triggers the microprocessor to switch from the standby state to the active state in response to detecting motion by the motion sensor.
4. The client device of claim 1 , wherein the client device comprises an Internet-of-Things device.
5. The client device of claim 1 , wherein reconnecting to the access point comprises:
transmitting to the access point, on each of a plurality of wireless communication channels, a probe to request a connection to the access point via a corresponding wireless communication channel; and
responsive to a response probe received from the access point on a first wireless communication channel of the plurality of wireless communication channels, sending communications to the access point on the first wireless communication channel.
6. The client device of claim 1 , wherein the microprocessor is configured to exchange data with the access point by communicating with the access point over a selected wireless communication channel, and wherein reconnecting to the access point comprises:
transmitting to the access point, via the selected wireless communication channel, a probe to request a connection to the access point on the selected wireless communication channel.
7. The client device of claim 6 , wherein the microprocessor is further configured to:
responsive to receiving no response from the access point to the probe transmitted via the selected wireless communication channel, passively scan for one or more other wireless communication channels.
8. The client device of claim 6 , wherein the microprocessor is further configured to:
responsive to receiving no response from the access point to the probe transmitted via the selected wireless communication channel, transmit a selected number of probes to the access point over each of one or more other wireless communication channels, wherein the selected number of probes is selected based on at least one of a signal strength measured on a respective wireless communication channel or an amount of interference measured on the respective wireless communication channel.
9. The client device of claim 6 , wherein the microprocessor is further configured to, responsive to receiving no response from the access point to the probe transmitted via the selected wireless communication channel:
measure a signal strength on the selected wireless communication channel; and
responsive to the signal strength being greater than a threshold, transmit a second probe to the access point via the selected wireless communication channel.
10. The client device of claim 9 , wherein the microprocessor is further configured to:
responsive to the signal strength being less than the threshold, transmit a second probe to the access point via the selected wireless communication channel after a predetermined amount of wait time.
11. A method comprising:
at a client device configured to communicate over a wireless network, exchanging data with an access point over a wireless network connection;
ending the wireless network connection to the access point;
after ending the wireless network connection, receiving a probe from the access point over a data link layer;
in response to receiving the probe, reconnecting to the access point; and
transmitting data packets to the access point to lease an internet protocol (IP) address, the data packets transmitted at a data rate that is less than a physical data rate associated with a wireless link between the client device and the access point.
12. The method of claim 11 , wherein reconnecting to the access point comprises:
transmitting to the access point, on each of a plurality of wireless communication channels, a probe to request a connection to the access point via a corresponding wireless communication channel; and
responsive to a response probe received from the access point on a first wireless communication channel of the plurality of wireless communication channels, sending communications to the access point on the first wireless communication channel.
13. The method of claim 11 , wherein exchanging data with the access point over the wireless network connection comprises communicating with the access point over a selected wireless communication channel, and wherein reconnecting to the access point comprises:
transmitting to the access point, via the selected wireless communication channel, a probe to request a connection to the access point on the selected wireless communication channel.
14. The method of claim 13 , further comprising:
responsive to receiving no response from the access point to the probe transmitted via the selected wireless communication channel, passively scanning for one or more other wireless communication channels.
15. The method of claim 13 , further comprising:
responsive to receiving no response from the access point to the probe transmitted via the selected wireless communication channel, transmitting a selected number of probes to the access point over each of one or more other wireless communication channels, wherein the selected number of probes is selected based on at least one of a signal strength measured on a respective wireless communication channel or an amount of interference measured on the respective wireless communication channel.
16. The method of claim 13 , further comprising, responsive to receiving no response from the access point to the probe transmitted via the selected wireless communication channel:
measuring a signal strength on the selected wireless communication channel; and
responsive to the signal strength being greater than a threshold, transmitting a second probe to the access point via the selected wireless communication channel.
17. The method of claim 16 , further comprising:
responsive to the signal strength being less than the threshold, transmitting a second probe to the access point via the selected wireless communication channel after a predetermined amount of wait time.
18. The method of claim 11 , wherein the client device has an active operation state and a standby operation state, wherein the client device is configured to exchange data with the access point during the active operation state, and wherein ending the wireless network connection to the access point comprises switching from the active operation state to the standby operation state.