Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
network_protocol_programming_lab:scanning [2020/05/28 11:07] – [Requirements] rathkenetwork_protocol_programming_lab:scanning [2021/04/19 12:42] (current) – [Tasks] rathke
Line 1: Line 1:
-====== Exercise: Scan the channel and packet reception ======+====== Exercise: Scanning the channel and packet reception ======
  
 So far, we are able to change the frequency, and we can measure the RSSI within the preamble bits. In the next step, the aim is to scan multiple channels. If a RSSI is detected, we will receive the packet. Otherwise we continue scanning. So far, we are able to change the frequency, and we can measure the RSSI within the preamble bits. In the next step, the aim is to scan multiple channels. If a RSSI is detected, we will receive the packet. Otherwise we continue scanning.
Line 7: Line 7:
 This task requires  This task requires 
  
-  * a ready BeagleBone Black equipped with the CC1200 operating at a symbol rate of 1.2 kBaude+  * a ready BeagleBone Black equipped with the CC1200. 
-  * one TI Development Kit for the CC1200. +  * 4C attached to a second BeagleBone Black equipped with the CC1200. 
-  * Smart RF Studio sending packets with a symbol rate of 1.kBaude and a preamble count of 6 Bytes. +  * 4C sending packets with a symbol rate of 1.kBaude and a preamble count of 6 Bytes.
 ===== Tasks  ===== ===== Tasks  =====
  
-  * the programming is done by extending the source files from the previous lesson [[network_protocol_programming_lab:change_frequency|Exercise: Changing the frequency]]. +  * the programming is done by extending the source files from the previous lesson [[network_protocol_programming_lab:channel_sensing|Exercise: Sensing a channel]]. 
-  * Extend your program by a function that measures the RSSI prior to packet receptionA packet should only be received, if a valid RSSI from the sende is detected. What means valid RSSI ? +  * Extend your program by a function that measures the RSSI within a frequency bandIf no RSSI is detected, choose another band and try again. But, if an RSSI is detected, start receiving packet. After packet reception, scan again .... 
-  * Don't forger to disable preamble recognition at the receiver+  * Limit the number of frequencies to 3 (e.g. 850MHz, 820MHz and 950MHz). Die frequencies are chosen to be the lowest supported , the highest supported frequency and a frequency between them.
   * For testing, start your program.   * For testing, start your program.
-  * Use SmartRF Studio to transmit packets at the RF frequency (do not forget to change the symbol rate and preamble count in SmartRF Studio). +  * Use 4C to transmit packets at the RF frequency of your supported frequency set.(do not forget to change the symbol rate and preamble count in 4C). 
   * Your program should recognize a valid RSSI and start receiving packets.   * Your program should recognize a valid RSSI and start receiving packets.
-  * Now, change RF to a frequency the receiver is not using. Stopping and restarting the transmitter ist not necessary. +  * Now, change RF to a frequency to another frequency band. Stopping and restarting the transmitter ist not necessary. 
-  * At the receiver, the BeagleBone Black, you should now measure no valid RSSI and therefore no packet will be received+  * The receiver, the BeagleBone Black, should now recognize the frequency change and should continue receiving packets. 
-  * Nowchange the frequency of SmartRF Studio back to your selected frequency. + 
-  * Nowyou should be able to receive the packets again.+===== Hints  ===== 
 + 
 +  * If an RSSI is detectedbut no packet was transmitted by the sender, your program will "hang"This happensif the receiver recognizes other sources of some spikes of the RSSIIn that case, you only can restart your progam. 
network_protocol_programming_lab/scanning.1590656868.txt.gz · Last modified: 2020/05/28 11:07 by rathke
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0