This application is based upon and claims the benefit of priority from prior Japanese Patent Application No. 2010-259444, filed Nov. 19, 2010, the entire contents of which are incorporated herein by reference.
Embodiments described herein relate generally to wireless communication.
A wireless communication scheme is known in which one of two wireless communication apparatuses transmits a connection request signal to the other wireless communication apparatus, while the other wireless communication apparatus waits to receive the connection request signal so that a wireless connection can be established between the two wireless communication apparatuses. In a wireless communication scheme of this kind, in order to reduce power consumption, the wireless communication apparatus waiting for reception may be designed for intermittent operation instead of constant operation. The wireless communication scheme for the intermittent reception of the connection request signal disadvantageously requires a long time until the connection is established unless a timing for a transmission of the connection request signal appropriately matches a timing for a wait for reception of the connection request signal. On the other hand, a careless increase in the period of time for reception wait is not preferable in terms of power consumption.
Embodiments will be described below with reference to the drawings.
In general, according to one embodiment, a wireless communication apparatus includes a first timer, a generation unit, a transmitter, a receiver and a control unit. The first timer is configured to periodically measure a first time interval. The generation unit is configured to generate a connection request frame. The transmitter is configured to transmit the connection request frame. The receiver is configured to receive a response signal provided in response to the connection request frame. The control unit is configured to control the transmitter and the receiver in such a manner that iterative attempts are made to carry out a transmission of the connection request frame and a wait for reception of the response signal during the first time interval measured by the first timer.
In the embodiments, elements that are the same as or similar to already described elements are denoted by the same or similar reference numerals. Duplicate descriptions are basically omitted. Furthermore, in the description below, the terms “frame” and “signal” can be basically appropriately exchanged with each other.
A wireless communication system including wireless communication apparatuses 1, 2, and 3 according to a first or another embodiment will be described below with reference to
Specifically, in the transmissions and receptions 4 and 5 of the series of frames, two wireless communication apparatuses are connected together via transmissions and receptions of a connection request frame (for example, Connection Request: C-Req) and a connection response frame (for example, Connection Accept: C-Acc). After the connection, data frames are transmitted and received between the two wireless communication apparatuses. After the transmissions and receptions of the data frames are finished, the two wireless communication apparatuses are disconnected from each other.
As shown in
The wireless unit 12 is connected to an antenna 11. The antenna 11 is shown to be used both for a transmission process and for a reception process. However, separate antennas may be provided for the transmission process and for the reception process, respectively. The wireless unit 12 carries out one of the process for transmitting a wireless signal and the process for receiving a wireless signal in accordance with an instruction from the control unit 16. Specifically, the wireless unit 12 comprises a synthesizer, and the control unit 16 can switch between transmission and reception carried out by the synthesizer in accordance with an instruction from the control unit 16.
For example, upon receiving, from the control unit 16, an instruction to operate in a transmission mode, the wireless unit 12 carries out analog signal processing (for example, digital-analog conversion, up conversion, filtering, or power amplification) on a transmission signal from the transmitter 13. The wireless unit 12 then outputs the resultant transmission signal via the antenna 11. Furthermore, upon receiving, from the control unit 16, an instruction to operate in a reception mode, the wireless unit 12 carries out analog signal processing (for example, low-noise amplification, filtering, down conversion, or analog-digital conversion) on a reception signal from the antenna 11. The wireless unit 12 then inputs the resultant reception signal to the receiver 15. Moreover, Operation of the wireless unit 12 is controllably stopped and started by the control unit 16.
The transmitter 13 carries out various types of transmission processing (for example, digital signal processing such as modulation) on frames from the frame generation unit 14. The transmitter 13 then inputs the processed transmission signal to the wireless unit 12. Operation of the transmitter 13 is controllably stopped and started by the control unit 16.
The frame generation unit 14 generates a transmission frame (for example, a connection request frame, an ACK (ACKnowledge) frame, or a connection response frame) in accordance with an instruction from the control unit 16. The frame generation unit 14 then inputs the generated transmission frame to the transmitter 13. Furthermore, the frame generation unit 14 may add an error detection code such as a CRC parity check code to the generated frame. Operation of the frame generation unit 14 is controllably stopped and started by the control unit 16.
The receiver 15 carries out various types of reception processing (for example, digital signal processing such as demodulation) on a reception signal from the wireless unit 12. Operation of the receiver 15 is controllably stopped and started by the control unit 16.
The interval timer 18 periodically measures a predetermined time interval (hereinafter also referred to as an interval). For example, every time an interval being measured times out, the interval timer 18 starts measuring the next interval.
During the interval measured by the interval timer 18, the subinterval timer 17 measures at least one predetermined time interval (hereinafter also referred to as a subinterval) shorter than the interval. For example, the subinterval timer 17 may synchronize with the interval timer 18 and start measuring the subinterval simultaneously with the start of measurement of the interval by the interval timer 18.
The control unit 16 controls the wireless unit 12, the transmitter 13, the frame generation unit 14, and the receiver 15 during the subinterval measured by the subinterval timer 17 so that these units iterate a transmission of a connection request frame and a wait for reception of a response signal provided in response to the connection request frame.
An example of operation of the wireless communication apparatus will be described below with reference to
After the processing illustrated in
The frame generation unit 14, started in step S34, generates a connection request frame (step S36). The transmitter 13, started in step S35, and the wireless unit 12, started in step S32, transmit the connection request frame generated in step S36, at a predetermined timing (step S37).
After step S37, the control unit 16 stops the transmitter 13 (step S38) and thus the frame generation unit 14 (step S39). Moreover, the control unit 16 starts the receiver 15 (step S40). The control unit 16 then switches the wireless 12 unit to a reception mode (step S41). After steps S40 and S41, if a connection response frame is received, the processing proceeds to step S47. Otherwise the processing proceeds to step S43. In step S47, a connection with the peer wireless communication apparatus is established, and communication starts.
In step S43, the control unit 16 determines whether or not the subinterval timer 17, started in step S33, has timed out. If the subinterval timer 17 has timed out, the processing proceeds to step S45. Otherwise the processing proceeds to step S49. In step S45, the control unit 16 stops the receiver 15. The control unit 16 also stops the wireless unit 12 (step S46). After steps S45 and S46, the control unit 16 waits for the interval timer 18, started in step S31, to time out (step S48). Then, the processing returns to S31.
In step S49, the control unit 16 stops the receiver 15. The control unit 16 switches the wireless unit 12 to the transmission mode (step S44). After steps S49 and S44, the processing returns to step S34. That is, loop processing formed of steps S34, . . . , S41, S42, S43, S49, and S44 allows a transmission of a connection request frame and a wait for reception of a response signal provided in response to the connection request frame to be iterated.
Now, an example of operation of the wireless communication apparatus in
Two consecutive intervals 61 and 62 are shown in
During the subinterval 63, a transmission of a connection request frame (65, 67, 69, and 71) and a wait for reception of a response signal provided in response to the connection request frame (66, 68, 70, and 72) are alternately iterated. Similarly, during the subinterval 64, a transmission of a connection request frame (73, 75, 77, and 79) and a wait for reception of a response signal provided in response to the connection request frame (74, 76, 78, and 80) are alternately iterated.
As described above, during the subinterval for intermittent transmission of connection request frames, a transmission of a connection request frame and a wait for reception of a response signal provided in response to the connection request frame are alternately iterated. Thus, according to the embodiment, even if an error in the reception of a connection request frame occurs in the peer wireless communication apparatus, further connection request frames are iteratively transmitted. Hence, a connection can be easily established in a short time.
As shown in
The response signal timer 101 measures the period of time when the wireless communication apparatus waits for a response signal provided in response to an already transmitted connection request frame. The switching timer 102 measures the period of time required to switch the wireless unit 12 from the transmission mode to the reception mode after a connection request frame has been transmitted (that is, the period of time when the receiver 15 remains stopped after the connection request frame has been transmitted). For example, the switching timer 102 measures the period of time required until the synthesizer provided in the wireless unit 12 switches from the transmission mode to the reception mode. The switching timer 102 also measures the period of time required until the wireless unit is switched from the reception mode to the transmission mode after the response signal timer 101 times out (that is, the period of time when the receiver 15 remains stopped after the response signal timer 101 times out). For example, the switching timer 102 measures the period of time required until the synthesizer provided in the wireless unit 12 switches from the transmission mode to the reception mode.
The wireless communication apparatus may be designed such that the period of time required until the transmission mode is switched to the reception mode is different from the period of time required until the reception mode is switched to the transmission mode. If such a design is adopted, two switching timers 102 may be provided.
An example of operation of the wireless communication apparatus in
After step S36 in
The control unit 16 waits for the completion of step S36, that is, the completion of transmission of a connection request frame (step S111). The processing proceeds to step S38.
After steps S38 and S39, the control unit 16 starts the switching timer 102 (step S112) and the response signal timer 101 (step S113). The control unit 16 waits until the switching timer 102, started in step S113, times out (step S114). The processing proceeds to step S40.
After step S41 in
After step S49, the control unit 16 starts the switching timer 102 (step S116). The control unit 16 waits until the switching timer 102, started in step S116, times out (step S117). Then, the processing proceeds to step S44 in
An example of operation of the wireless communication apparatus in
Periods of time indicated by reference numerals 65 and 66 in
Specifically, after a period of time 131 (65) from the beginning to completion of transmission of a connection request frame expires, the switching timer 102 and the response signal timer 101 are started (see steps S112 and 5113 in
As described above, during the subinterval, a unit period of time corresponding to a pair of the periods of time 65 and 66 is iterated a plurality of times. The unit of time includes a first period of time when the connection request frame is transmitted (for example, the period of time 131), a second period of time following the first period of time and during which the receiver 15 remains stopped (for example, the period of time 132), a third period of time following the second period of time and during which the wireless communication apparatus waits for a response signal with the receiver 15 kept active (for example, a portion of the period of time 133 which follows the expiry of the period of time 132), and a fourth period of time following the third period of time and during which the receiver 15 remains stopped (for example, the period of time 134).
As described above, the wireless communication apparatus according to the second embodiment subdivides the period of time when the wireless communication apparatus waits for a response signal according to the first embodiment. This sets the time for which the receiver is kept active to the minimum required value. Thus, the wireless communication apparatus can exert effects similar to those of the first embodiment and is expected to reduce power consumption.
As shown in
The active-state timer 151 measures the period of time when the receiver 15 is kept active (this period of time is hereinafter also referred to as an active period). The active period is shorter than the subinterval. Specifically, the active-state timer 151 measures the active-state period at least once during the subinterval measured by the subinterval timer 17.
An example of operation of the wireless communication apparatus in
Processing in
In step S164, the receiver 15, started in step S163, waits to receive a signal (for example, a connection request frame). When the receiver 15 receives a connection request frame, the processing proceeds to step S170. Otherwise the processing proceeds to step S166. In step S166, the control unit 16 determines whether or not the active-state timer 151, started in time with step S163, has timed out. If the active-state timer 151 has timed out, the processing proceeds to step S167. Otherwise the processing returns to step S164. That is, during the active-state period measured by the active-state timer 151, the receiver 15 continues to wait for a connection request frame.
In step S167, the control unit 16 stops the receiver 15. The control unit 16 also stops the wireless unit 12 (step S168). After steps S167 and S168, the control unit 16 waits until the subinterval timer 17, started in step S161, times out (step S169). Then, the processing returns to step S161.
In step S170, the control unit 16 stops the receiver 15. Furthermore, the control unit 16 switches the wireless unit 12 to the transmission mode (step S171). The control unit 16 starts the transmitter 13 (step S172) and the frame generation unit 14 (step S173).
The frame generation unit 14, started in step S173, generates a connection response frame (step S174). The transmitter 13, started in step S172, and the wireless unit 12 switched to the transmission mode in step S171 transmit the connection response frame generated in step S174, at a predetermined timing (step S175). After step S175, a connection with the peer wireless communication apparatus is established (step S176). Communication is then started.
An example of operation of the wireless communication apparatus in
In
As described above, the wireless communication apparatus according to the third embodiment keeps the receiver active during the active-state period contained in the subinterval for the intermittent reception of a connection request frame and measured by the active-state timer. Thus, the wireless communication apparatus sets the period of time when the receiver is kept active to the minimum required value. Hence, the wireless communication apparatus is expected to reduce power consumption.
As shown in
The reception determination unit 211 determines whether or not a reception error has occurred. For example, the reception determination unit 211 determines that a reception error has occurred if an error detection code for a reception signal processed by the receiver 15 fails to be decoded.
An example of operation of the wireless communication apparatus in
After step S164 in
In step S222, the receiver 15 demodulates the reception signal. In step S223, a CRC check is carried out on the demodulated signal (of course, any other error detection code may be used). If the CRC check is successful, the processing proceeds to step S165 in
In step S224, the receiver 15 waits for a signal (for example, a connection request frame). In step S225, the receiver 15 determines whether or not any signal has been detected. If any signal has been detected, the processing proceeds to step S226. Otherwise the processing proceeds to step S229.
In step S226, the receiver 15 demodulates the reception signal. In step S227, a CRC check is carried out on the demodulated signal. If the CRC check is successful, the processing proceeds to step S228. Otherwise the processing proceeds to step S229. That is, if the reception determination unit 211 determines a reception error, the processing proceeds to step S229. Otherwise the processing proceeds to step S228. If a connection request frame has been received in step S228, the processing proceeds to step S170 in
In step S229, the control unit 16 determines whether or not the subinterval timer 17 has timed out. If the subinterval timer 17 has timed out, the processing proceeds to step S230. Otherwise the processing returns to step S224. In step S230, the control unit 16 starts the subinterval timer 17 to allow the subinterval timer 17 to measure a subinterval. After step S230, the processing returns to step S164.
When the processing shifts from step S223 to step S224 as described above (that is, when a reception error is determined to have occurred), the receiver 15 is kept active until the subinterval timer 18 times out, regardless of whether or not the active-state timer 151 times out.
As described above, in the wireless communication apparatus according to the fourth embodiment, when a reception error occurs during the active-state period according to the third embodiment, the receiver is kept active until the subinterval expires regardless of whether or not the active-state period expires. Thus, according to the present wireless communication apparatus, for example, if the peer wireless communication apparatus iteratively transmits a connection request frame, a connection request frame transmitted after a reception error can be received. As a result, a connected can be easily established in a short time.
In the second embodiment, the unit period of time has been described in connection with the transmission of a connection request frame. On the other hand, in the third and fourth embodiments, the active-state period has been described in connection with the reception of a connection request frame. In general, an extended active-state period increases the probability of receiving a connection request frame but also increases power consumption. A wireless communication apparatus according to a fifth embodiment utilizes an active-state period of a length equal to that of the above-described unit period of time when a connection request frame is received.
Operation of the wireless communication apparatus according to the present embodiment will be described below with reference to
An active-state period 243 set in accordance with the timing A contains the leading portion of a period of time 244 when a connection request frame is transmitted. Thus, during the active-state period 243, the wireless communication apparatus can receive a connection request frame. Furthermore, an active-state period 245 set in accordance with the timing B contains the entire period of time 246 when a connection request frame is transmitted. Thus, during the active-state period 245, the wireless communication apparatus can receive the connection request frame. Moreover, an active-state period 247 set in accordance with the timing C partly overlaps a period of time 248 when a connection request frame is transmitted, but a reception error is occurring during the active-state period. However, since the active-state period 247 is equal to each of the unit periods of time 241 and 242 in length as described above, the period of time 247 contains the leading portion of a period of time 249 when the next connection request frame is transmitted. Thus, even during the active-state period 247, the wireless communication apparatus can receive the connection request frame.
As described above, the wireless communication apparatus according to the fifth embodiment utilizes the active-state period that is equal to the unit period of time in length. Thus, according to the present wireless communication apparatus, a connection request frame is likely to be received at various timings. Hence, power consumption can be suppressed, with a sufficient probability of receiving a connection request frame ensured.
As shown in
The reception analysis unit 261 analyzes the type of a signal demodulated by the receiver 15 and determined by the reception determination unit 211 to have been correctly received (that is, the signal with the error detection code successfully decoded). For example, the reception analysis unit 261 references a field indicative of the type of a reception signal and checks which of a connection request frame, an ACK frame, a connection response frame, and the like the type of the reception signal matches.
An example of operation of the wireless communication apparatus in
After step S222 in
In step S271, the reception analysis unit 261 analyzes the type of a reception signal. If the type of the reception signal matches the connection request frame, the processing proceeds to step S170. Otherwise the processing proceeds to step S166 in
In step S224, the receiver 15 waits to receive a signal. In step S225, the receiver 15 determines whether or not any reception signal has been detected. If any signal has been detected, the processing proceeds to step S226. Otherwise the processing proceeds to step S229 in
In step S226, the receiver 15 demodulates the reception signal. In step S227, a CRC check is carried out on the demodulated signal. If the CRC check is successful, the processing proceeds to step S274. Otherwise the processing proceeds to step S229 in
In step S274, the reception analysis unit 261 analyzes the type of the reception signal. If the type of the reception signal matches the connection request frame, the processing proceeds to step S170. Otherwise the processing proceeds to step S299 in
In step S170, the control unit 16 stops the receiver 15. Furthermore, the control unit 16 switches the wireless unit 12 to the transmission mode (step S171). The control unit 16 starts the transmitter 13 (step S172) and then the frame generation unit 14 (step S173).
The frame generation unit 14, started in step S173, generates a connection response frame or an ACK frame in accordance with an instruction from the control unit 16 (step S272). The transmitter 13, started in step S172, and the wireless unit 12, switched to the transmission mode in step S171, transmit the connection response frame or ACK frame generated in step S272, at a predetermined timing (step S273). After step S273, the processing proceeds to step S176 in
An example of operation of the wireless communication apparatus in
As described above, upon receiving a connection request frame, the wireless communication apparatus according to the sixth embodiment transmits a connection response frame or an ACK frame. Thus, according to the present wireless communication apparatus, even if a connection response frame cannot be transmitted for any reason, an ACK frame is transmitted instead to the peer wireless communication apparatus to enable the peer wireless communication apparatus to be notified at least of successful reception.
As shown in
The transmission timer 281 measures the maximum transmission interval between an ACK frame and a connection response frame when the wireless communication apparatus transmits the ACK frame and then the connection response frame in response to a connection request frame. That is, the wireless communication apparatus in
When the wireless communication apparatus in
An example of operation of the wireless communication apparatus in
After step S173 in
In step S292, the frame generation unit 14 generates a connection response frame. The transmitter 13 and the wireless unit 12 transmit a connection response frame generated in step S292, at a predetermined timing (step S293). After step S293, the processing proceeds to step S176 in
In step S294, the frame generation unit 14 generates an ACK frame. The transmitter 13 and the wireless unit 12 transmit the ACK frame generated in step S294, at a predetermined timing (step S295). The control unit 16 starts the transmission timer 281 in time with the end of step S295 (step S296).
If the connection determination unit 282 completes the connection determination before the transmission timer 281, started in step S296 times out, the processing proceeds to step S299 (steps S297 and S298). On the other hand, if the transmission timer 281 times out before the connection determination unit 282 completes the connection determination, the processing returns to step S164 in
In step S299, the frame generation unit 14 generates a connection response frame. The transmitter 13 and the wireless unit 12 transmit the connection response frame generated in step S299, at a predetermined timing (step S300). After step S300, the processing proceeds to step S176 in
An example of operation of a wireless communication apparatus in
As described above, the wireless communication apparatus according to the seventh embodiment starts the transmission timer in conjunction with the transmission of an ACK frame in response to a connection request frame. The wireless communication apparatus transmits a connection response frame before the transmission timer times out. Thus, the peer wireless communication apparatus can determine how long the apparatus needs to wait after the reception of ACK frame. Hence, a connection can be easily established in a short time by retransmission of a connection request frame or the like.
As shown in
The reception wait timer 311 measures the maximum period of time for reception wait when the wireless communication apparatus receives an ACK frame in response to a connection request frame already transmitted by the wireless communication apparatus and waits to receive the subsequent connection response frame. That is, upon receiving the ACK frame, the wireless communication apparatus in
The reception determination unit 312 determines whether or not a reception error has occurred. For example, the reception determination unit 312 determines that a reception error has occurred if an error detection code for the reception signal processed by the receiver 15 has failed to be decoded.
The reception analysis unit 313 analyzes the type of a correctly received signal (that is, a signal on which error correction decoding has been successfully carried out). For example, the reception analysis unit 313 references the field indicative of the type of the reception signal to determine which of a connection request frame, an ACK frame, a connection response frame, and the like the type of the reception signal matches.
An example of operation of the wireless communication apparatus in
After step S41 in
In step S333, the receiver 15 demodulates the reception signal. In step S334, a CRC check is carried out on the demodulated signal (of course, any other error detection code may be used). If the CRC check is successful, the processing proceeds to step S335. Otherwise the processing proceeds to step S344. That is, if the reception determination unit 312 determines a reception error, the processing proceeds to step S344. Otherwise the processing proceeds to step S335.
In steps S335 and 5336, the reception analysis unit 313 analyzes the type of the reception signal. If the type of the reception signal matches the connection response frame, the processing proceeds to step S47. If the type of the reception signal matches the ACK frame, the processing proceeds to step S337. If the type of the reception signal matches neither the connection response frame nor the ACK frame, the processing proceeds to step S343.
In step S337, the control unit 16 starts the reception wait timer 311. The processing then proceeds to step S338. In step S338, the receiver 15 waits for a signal. In step S339, the receiver 15 determines whether or not any signal has been detected. If any signal has been detected, the processing proceeds to step S340. Otherwise the processing proceeds to step S342.
In step S340, the receiver 15 demodulates the reception signal. In step S341, the reception analysis unit 313 analyzes the type of the reception signal. If the type of the reception signal matches the connection response frame, the processing proceeds to step S47 in
In step S342, the control unit 16 determines whether or not the reception wait timer 311, started in step S337, has timed out. If the reception wait timer 311 has timed out, the processing proceeds to step S343. Otherwise the processing returns to step S338.
In step S343, the control unit 16 determines whether or not the response signal timer 101, started in step S113 in
In step S344, the receiver 15 waits to receive a signal. In step S345, the receiver 15 determines whether or not any signal has been detected. If any signal has been detected, the processing proceeds to step S346. Otherwise the processing proceeds to step S349.
In step S346, the receiver 15 demodulates the reception signal. In step S347, a CRC check is carried out on the demodulated signal. If the CRC check is successful, the processing proceeds to step S348. Otherwise the processing proceeds to step S349.
In step S348, the reception analysis unit 313 analyzes the type of the reception signal. If the type of the reception signal matches the connection response frame, the processing proceeds to step S47 in
In step S349, the control unit 16 determines whether or not the subinterval timer 17, started in step S33 in
As described above, once the processing shifts from step S334 to step S344 (that is, once the apparatus determines that a reception error has occurred), the receiver 15 is kept active until the subinterval timer 18 times out regardless of whether or not the response signal timer 101 and the reception wait timer 311 have timed out.
An example of operation of the wireless communication apparatus in
Furthermore, the operation of the wireless communication apparatus in
In step S335 or step S348 in
An example of altered operation of the wireless communication apparatus in
As described above, the wireless communication apparatus according to the eighth embodiment involves the specified maximum period of time for waiting the reception of a connection response frame following the reception of an ACK frame provided in response to a connection request frame. Thus, the present wireless communication apparatus enables a limitation to the time for which the wireless communication apparatus waits for a connection response frame. Hence, a connection with the peer wireless communication apparatus can be easily established in a short time, with the power consumption reduced.
As shown in
The response signal timer 361 measures the period of time for which the wireless communication apparatus waits for a response signal (for example, an ACK frame) provided in response to an already transmitted connection response frame.
An example of operation of the wireless communication apparatus in
After step S293 or step S300 in
An example of operation of the wireless communication apparatus in
As described above, the wireless communication apparatus according to the ninth embodiment transmits a connection response frame, then receives an ACK frame, and thereafter transmits and receives data frames. Thus, the present wireless communication apparatus can transmit and receive data frames to and from the desired wireless communication apparatus.
A wireless communication apparatus according to a tenth embodiment has the same configuration as or a configuration similar to that of the wireless communication apparatus according to the ninth embodiment.
An example of operation of the wireless communication apparatus according to the present embodiment will be described below with reference to
In step S223 in
In step S401, the control unit 16 stops the receiver 15. Furthermore, the control unit 16 switches the wireless unit 12 to the transmission mode (step S402). The control unit 16 starts the transmitter 13 (step S403) and the frame generation unit 14 (step S404). The frame generation unit 14, started in step S404, generates a connection request frame (step S405). The transmitter 13, started in step S403, and the wireless unit 12, switched to the transmission mode in step S402, transmit the connection request frame generated in step S405, at a predetermined timing (step S406).
That is, if a reception error occurs during a wait for a connection request frame, the wireless communication apparatus according to the present embodiment avoids waiting for the next connection request frame from the peer wireless communication apparatus. Instead, the wireless communication apparatus according to the present embodiment generates and transmits a connection request frame to the peer wireless communication apparatus.
After step S406, the control unit 16 switches the wireless unit 12 to the reception mode (step S407) and starts the receiver 15 (step S408). The receiver 15, started in step S408, waits for a signal (step S409). In step S410, the receiver 15 determines whether or not any reception signal has been detected, for example, based on the magnitude of energy of the reception signal. If any signal has been detected, the processing proceeds to step S411. Otherwise the processing proceeds to step S422.
In step S411, the receiver 15 demodulates the reception signal. In step S412, a CRC check is carried out on the demodulated signal (of course, any other error detection code may be used). If the CRC check is successful, the processing proceeds to step S413. Otherwise the processing returns to step S401.
In steps S413 and 5421, the reception analysis unit 261 analyzes the type of the reception signal. If the type of the reception signal matches the connection response frame, the processing proceeds to step S414. If the type of the reception signal matches the ACK frame, the processing proceeds to step S409. If the type of the reception signal matches neither the connection response frame nor the ACK frame, the processing proceeds to step S422.
In step S414, the control unit 16 stops the receiver 15. Furthermore, the control unit 16 switches the wireless unit 12 to the transmission mode (step S415). The control unit 16 starts the transmitter 13 (step S416) and the frame generation unit 14 (step S417). The frame generation unit 14, started in step S417, generates an ACK frame (step S418). The transmitter 13, started in step S416, and the wireless unit 12, switched to the transmission mode in step S415, transmit the ACK frame generated in step S418, at a predetermined timing (step S419). After step S420, a connection with the peer wireless communication apparatus is established.
In step S422, the control unit 16 determines whether or not the subinterval timer 17 has timed out. If the subinterval timer 17 has timed out, the processing proceeds to step S423. Otherwise the processing returns to step S409. In step S423, the control unit 16 starts the subinterval timer 17. The processing returns to step S164 in
An example of operation of the wireless communication apparatus according to the present embodiment will be described below with reference to
As described above, when an error occurs in reception of a connection request frame, the wireless communication apparatus according to the tenth embodiment generates and transmits a connection request frame. Thus, the present wireless communication apparatus increases the frequency with which the wireless communication apparatus transmits and receives connection request frames to and from the peer wireless communication apparatus. That is, the present wireless communication apparatus allows a connection to be easily established in a short time.
As shown in
The frequency channel selection unit 431 selects one of a plurality of frequency channels that can be used by the wireless communication apparatus. The frequency channel switching unit 432 switches the channel used by the wireless unit 12, the transmitter 13, and the receiver 15 to one of the plurality of frequency channels.
An example of operation of the wireless communication apparatus in
In step S48 in
An example of operation of the wireless communication apparatus in
As described above, the wireless communication apparatus according to the eleventh embodiment switches the frequency channel at every subinterval and alternately iterates, during the subinterval, a transmission of a connection request frame and a wait for reception of a response signal provided in response to the connection request frame. Thus, according to the present wireless communication apparatus, even if the peer wireless communication apparatus can use a plurality of frequency channels, a connection can be easily established in a short time.
As shown in
An example of operation of the wireless communication apparatus in
In step S166 in
In step S452, the frequency channel switching unit 432 switches the channel used by the wireless unit 12, the transmitter 13, and the receiver 15 to one of the channels on which the wait for reception has not been carried out within the current subinterval. After step S452, the control unit 16 allows the active-state timer 151 to start measuring an active-state period (step S453). The processing returns to step S164 in
An example of operation of the wireless communication apparatus in
As described above, the wireless communication apparatus according to the twelfth embodiment switches among a plurality of frequency channels within the subinterval to wait to receive a connection request frame on the selected frequency channel. Thus, according to the present wireless communication apparatus, even if the peer wireless communication apparatus can use a plurality of frequency channels, a connection can be easily established in a short time.
A wireless communication apparatus according to a thirteenth embodiment has the same configuration as or a configuration similar to that of the wireless communication apparatus according to the twelfth embodiment.
An example of operation of the wireless communication apparatus according to the present embodiment will be described below with reference to
In step S223, if the CRC check is successful, the processing proceeds to step S271. Otherwise the processing proceeds to step S461. In step S271, if the type of the reception signal matches the connection request frame, the processing proceeds to step S170 in
In step S461, the frequency channel switching unit 432 fixes the channel used by the wireless unit 12, the transmitter 13, and the receiver 15 to the current frequency channel (that is, the frequency channel on which a reception error has occurred). After step S461, the processing proceeds to step S224 in
In step S462, if the channel used by the wireless unit 12, the transmitter 13, and the receiver 15 is fixed to the current frequency channel, the processing returns to step S164 in
An example of operation of the wireless communication apparatus according to the present embodiment will be described below with reference to
As described above, if a reception error occurs, the wireless communication apparatus according to the thirteenth embodiment fixes the operating channel to wait for reception. Thus, according to the present wireless communication apparatus, if for example, the peer wireless communication apparatus iteratively transmits a connection request frame on the same frequency channel, a connection request frame transmitted after the occurrence of the reception error can be received. Hence, a connection can be easily established in a short time.
A wireless communication apparatus according to a fourteenth embodiment has the same configuration as or a configuration similar to that of the wireless communication apparatuses according to the twelfth and thirteenth embodiments.
An example of operation of the wireless communication apparatus according to the present embodiment will be described below with reference to
After step S461 in
An example of operation of the wireless communication apparatus according to the present embodiment will be described below with reference to
As described above, when an error occurs in reception of a connection request frame, the wireless communication apparatus according to the fourteenth embodiment fixes the channel used and generates and transmits a connection request frame. Thus, the present wireless communication apparatus allows a connection to be easily established in a short time.
In the above-described embodiments, various operations of the wireless communication apparatus during a subinterval measured during an interval have been described. A wireless communication apparatus according to a fifteenth embodiment utilizes an interval equal to an integral multiple of a subinterval (an interval that is twice, three times, . . . as long as a subinterval).
The wireless communication apparatuses according to the above-described embodiments can be roughly classified into those which transmit connection request frames and those which receive connection response frames. However, a single wireless communication apparatus may be expected to switch the operation thereof in a time division manner. That is, a wireless communication apparatus that transmits a connection request frame during one subinterval may wait to receive a connection request frame during another subinterval. Even when asynchronous wireless communication apparatuses each configured to switch the operation thereof attempt to connect to each other, the wireless communication apparatuses are easily connected together if one interval includes a plurality of subintervals.
As described above, the wireless communication apparatus according to the fifteenth embodiment utilizes an interval equal to an integral multiple of a subinterval (an interval that is twice, three times, . . . as long as a subinterval). Thus, the wireless communication apparatus can be easily connected to the peer wireless communication apparatus.
The processing in the above-described embodiments can be implemented using a general-purpose computer as basic hardware. A program implementing the processing in each of the above-described embodiments may be stored in a computer readable storage medium for provision. The program is stored in the storage medium as a file in an installable or executable format. The storage medium is a magnetic disk, an optical disc (CD-ROM, CD-R, DVD, or the like), a magnetooptic disc (MO or the like), a semiconductor disk, or the like. That is, the storage medium may be in any format provided that a program can be stored in the storage medium and that a computer can read the program from the storage medium. Furthermore, the program implementing the processing in each of the above-described embodiments may be stored on a computer (server) connected to a network such as the Internet so as to be downloaded into a computer (client) via the network.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms;
furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2010-259444 | Nov 2010 | JP | national |