This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:lora:scan [2019/09/25 11:08] ghi created |
wiki:lora:scan [2020/10/22 10:47] (current) tda |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Radio scanning ====== | ====== Radio scanning ====== | ||
- | ===== Boot Noise Measurment ===== | + | ===== Boot Noise Measurement ===== |
The ''BNM'', which stand for Boot Noise Measurement, initiates a spectral scan at startup. | The ''BNM'', which stand for Boot Noise Measurement, initiates a spectral scan at startup. | ||
- | |||
- | <note important>This feature is only available on **iBTS** and **iFemtoCell** platforms.</note> | ||
- | |||
- | ==== The BNM files ==== | ||
- | |||
- | <code> | ||
- | / | ||
- | ├── etc | ||
- | │ ├── bnm | ||
- | │ │ ├── bnm-868.conf # The board configuration file. | ||
- | │ │ │ | ||
- | │ │ └── bnm.conf # The global configuration file. | ||
- | │ │ | ||
- | │ ├── init.d | ||
- | │ │ └── bnm # The startup script. | ||
- | │ │ | ||
- | │ └── rc5.d | ||
- | │ └── S55bnm -> ../init.d/bnm # The BNM is started whith runlevel 5. | ||
- | │ | ||
- | ├── usr | ||
- | │ ├── bin | ||
- | │ │ └── klk_spectral_scan # The utility which run the spectral scan. | ||
- | │ │ | ||
- | │ └── share | ||
- | │ └── bnm | ||
- | │ ├── bnm-868.conf # The default board configuration files. | ||
- | │ ├── bnm-915.conf # These files define the min and max frequencies | ||
- | │ ├── bnm-923.conf # to scan. | ||
- | │ │ | ||
- | │ └── klk-loraloc-v1.0.6.kbin # The needed loraloc firmware. | ||
- | │ | ||
- | └── var | ||
- | ├── backups | ||
- | │ └── bnm | ||
- | │ ├── bnm.0.tar.gz # The backup files. Every output files are included | ||
- | │ └── bnm.1.tar.gz # in these files. Backup files are rotated by size. | ||
- | └── log | ||
- | └── bnm | ||
- | ├── bnm_slot1_radio1_180219155423.csv # The last output files. There is one for each slot | ||
- | └── bnm_slot1_radio2_180219155423.csv # and for each radio. | ||
- | </code> | ||
==== Configure BNM ==== | ==== Configure BNM ==== | ||
Line 50: | Line 9: | ||
These parameters can be changed by the user in the global configuration file ''/etc/bnm/bnm.conf''. | These parameters can be changed by the user in the global configuration file ''/etc/bnm/bnm.conf''. | ||
The BNM feature takes some time when the gateway is booting. To avoid Boot Noise Measurement, disable it in this file (Set ''disable'' in the field ''BNM_ENABLE''). \\ | The BNM feature takes some time when the gateway is booting. To avoid Boot Noise Measurement, disable it in this file (Set ''disable'' in the field ''BNM_ENABLE''). \\ | ||
- | The default configuration is the following. | + | The default configuration on iBTS (release 4.2) is the following: |
<file bash bnm.conf> | <file bash bnm.conf> | ||
Line 60: | Line 19: | ||
BANDWIDTH_HZ=62500 | BANDWIDTH_HZ=62500 | ||
BITRATE_BPS=600 | BITRATE_BPS=600 | ||
- | RADIO_NB="1 2" | + | RADIO_NB="1" |
# Number of samples by frequency. | # Number of samples by frequency. | ||
Line 75: | Line 34: | ||
</file> | </file> | ||
//''RADIO_NB'' parameter is only available for Wirnet iBTS as this gateway owns 2 LoRa modems per LoRa module (up to 4 LoRaLOC modules). On Wirnet iFemtoCell, there is only one LoRa modem and no LoRa module.//\\ | //''RADIO_NB'' parameter is only available for Wirnet iBTS as this gateway owns 2 LoRa modems per LoRa module (up to 4 LoRaLOC modules). On Wirnet iFemtoCell, there is only one LoRa modem and no LoRa module.//\\ | ||
+ | |||
+ | //''SAMPLES_NB'' parameter is not taken into account for iFemtoCell-evolution and iStation product. Optimized kerlink spectral scan uses RSSI smoothing so SAMPLES_NB configuration parameter is ignored and RSSI smoothing is used instead of looping over frequencies (to have a quicker BNM).//\\ | ||
+ | |||
\\ | \\ | ||
- | The start frequency and the stop frequency are defined in the default board configuration file. The board configuration file name changes according to the region. | + | The start frequency and the stop frequency are defined in the board-specific configuration file, in the directory ''/etc/bnm/''. The board-specific configuration file name changes according to the region. |
<file bash bnm-868.conf> | <file bash bnm-868.conf> | ||
Line 173: | Line 135: | ||
==== Known issues ==== | ==== Known issues ==== | ||
- | * The number of frequency steps is limited to 255. Mind that the step number must be below that limit. Adjustments are possible by configuring ''START_FREQ_MHZ'', ''STOP_FREQ_MHZ'' and ''STEP_FREQ_MHZ''. | + | * On iBTS, the number of frequency steps is limited to 255. Mind that the step number must be below that limit. Adjustments are possible by configuring ''START_FREQ_MHZ'', ''STOP_FREQ_MHZ'' and ''STEP_FREQ_MHZ''. |
* BNM frequency configuration files depending on the board (''bnm-868.conf'', ''bnm-923.conf'', ''bnm-915.conf'') are not kept by default when upgrading the gateway. These files are not written in ''sysupgrade.conf'' and must be added if necessary. | * BNM frequency configuration files depending on the board (''bnm-868.conf'', ''bnm-923.conf'', ''bnm-915.conf'') are not kept by default when upgrading the gateway. These files are not written in ''sysupgrade.conf'' and must be added if necessary. | ||