Method and system for data transfer in a Bluetooth low energy network
A method for communicating data between Bluetooth Low Energy (BLE) devices in a network ( 100 ) including multiple nodes ( 200, 202 ). The method includes starting a scan mode at a first node ( 200 ) having data to send; and determining whether data to send has been transmitted to the first node from an upstream node or a downstream node. If the data to send was received from a downstream node, the first node begins a scan mode. If the data to send was received from an upstream node, the first node begins an ADV event.
1. A method for communicating data between Bluetooth Low Energy (BLE) devices in a network comprising multiple nodes, the method comprising:
starting a first scan mode at a first node when having data to send; and,
after starting the first scan mode, determining whether the data had been received at the first node from an upstream node or a downstream node, wherein:
(i) if the data was received from a downstream node, the first node begins a second scan mode; and
(ii) if the data was received from an upstream node, the first node begins an advertising (ADV) event.
2. The method of claim 1 , wherein, if the data was received from an upstream node, the first node waits for a time delay before beginning an ADV event.
3. The method of claim 2 , wherein the time delay is a time period which is at least twice that of an ADV event.
4. The method of any of claim 1 , wherein, if the data was received from an upstream node, and after the ADV event occurs, the first node begins a scan mode of random duration.
5. The method of claim 4 , wherein, if the data was received from an upstream node, and after the first scan mode occurs, the first node cycles between ADV events and scan modes, wherein the scan modes are of random durations.
6. The method of any of claim 1 , wherein, if the data was received from a downstream node, and after the second scan mode occurs, the first node begins an ADV event.
7. The method of claim 6 , wherein, if the data was received from a downstream node, and after the ADV event occurs, the first node cycles between scan modes of random durations and ADV events.
8. The method of claim 1 , wherein a data session is established and the data is transmitted from the first node to a second node.
9. The method of claim 8 , wherein after the data is transmitted from the first node to the second node, the first node returns to a default mode.
10. A Bluetooth Low Energy (BLE) network comprising multiple nodes and being for communicating data between Bluetooth Low Energy devices, the network comprising:
a first BLE device configured to enter a first scan mode when having data to send; and
a second BLE device;
wherein the first BLE device is configured to determine, after starting the first scan mode, whether the data had been received at the first BLE device from an upstream node or a downstream node, and is further configured such that:
(i) if the data was received from a downstream node, the first BLE device begins a second scan mode; and
(ii) if the data was received from an upstream node, the first BLE device begins an advertising (ADV) event.
11. A Bluetooth Low Energy (BLE) network comprising multiple nodes and being for communicating data between Bluetooth Low Energy devices, wherein the network is configured to operate in accordance with the method of claim 1 .
12. A computer program product containing instructions stored on a non-transitory computer readable medium that, when executed within a Bluetooth Low Energy (BLE) network comprising multiple nodes, will configure the BLE network to operate in accordance with the method of claim 1 .