Redes Móveis e Sem Fios: 2º Teste
Redes Móveis e Sem Fios: 2º Teste
In order to avoid grading mistakes, please answer each question on a different page, keeping the order as much as
possible.
1) Consider a Bluetooth piconet, comprising one master and two slave devices (S1 and S2). The master device has the
following ACL packets in its transmission queue, which are ordered as follows (format is <destination, packet>):
<S1, DH3>, <S2, DM1>, <S2, DM5>. Regarding the ACL uplink traffic: S1 has two packets in the queue: DM5
and DH3; S2 has a single DM3 packet in the queue.
a) Draw the timeline diagram of packet transmissions, clearly indicating the timeslot assignment (for each packet,
indicate the type, the occupied slots, the sender and the receiver), as well as the frequency in use in each slot.
The diagram ends when the last ACL packet is transmitted. (2,0 val)
b) In a piconet with only one master and one slave, which FEC-enabled packet types should be employed in each
direction, so that the throughput from master to slave is maximized, while the throughput from slave to master
is at least 350 kbit/s? Indicate the respective throughput values in each direction. Justify. (2,0 val)
c) Explain the main mechanisms that minimize the interference between piconets operating within transmission
range of each other. (1.0 val)
2) The Internet of Things enables the accessibility of smart objects through the Internet, allowing the development of
applications that make decisions based on the measurements performed by smart objects, while also allowing
dynamic smart object management and control.
a) Compare the COAP and MQTT protocols regarding the implementation of a publish&subscribe IoT services.
Justify. (1.5 val)
b) Compare COAP and MQTT regarding the possibility of employing UDP as the transport protocol. Justify. (1.5
val)
c) Draw the message diagram of a COAP GET request between a client and a server, indicating, for each
message, the Type, Message ID, Token and contents. Assume that the first Message ID is 0x4567, and the first
Token is 0x34, the resource being read is /humidity and the respective value measured by the server node is
“134”. Assume a piggy-backed confirmed response message model. (2.0 val)
3) A new mobile network operator wished to cover a small area in the downtown of Lisbon, which is still visited
today by huge numbers of tourists, especially during the summer season. This was accomplished with one picocell.
The expected number of session establishment attempts per minute was 5 and the expected session duration was 5
minutes, during peak times. Assume an Erlang B model (see table below).
a) How many channels were needed in order to provide a blocking probability equal to 0.002? Justify. (2,0 val)
b) After some time, the operator realized that an increase in the number of users had caused the service to degrade
to a probability of blocking of 0.02. Which were the offered and carried traffic by then? If you did not answer
to a), consider that the number of channels was 20. Justify. (2,0 val)
c) Suggest two measures, which can be carried out by the mobile network operator in order to restore the grade of
service, assuming that it is out of question to buy new channels? (1,0 val)
Capacity (Erlangs) for Grade of Service of
Number of Servers (N) P=0.02 (1/50) P=0.01 (1/100) P=0.005 (1/200) P=0.002 (1/500) P=0.001 (1/1000)
4) Consider a GEO satellite system operating in the 1 GHz frequency band. The minimum elevation that still allows
communication with the satellite is 10º. The atmosphere introduces an additional attenuation of 10 dB.
a) Calculate the altitude of the orbit. (2,0 val)
b) Assume that the elevation angle is the only limitation regarding footprint coverage. Calculate the maximum
latitude where communication with the satellite is possible. Suggestion: take into account the 𝜶, 𝜷, and 𝜽 angle
relationships associated to the respective figure. Note: in case you were unable to solve a), consider 𝒉 =
𝟒𝟎𝟎𝟎𝟎 𝒌𝒎. (1,5 val)
c) Assuming that the Earth is a sphere, calculate the transmit power neded in order to allow communication at a
latitude of 60º, knowing that the receiver sensitivity is -80 dBm and the antenna gains (satellite and Earth
station) are 40 dBi. (1,5 val)
Bluetooth
1 slot = 625us
payload (30)
DV audio (10) header (1) payload (0-9) 2/3 FEC CRC (2)
(bytes)
payload (0-343)
Satellite Systems
𝑭𝒈 = 𝒎 ∙ 𝒈 ∙ (𝑹/𝒓)𝟐 𝑭𝒄 = 𝒎 ∙ 𝒓 ∙ 𝝎𝟐
𝑮(𝟏𝒑𝒍𝒂𝒏𝒆) = 𝟐𝝅/(𝟐 × 𝜶) 𝝀𝟐
𝑨𝒆𝒇𝒇 = 𝜼 ∙ 𝑨𝒑𝒉𝒚 = 𝑮
𝟒𝝅
𝑮𝒕 ∙ 𝑮𝒓 ∙ 𝝀𝟐
𝑷𝒓 (𝒅𝑩𝒎) = 𝑷𝒕 (𝒅𝑩𝒎) + 𝟏𝟎 ∙ 𝒍𝒐𝒈𝟏𝟎 − 𝑨𝒕
(𝟒 ∙ 𝝅 ∙ 𝒅)𝟐
𝟒 ∙ 𝑭𝒐𝒐𝒕𝒑𝒓𝒊𝒏𝒕
𝑷𝒓 (𝒅𝑩𝒎) = 𝑷𝒕 (𝒅𝑩𝒎) − 𝟏𝟎 ∙ 𝒍𝒐𝒈𝟏𝟎 − 𝑨𝒕
𝝅𝟐 ∙ 𝑨𝒆𝒇𝒇
𝑹 𝒔𝒊𝒏(𝜶)
= =
𝑹 + 𝒉 𝒔𝒊𝒏 𝜽 + 𝝅
𝟐
𝝅
𝒔𝒊𝒏 −𝜷−𝜽 𝒄𝒐𝒔(𝜷 + 𝜽)
𝟐 =
𝝅 𝒄𝒐𝒔(𝜽)
𝒔𝒊𝒏 𝜽 +
𝟐
𝒅 𝒔𝒊𝒏(𝜷)
= =
𝑹 + 𝒉 𝒔𝒊𝒏 𝜽 + 𝝅
𝟐
𝒔𝒊 𝒏(𝜷)
=
𝒄𝒐 𝒔(𝜽)
(𝑹 + 𝒉) ∙ 𝒔𝒊𝒏(𝜷) 𝑹 ∙ 𝒔𝒊𝒏(𝜷)
𝒅= =
𝒄𝒐𝒔(𝜽) 𝒔𝒊𝒏(𝜶)
𝑨𝒄𝒆𝒍𝒍 = 𝟏. 𝟓 × 𝑹𝟐 × √𝟑 𝒅 = √𝟑 × 𝑹
𝟏 𝑮 = 𝑰𝟐 +𝑱𝟐 + (𝑰 × 𝑱) 𝒔𝒕 𝑰, 𝑱 = 𝟎, 𝟏, 𝟐, 𝒆𝒕𝒄.
𝑹𝑭 =
𝑮
Traffic intensity: Traffic intensity:
𝑨= 𝝀∙𝒉 𝑨 =𝝆∙𝑵
𝑨𝑵 𝑪 = 𝑨(𝟏 − 𝑷)
𝑷= 𝑵!
𝑵 𝑨𝒙
∑𝒙 𝟎
𝒙!