Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| network_protocol_programming_lab:scanning [2020/05/28 10:57] – created rathke | network_protocol_programming_lab:scanning [2021/04/19 12:42] (current) – [Tasks] rathke | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Scan the channel and packet reception | + | ====== Exercise: 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. | ||
| + | |||
| + | ===== Requirements | ||
| + | |||
| + | This task requires | ||
| + | |||
| + | * a ready BeagleBone Black equipped with the CC1200. | ||
| + | * 4C attached to a second BeagleBone Black equipped with the CC1200. | ||
| + | * 4C sending packets with a symbol rate of 1.2 kBaude and a preamble count of 6 Bytes. | ||
| + | ===== Tasks ===== | ||
| + | |||
| + | * the programming is done by extending the source files from the previous lesson [[network_protocol_programming_lab: | ||
| + | * Extend your program by a function that measures the RSSI within a frequency band. If no RSSI is detected, choose another band and try again. But, if an RSSI is detected, start receiving a packet. After packet reception, scan again .... | ||
| + | * 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. | ||
| + | * 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. | ||
| + | * Now, change RF to a frequency to another frequency band. Stopping and restarting the transmitter ist not necessary. | ||
| + | * The receiver, the BeagleBone Black, should now recognize the frequency change and should continue receiving packets. | ||
| + | |||
| + | ===== Hints ===== | ||
| + | |||
| + | * If an RSSI is detected, but no packet was transmitted by the sender, your program will " | ||
