Beruflich Dokumente
Kultur Dokumente
A timing perspective
Hardware configurations
Faster connections
Lower peak power
Relaxed RF parameters
Restricted packet length
Reusing RF
Segregation of stacks at
known multiplexing point.
Scanning
(b)
Advertisi
ng
Stand
by
Slave
Initiating
Master
Connecti
on
(d)
(c)
Link-layer activity
Network composed of master/initiator and
slave/advertiser in a piconet (star connected topology).
Master determines the instants in which slaves are
required to listen.
Coordinates the medium access using Time Division Multiple
Access (TDMA) scheme.
When it finds the slave, transmits a connection request,
creating a point-to-point connection.
Post-connection, physical channel divided into nonoverlapping time units called connection events.
Connection events
Starts with master transmitting a request to the slave.
If packet received by slave, has to be acknowledged.
Herein, the peripheral device is the slave and the central client is
the master. The three connection intervals use channel 37, 38, 39
for advertising respectively via the peripheral device.
Connection parameters
Set of parameters set by the Central client to determine
when and how Central and Periphery transmit data via
link.
1. Connection interval: How often the Central requests
data from its Peripheral (7.5 ms to 4 s).
2. Slave Latency: A non-zero latency allows the Periphery
to not answer when the Central asks for data up to the
slave latency number of times (0 to 499).
3. Connection Supervision timeout: Determines the
timeout from the last data exchange till a link is
Master Tx
Slave Tx
176
ADV_DIRECT_IND
326
CONNECT_REQ
352
1928
Empty packet
80
2158
2452
144
Empty packet (ack)
2682
2928
80
96
Attribute protocol
Pckt.
LL_TERMINATE_IND
80
Throughput limitations
While the physical layer data rate of BLE is 1 Mbps, the maximum
application layer is throughput = 236.7 kbps.
Also, transmission of data cannot be resumed in case of a faulty packet
connection interrupt, until the beginning of the next connection event,
whereby a new data channel (i.e., a new frequency) is used.
Hence, moderate to high throughput achieved only for low connInterval
values.
Note:
BLE is defined over an underlying 1Mbps link, however the
actual throughput after you take into consideration
The overhead of the protocol
The fact the link is half-duplex
The limitations in BTLE stacks (all of them) which restrict the
number of packets which can be transmitted per connection
interval
The limitations of various communicating devices which may
limit how often devices connect
Whether you are writing packets requiring responses or writing
without response and dealing with dropped packets.
Cont
1. Bluetooth occupies the same bands as WiFi and other BT and/or BT LTE
nodes exist.
2. Due to #1, the SNR of the band is often reduced because the noise
floor is above the "quiet" level. The increases the chances of the
various modulation/coding schemes getting an erroneous symbol
received.
3. #2 means the Bit Error Rate is increased and re-transmits are increased
4. #3 mean the net effective data transfer rate is reduced.
Evaluation of throughput
Protocol efficiency of the BLE data channel is calculated as:
ThroughputBLE (n, m, TTXprep ,TRXproc ,) =
n*8
where n denotes the payload of each frame transferred from the master to the slave (i.e.,
forward frame), m is the payload of the reply frame and 0.16 ms accounts for the time for
transmitting the frame headers.
References
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3478807/
https://devzone.nordicsemi.com/question/60/what-is-co
nnection-parameters
/
https://
www.safaribooksonline.com/library/view/getting-starte
d-with/9781491900550/ch01.html