text: the radio - electrical command receiver device 12 represented in fig1 makes it possible to receive radio - electrical commands which are intended to control electrical equipment ( not shown ) of a building , such as an element for locking , shading or solar protection . this device comprises an antenna 13 referred to as the main antenna , receiving electromagnetic waves of the radio type , a radio - electrical receiver 14 that includes amplification and frequency - or amplitude - demodulation stages , whose input is connected to this antenna 13 and whose output is connected to a unit 15 for controlling the equipment . the circuit consisting of the main antenna 13 , the radio - electrical receiver 14 and the control unit 15 makes it possible to carry out an action by using the equipment . this action is associated with a command of radio - electrical nature transmitted by a remote - controlled transmitter 11 and received by the main antenna 13 . the radio - electrical command receiver device 12 also comprises a unit 16 for processing and analyzing the commands of radio - electrical nature which are received by two auxiliary antennas 17 and 18 . this unit 16 makes it possible to determine whether the radio - electrical command received by the main antenna 13 , but also by the two antennas 17 and 18 , was transmitted by a remote - control transmitter from a so - called near - field zone or from a so - called far - field zone . the device and the method according to the invention use the properties of near fields and far fields in order to determine the zone from which the radio - electrical command was transmitted . an important characteristic of the power radiated in a near field is that it decreases substantially in inverse proportion to the distance , while this decrease is related to the square of the distance in a far field . it is furthermore known that the electromagnetic composition of the wave changes : for a plane wave or a wave in the far field , the electric field e and the magnetic field h are in a constant ratio ( impedance of air equal to 120π , or 377 ohms ), while the magnetic component h is predominant in a near field , the substantially constant ratio being reached beyond the transition between near and far field . in a first embodiment of the device according to the invention , which is represented in fig1 , the auxiliary antenna 17 is an antenna of the coil type and the auxiliary antenna 18 is an antenna of the quarter - wave type . when a radio - electrical command is received , the antenna 17 delivers a signal essentially representing the variations of the magnetic field h as a function of time . when a radio - electrical command is received , the antenna 18 delivers a signal representing the variations of the magnetic field h and the electric field e as a function of time . the transmission zone of the radio - electrical command is identified by comparing these two signals , or their powers . if a command has been transmitted from the near - field zone , specifically , then the ratio of power received by the antenna 17 / power received by the antenna 18 is substantially greater than if the command was transmitted from the far - field zone . two auxiliary antennas of different types therefore make it possible , preferably by training , to establish a law variation of received powers as a function of the distance from the source , and therefore to determine the distance by comparing the powers . it should be noted that if a first auxiliary antenna of the coil type is selected , that is to say one which is sensitive to the magnetic component of the field , then a second auxiliary antenna of any different type may be selected , so long as it is mainly or at least significantly sensitive to the electric field . in order to simplify the layout in a second embodiment , which is represented in fig2 , one auxiliary antenna is replaced by an output of the radio - electrical receiver 14 that directly gives the power level received at the main antenna 13 . these outputs are commonly referred to as rssi , standing for received signal strength indicator . for example , the circuit cc1000 marketed by chipcon has such an analog output on its terminal 28 . in both of the embodiments described above , the signals output by the antennas may be adjusted so as to obtain a same amplitude at the transition between near field and far field , for example with the aid of potentiometric dividers . a third embodiment , which is represented in fig3 , consists in using two auxiliary antennas 37 and 38 of the same type , namely multiturn coils . these two antennas are arranged substantially one behind the other in the direction coming from the transmission point of the radio - electrical command . the distance between these antennas , which must be selected to be less than the wavelength , leads to a significant decrease of the signal received at the antenna further away from the source so long as the near - field conditions are met . in the case of a distance source , however , the powers received by each coil are almost identical . for example , in the case of a command transmitted at a frequency of 433 mhz and with a distance of 3 cm between the antennas 37 and 38 : if the command is transmitted from a point located 1 m away from the device , then a 6 % difference in received power will be detected between the two antennas 37 and 38 , if the command is transmitted from a point located 8 cm away from the device , then a 37 % difference in received power will be detected between the two antennas 37 and 38 . it is preferable to select two antennas which are substantially coplanar , and each of which is arranged in the form of concentric tracks on the same printed circuit . if need be , using the two faces of the circuit makes it possible to superimpose the two coils perfectly . in this configuration , the greatest precision for determining the distance from the source will be achieved if the latter is in the plane of the coils , along the axis joining their centers . this third embodiment will be preferred to the previous one if the radio - electrical receiver 14 does not have an analog output for measuring the power of the signal transmitted by the main antenna 13 . this embodiment is extremely simple and very inexpensive : fig5 shows a printed circuit which includes the necessary components using smd technology : the two auxiliary antennas 37 and 38 , tuned to the reception frequency by capacitors 31 and 32 , and two transistors 33 and 34 connected in common - collector mode in order to make it possible both to amplify and rectify the current arriving at their base from the antenna . each transistor &# 39 ; s emitter is connected to an analog measuring input of a microcontroller 35 . a common ground connection between the two antennas ( outputs not connected to the bases of the transistors ) and the ground reference of the circuit 35 has not been represented . at the cost of a few extra components , it is similarly and advantageously possible to use a common - emitter layout so as to benefit from voltage amplification . these layouts are known to the person skilled in the art . the main antenna 13 and the radio - electrical receiver have not been represented in this figure . a connection 36 joins the output of this radio - electrical receiver to an input of the microcontroller 35 . in all the embodiments , the signals output by the antennas may be combined before processing , for example by subtractive serial connection . the comparison then relates to the result of the subtraction with respect to a fixed threshold . in the case of the embodiment with two coils , as is known in the art for other applications ( u . s . pat . nos . 3 , 182 , 314 and 2 , 597 , 518 ), the two coils connected in series may form an 8 of the plane of the printed circuit . the comparison may be carried out simply with the aid of an analog comparator . for taking the measurement of the amplitudes of the signals , it is also possible to directly use the analog inputs of a controller , if it is for example a microcontroller . a flow chart of the method for interpreting a command is represented in fig4 . a first step 21 represents the wait to receive a signal . if a signal is received and demodulated by the receiver , the received frame is analyzed during step 22 in order to find out whether it is a valid frame . if it is , then step 23 is performed during which acquisition and optional initial processing is carried out for the signals received at the inputs of the processing unit 16 . the comparison of these signals takes place in step 24 . this comparison relates directly to the signals output by the antennas or to the result of processing the data obtained from these signals , so as to obtain an image of the amplitude of the power received at each antenna . if the difference between the amplitudes or powers is greater than a given threshold then step 25 is performed , while step 21 is repeated if it is not . in step 25 , the near - field detection conditions are fulfilled : the “ proximity ” mode is therefore activated in the control unit 15 . in the aforementioned case of a device for a garage door or entry , this proximity mode may for example involve learning a new transmitter identifier . during the optional step 26 , the difference or ratio of the powers received at the antennas is used to determine the distance from the transmitter , either by virtue of an algorithm which uses a field decay law or by reading from a predefined table , or alternatively by comparison with values acquired in a training phase . these various methods are known to the person skilled in the art . the control contained in the frame picked up by the main antenna 13 and the radio - electrical receiver 14 is executed during step 27 . referring to the same example as above , this command may be a command to pair up , containing the identifier of the command transmitter . the procedure for pairing up can thus be carried out in an extremely simple way . it may of course be any other control , for example an up or down control in operation of the “ deadman &# 39 ; s ” type , the transmitter already being known to the receiver . specific embodiments of a method for interpretation of a radio - electrical command according to the present invention have been described for the purpose of illustrating the manner in which the invention may be made and used . it should be understood that implementation of other variations and modifications of the invention and its various aspects will be apparent to those skilled in the art , and that the invention is not limited by the specific embodiments described . it is therefore contemplated to cover by the present invention any and all modifications , variations , or equivalents that fall within the true spirit and scope of the basic underlying principles disclosed and claimed herein .