This invention relates to radio communications between two devices, particularly where the communication follows a standard protocol such as Bluetooth™ or Bluetooth Low Energy™.
In many radio communication protocols such as Bluetooth, it is necessary to exchange message between devices in order to establish a connection in accordance with the protocol. As it is necessary to ensure that a connection is established only if that is what the user of one or both devices wants to do, it will often be necessary for the user to take positive steps to initiate and authorise the connection. Depending on the application and the device this process may be confusing or fiddly for the user.
It has been proposed that connection in a standard communication protocol could be established using another communication medium, such as by using Near Field Communication (NFC) technology. Since NFC requires that devices are brought into close physical proximity with one another in order to exchange data through mutual magnetic induction, this may be a good way to dispense with the steps requiring user intervention in the connection procedure whilst ensuring that connection only takes place when required. However there is a significant disadvantage in this approach in that additional hardware is required such as a separate antenna on both devices and driving circuitry. Thus adds to the overall cost and power consumption and makes it impractical to supply as an integrated System on Chip (SoC) product.
When viewed from a first aspect the invention provides a method of digital radio communication between a first device and a second device, each comprising a radio transmitter and a radio receiver, the method comprising:
The invention also extends to a digital radio communication system comprising a first device and a second device, each comprising a radio transmitter and a radio receiver, the first device being arranged to transmit a first message to said second device comprising a data value; the second device being arranged to:
receive said first message and determine whether said data value is present;
The invention also extends to a device for digital radio communication comprising a radio transmitter and a radio receiver, the device being arranged to:
The invention also extends to a non-transitory computer-readable medium comprising instructions that when executed by a computer cause the computer to perform a method of:
The invention further extends to a computer software product comprising the instructions set out above. The skilled person will appreciate that the aforementioned computer may be a microprocessor in a digital radio communication device, which may be portable.
Thus it will be seen by those skilled in the art that at least some types of wireless communication between the first and second devices may be restricted to circumstances where the signal from the first device to the second device is relatively strong. The data value provides an indication to the second device that this function should be applied.
If the received signal strength is not above the threshold then the second device could simply not transmit a message, or it could transmit a different message, For example in this case the second device may transmit a negative acknowledgement message (commonly referred to as a ‘NACK’).
An example of how this function could be used would be during the establishment a connection between the two devices. The connection could therefore take place only where the received signal strength is above the threshold. This could permit, for example, a simplified connection protocol when the first and second device are physically close to one another. In such embodiments therefore the first and second messages may comprise part of a pre-determined connection establishment protocol.
The first and second device may be arranged to operate under a pre-defined communication protocol such as Bluetooth™ or Bluetooth Low Energy™. For example in a set of embodiments they may operate a protocol compatible with Bluetooth Low Energy specification 4.0 or higher. The functionality described herein therefore represents an extension to the core Bluetooth Low Energy™ specification and the data value specified above can act to confirm to the second device that the first device is compatible with the extended specification and that the extended functionality should be employed.
The data value could simply constitute a flag indicating that the second device should employ the signal-strength-dependent transmission described herein, with the threshold to be applied by the second device when carrying out its signal strength comparison being predetermined—e.g. in a protocol—or determined from elsewhere. In a preferred set of embodiments however the data value comprises information relating to the received signal strength threshold to be applied by the second device. This allows the first device to control the procedure by determining how close it needs to be to the second device (and thus how strong the received signal needs to be) in order for the second device to respond.
Such an arrangement is novel and inventive in its own right and thus when viewed from a further aspect the invention provides a device for digital radio communication comprising a radio transmitter and a radio receiver, the device being arranged to transmit a first message to another device comprising a data value wherein said data value comprises a signal strength threshold which said other device is expected to apply in deciding how to reply to said first message.
In accordance with any aspect of the invention absence of the data value (leading to the second device not performing the RSSI threshold check) could be represented simply by no data being transmitted in a relevant part of the first message (such as at the end), by the transmission of null data, by the transmission of one or more values predetermined to correspond to a null value or to the transmission of data not predetermined to be valid. It follows that there may be more than one candidate data values which trigger the RSSI threshold check in the second device. Indeed this will be the case in the preferred embodiments in which the data value carries the RSSI threshold to be used by the second device.
The first device may be a slave device—e.g. a Bluetooth-compatible Peripheral device. The second device may be a master device—e.g. a Bluetooth-compatible Central device. The first message may be an advertisement message. In one set of embodiments the first message comprises a UUID∥ServiceData message including the data value such as the received signal strength information.
The first device may also determine a signal strength it receives from the second device and use said signal strength to restrict communication, or at least some types of communication, to circumstances where the signal is relatively strong. In a set of embodiments therefore the first device is arranged only to acknowledge or respond to a message from the second device (which may be said second message or a further message) if said signal strength exceeds a threshold. This could be carried out routinely or only if the message from the second device contains a data value. Thus the first and second devices could act reciprocally.
The message may be a polling or advertisement message—e.g. indicating a desire to connect or pair. Alternatively it may be an acknowledgement of a message received from the second device.
The first device may be a Peripheral device and the second device may be a Central device; or the first device could be a Central device.
As previously mentioned the invention advantageously permits in certain circumstances two devices to perform a connection procedure automatically if they are brought sufficiently close to one another. Such an arrangement is novel in its own right and thus when viewed from a further aspect the invention provides a method of establishing a connection between a first device and a second device, each comprising a radio transmitter and a radio receiver, the method comprising: one of said first and second devices determining a received signal strength for a signal transmitted between the devices using the respective radio transmitter and receivers and the devices automatically carrying out a pre-defined communication establishment protocol to establish a two-way communication connection using said radio transmitters and receivers if said received signal strength exceeds a predetermined threshold.
An embodiment of the invention will now be described, by way of example only, with reference to the accompanying drawings in which:
Apart from where specified to the contrary hereinbelow the Master and Slave devices 2, 8 are configured to operate according to the Bluetooth Low Energy (BTLE) core specification version 4.0.
The presence of the extra data value in the Advertisement message causes the master at step 28 to compare the measured signal strength against the threshold specified by the RSSI data value from the Advertisement message.
If the RSSI is too low the master 2 ignores the Advertisement message 22 (step 30) but if it exceeds the threshold, the master device transmits a Connection request 32 at step 34. This is received by the slave at step 38 which responds with an Acknowledgement message 40 at step 42. Once the master 8 receives the Acknowledgement message 40 at step 44 a connection 46 is considered established and messages and data can be exchanged, even if the signal strength should now be reduced (subject to error rates staying within specification).
Thus it will be seen that in accordance with the embodiment set out above, a master and slave device operating under the Bluetooth Low Energy™ protocol can easily and quickly become connected simply by bringing them into close proximity with one another so that the master device receives a high signal strength. This gives an elegant way of enabling automatic proximity connection establishment without the need for additional hardware or software such as is required for Near Field Communication.
A further embodiment of the invention is described below with reference to
During the connection, the master 2 transmits a polling message 48 to the slave 8 including UUID∥RSSI data within the polling message. This is received by the slave 8 which then proceeds to determine the received signal strength of the message 48. The result is tested against the threshold specified in the RSSI data in the polling message 48. If the signal is too weak, then the polling message 48 is ignored but if the signal is strong enough the slave 8 issues a message 50 in reply.
Some time later the master 2 polls the slave 8 with an ordinary polling message 54 and the slave replies with another message 56 which includes UUID∥RSSI data. Consequently the master performs an RSSI threshold check based on the data included the message. In this example the received signal strength is found to be below the specified threshold. The master 2 could just ignore the message and thus the connection would eventually be broken after the connection supervision timer has expired. Alternatively however, as shown the master 2 sends a negative acknowledgement (NACK) 58 to the slave 8 so that the slave knows that the message is not being acted upon. This however is sufficient to keep the connection alive.
It may be appreciated from this embodiment therefore that the principle of exchanging messages only if the received signal strength is high enough may be used for any messages that are exchanged within a connection, not just for establishing the connection.
It will be appreciated by those skilled in the art that whilst specific embodiments of the invention have been described, many variants and alternatives are possible within the scope of the invention. For example it will of course be appreciated that the procedures set out in the two embodiments can be employed together in the same device or method. Equally, although the embodiments have been described with reference to the Bluetooth Low Energy protocol, the principles may be applied to any other communication protocol.
Number | Date | Country | Kind |
---|---|---|---|
1322196.5 | Dec 2013 | GB | national |