Conference PaperPDF Available

Demo: Cross-Technology Communication between BLE and Wi-Fi using Commodity Hardware

Authors:

Abstract and Figures

In this demonstration, we present a prototype of a cross-technology communication (CTC) system that allows a Bluetooth Low Energy (BLE) device to directly send data to a Wi-Fi device using commodity hardware. Towards this goal, we use energy burst patterns to encode information on overlapping channel frequencies. With this demonstration , we prove the feasibility of our holistic CTC approach for popular wireless technologies in the 2.4 GHz ISM band based on off-the-shelf hardware and open-source software.
Content may be subject to copyright.
Demo: Cross-Technology Communication between
BLE and Wi-Fi using Commodity Hardware
Alex Bereza, Ulf Wetzker, Carsten Herrmann, Carlo Alberto Boanok, Marco Zimmerling
Networked Embedded Systems Group, TU Dresden, Germany
Fraunhofer Institute for Integrated Circuits, Division Engineering of Adaptive Systems, Dresden, Germany
Deutsche Telekom Chair of Communication Networks, TU Dresden, Germany
kInstitute for Technical Informatics, Graz University of Technology, Austria
alex.bereza@tu-dresden.de ulf.wetzker@eas.iis.fraunhofer.de
carsten.herrmann@tu-dresden.de cboano@tugraz.at marco.zimmerling@tu-dresden.de
Abstract
In this demonstration, we present a prototype of a cross-
technology communication (CTC) system that allows a
Bluetooth Low Energy (BLE) device to directly send data
to a Wi-Fi device using commodity hardware. Towards this
goal, we use energy burst patterns to encode information
on overlapping channel frequencies. With this demonstra-
tion, we prove the feasibility of our holistic CTC approach
for popular wireless technologies in the 2.4 GHz ISM band
based on off-the-shelf hardware and open-source software.
1 Motivation
Wireless communication technologies have evolved sig-
nificantly in the past decades. With ever-increasing through-
put, wireless supersedes cable-based solutions in many do-
mains. As the success and spreading of wireless technologies
continues to grow, however, the radio spectrum gets more
and more crowded. In particular, the license-free Indus-
trial, Scientific and Medical (ISM) bands are becoming an
increasingly scarce resource due to the proliferation of low-
power wireless devices forming the Internet of Things (IoT).
This increasing congestion is a serious challenge for wire-
less systems, as the radio interference caused by neighbor-
ing devices operating concurrently in the same frequency
band leads to an increased packet loss and higher number
of packet re-transmissions affecting the latency, throughput,
and energy efficiency of the involved networks.
Coordination among co-located wireless networks could
help alleviate the interference problem. Different wireless
technologies, however, employ different physical layers and
bandwidth allocation schemes, and are therefore unable to
communicate directly with each other; that is, they can-
Figure 1. Illustration of our holistic CTC approach with
the example of BLE to Wi-Fi communication
not interpret signals from another technology. For this rea-
son, a cross-technology communication (CTC) scheme that
enables low-data-rate communication without the need for
dual-radio gateways or additional infrastructure is highly
desirable (e.g., to enable cooperative coexistence manage-
ment).
2 Design
State-of-the-art CTC schemes, including Esense [2] and
FreeBee [3], have several limitations. Esense is restricted to
unidirectional communication from Wi-Fi to ZigBee and as-
sumes that the number of different messages is smaller than
the alphabet count. FreeBee is a more general, bidirectional
approach that takes also BLE into account; however, it re-
quires special hardware, such as FPGA-enabled Wi-Fi de-
velopment boards. Furthermore, FreeBee’s BLE implemen-
tation is limited to the three BLE advertisement channels,
which prevents generic CTC communication with BLE de-
vices. In both works, robustness is solely achieved by trans-
mitting the same message multiple times and processing it
only if it was received more often than a certain threshold.
To address these problems, we introduce a holistic CTC
approach for the 2.4 GHz ISM band that is feasible based on
commodity hardware and open-source software only. To this
end, we use a common transmission scheme among hetero-
geneous technologies with fundamentally different physical
layers by exploiting the typically undesired cross-technology
interference. Overlapping channel frequencies of different
technologies enable them to sense each other’s transmissions
if their radio hardware supports channel duty cycle measure-
ments or received signal strength indicator (RSSI) sampling.
234
International Conference on Embedded Wireless
Systems and Networks (EWSN) 2017
20–22 February, Uppsala, Sweden
© 2017 Copyright is held by the authors.
Permission is granted for indexing in the ACM Digital Library
ISBN: 978-0-9949886-1-4
Figure 2. Demonstration setup. A BLE device transmits
a user-defined string to a Wi-Fi device. The resulting en-
ergy patterns are observed with a passive TelosB sniffer.
These measurement techniques are needed, for example, to
implement CSMA/CA. Like prior work [2, 3], we use them
to sense energy bursts caused by transmissions of other tech-
nologies. By modulating the duration of energy bursts, we
encode information to create a common transmission layer.
Specifically, we design an encoding scheme based on
chip sequences with specific auto-correlation and cross-
correlation properties. Each CTC packet begins with a start-
of-frame sequence to distinguish it from other traffic. For
this purpose, we utilize a Barker code of length 13. At zero
shift, Barker codes have a high autocorrelation value, while
the out-of-phase aperiodic autocorrelation absolute values
are less or equal to 1. For payload encoding, we use binary
maximum-length sequences to achieve a spreading factor of
8. The sequences are chosen to have low cross-correlation.
This way, we add redundancy to each payload bit and pro-
vide a basic level of robustness for individual transmissions;
re-transmissions can further improve reliability. Further-
more, we provide the first implementation that supports arbi-
trary BLE channels for CTC transmissions. As a result, our
approach is more general than previous works.
Figure 1 depicts the main building blocks of our CTC
approach. Every CTC system includes three components:
(i) RSSI sampling (BLE) or channel duty cycle information
(Wi-Fi) for energy burst detection, (ii) a timing control and
packet length modulation block for energy burst transmis-
sion, and (iii) support for legacy standard-compliant com-
munication.
3 Demonstration
As a proof of concept, we present our implementation
of a CTC system that allows a common BLE transmitter to
directly communicate with an off-the-shelf Wi-Fi receiver.
To evaluate channel duty cycle information, we empower
an off-the-shelf Wi-Fi network interface card to detect the
length of distinct energy bursts by modifying its driver run-
ning in Linux kernel space. We successfully tested our im-
plementation with the Qualcomm Atheros chipsets AR9462
and AR9287. To send energy bursts, we use the CC2650 [1]
BLE platform from TI and an open-source BLE stack [4].
This way, we are able to reliably transmit a bitstream from
BLE to Wi-Fi.
We demonstrate the functionality of our proof-of-concept
CTC implementation using the setup illustrated in Figure 2.
Figure 3. Visualization of CTC energy pattern recorded
by a TelosB. Due to averaging effects, the short energy
bursts seem to have a lower RSSI level than the long en-
ergy busts, and appear as spikes rather than plateaus.
On the BLE side (transmitter), we program the CC2650 to
periodically send a user-defined string using BLE data pack-
ets to create energy bursts of certain length. Using a TelosB
sniffer, we record and visualize the resulting energy pattern
(see Figure 3) to illustrate our encoding scheme to the con-
ference attendees and allow for failure analysis.
On the Wi-Fi side (receiver), we load our modified Wi-Fi
driver and start our energy burst decoding program. The re-
ceived energy bursts are immediately decoded, allowing for
a live display of the arriving characters on the command line.
We also compute and display byte, bit, and chip error rates
over a certain time window. Decoding errors due to interfer-
ence can be analyzed via the recorded energy patterns.
Table 1. Preliminary CTC error rate measurements
occasional traffic streaming, browsing
byte error rate 1.5% 48.3%
bit error rate 0.7% 44.6%
chip error rate 2.4% 47.5%
We measured the error rates in two scenarios: (i) on a
Wi-Fi channel with only beacons and occasional traffic and
(ii) on a Wi-Fi channel used for video streaming and brows-
ing. Our results (see Table 1) show that our design is robust
enough to support uncritical applications based on CTC.
With this demonstration, we prove the feasibility of our
CTC approach, which we believe will pave the way for many
new applications and higher spectrum efficiency.
4 References
[1] Texas Instruments CC2650 SimpleLink multi-standard 2.4 GHz ultra-
low power wireless MCU. http://www.ti.com/product/cc2650
Accessed: Nov 8, 2016.
[2] K. Chebrolu and A. Dhekne. Esense: Communication through energy
sensing. In Proceedings of the 15th Annual International Conference
on Mobile Computing and Networking (MobiCom), 2009.
[3] S. M. Kim and T. He. FreeBee: Cross-technology communication via
free side-channel. In Proceedings of the 21st Annual International Con-
ference on Mobile Computing and Networking (MobiCom), 2015.
[4] M. Sp ¨
ork. IPv6 over Bluetooth Low Energy using Contiki. Master’s
thesis, Graz University of Technology, Graz, Austria, October 2016.
235
... So far, the community has mostly focused on building prototypes showcasing the ability of carrying out CTC between diverse wireless standards and on highlighting potential applications [2], [8], [17]. Such proof-of-concepts are typically implemented using powerful software-defined radios [11], [12], [18] or hacked on specific hardware (HW) platforms [13], [19] and hardly describe any implementation detail. As the interest in CTC grows, there is a need to move away from feasibility studies in favour of general CTC solutions supporting multiple HW platforms by design. ...
... This is important also in light of the heterogeneity of HW platforms: some radios only support the transmission of standard-compliant packets using payloads of different length, whilst some others also support test modes that allow the finegrained creation of precisely-timed modulated carriers [28]. Similarly, some HW platforms return the absolute RSS in dBm, whilst some others return the number of times in which the RSS exceeded a given threshold [19]. In X-Burst all HWdependent functionality is hence separated from the encoding/decoding strategies and from other CTC configurations, which enhances the portability to new devices. ...
... A large portion of existing CTC schemes have been implemented on platforms with plentiful resources (e.g., laptops [2], [7], [10], [19], and mobile phones [8], [13]), or on softwaredefined radios allowing full access to the transceiver [11], [12], [17]. Only a few works have specifically targeted (also) offthe-shelf constrained devices, but have not integrated CTC functionality in existing operating systems in a generic and portable way. ...
Chapter
The proliferation of Internet of Things (IoT) applications has brought the demand of ubiquitous connections between heterogeneous wireless devices. Cross-Technology Communication (CTC) is an important technique to directly exchange data bits between heterogeneous devices which follow different standards. Existing works can achieve CTC by exploiting the side channels, such as temporal, frequency, or amplitude modulation, however, these works have limited performance under channel noise. In this section, we propose WiZig, a new CTC method from WiFi to ZigBee which leverages modulations in both the temporal and amplitude dimensions to maximize the throughput under a noisy channel. The theoretical model of the CTC based on energy channel is established to clearly explain the channel capacity. We then propose an algorithm of online rate adaptation to choose the modulation strategy based on the channel condition. According to the communication model, WiZig adjusts the energy amplitudes’s number and the receiving window’s length, thus optimizing the CTC throughput. We implement a prototype of WiZig on a software-defined radio (SDR) platform and a commercial ZigBee node. Our evaluation result shows that WiZig can achieve a throughput of 153.85 bps and the symbol error rate is less than 1% in a real environment.
Article
Full-text available
Die Digitalisierung der Gesellschaft und Industrie schreitet unaufhörlich voran, und die Bedeutung des Zugangs zu uneingeschränkter mobiler Vernetzung für unser gesellschaftliches und berufliches Leben nimmt somit ebenfalls stetig zu. Mit der Entwicklung der 5G Mobilfunkgeneration, aber auch echtzeitfähiger lokaler Funknetze werden in Zukunft digitale drahtlose Kommunikationsnetze eine Vielzahl neuer industrieller Anwendungen erschließen und dabei technische Anforderungen erfüllen, die bisher nur durch kabelgebundene Netze erfüllt werden konnten. Die stetige Erhöhung der Datenrate, die Minimierung von Ende-zu-Ende Latenzen zur Erfüllung von Echtzeitanforderungen und die Steigerung der Netzzuverlässigkeit sind aktuell zentrale Forschungsziele und Entwicklungsziele bei der Optimierung von Netzen mit Funkzugang.
Article
The proliferation of IoT applications brings the demand of ubiquitous connections among heterogeneous wireless devices. Cross-Technology Communication (CTC) is a significant technique to directly exchange data among heterogeneous devices that follow different standards. By exploiting a side-channel like frequency, amplitude, or temporal modulation, the existing works enable CTC but have limited performance under channel noise. In this article, we propose WiZig, a novel CTC technique from WiFi to ZigBee that employs modulations in both the amplitude and temporal dimensions to optimize the throughput over a noisy channel. We establish a theoretical model of the energy communication channel to clearly understand the channel capacity. We then devise an online rate adaptation algorithm to adjust the modulation strategy according to the channel condition. Based on the theoretical model, WiZig controls the number of encoded energy amplitudes and the length of a receiving window, so as to optimize the CTC throughput. We implement a prototype of WiZig on a software radio platform and a commercial ZigBee device. The evaluation shows that WiZig achieves a throughput of 153.85bps with less than 1% symbol error rate in a real environment.
Article
Full-text available
The ever-developing Internet of Things (IoT) drives the prosperity of ubiquitous connections among heterogeneous wireless devices (e.g. WiFi, ZigBee and Bluetooth) that follow different standards. Wireless devices share unlicensed industrial, scientific and medical bands, offering an opportunity for cross-technology communication (CTC), where coexistence and cooperation mechanisms of wireless technologies incur the problem of coexistence. This study is purposed to present a rounded state-of-the-art survey on CTC from the hardware perspective, CTC techniques are roughly divided into two types: hardware based and hardware free. In hardware-based strategies, a dedicated hardware is required to send information to wireless devices for enabling direct communication. The hardware-free schemes, by contrast, enable heterogeneous wireless devices to communicate directly by exchanging information or data without the dedicated hardware. Recent advances in CTC are reviewed in both types by expatiating on how heterogeneous wireless devices are achieving direct communication. The authors compare some CTCs with respect to throughput, communication range, energy efficiency and cost, in addition, they present open research issues of two types.
Conference Paper
In this paper, we present Esense: a new paradigm of communication between devices that have fundamentally different physical layers. The same communication framework also works between devices that have the same physical layer, which are out of communication range but within carrier-sense range. Esense is based on sensing and interpreting energy profiles. While our ideas are generic enough to be applicable in a variety of contexts, we illustrate the usefulness of our ideas by presenting novel solutions to existing problems in three distinct research domains. As part of these solutions, we demonstrate the ability to communicate between devices that follow two different standards: IEEE 802.11 and 802.15.4. We build an ``alphabet set'': a set of signature packet sizes which can be used for Esense. For this, we take a measurement based approach by considering WiFi traces from actual deployments. We then analyze the channel activity resulting from these traces and build an appropriate alphabet set for Esense communication. Our results show that we could potentially construct an alphabet of size as high as 100; such a large alphabet size promises efficient Esense communication. We also validate this alphabet set via a prototype implementation, and show that effective communication is indeed feasible even when both sides use different physical layers.
FreeBee: Cross-technology communication via free side-channel
  • S M Kim
  • T He
S. M. Kim and T. He. FreeBee: Cross-technology communication via free side-channel. In Proceedings of the 21st Annual International Conference on Mobile Computing and Networking (MobiCom), 2015.
IPv6 over Bluetooth Low Energy using Contiki
  • M Spörk
M. Spörk. IPv6 over Bluetooth Low Energy using Contiki. Master's thesis, Graz University of Technology, Graz, Austria, October 2016.