Updated OOK Editor (markdown)

gullradriel 2024-11-19 16:29:28 +01:00
parent db8568b2e0
commit 55d7ed56a7

@ -24,35 +24,31 @@ The application has the following cursors:
![frequency and gain](https://blog.hawktesters.com/wp-content/uploads/2024/11/Screenshot-2024-11-18-at-7.52.07%E2%80%AFAM.png) ![frequency and gain](https://blog.hawktesters.com/wp-content/uploads/2024/11/Screenshot-2024-11-18-at-7.52.07%E2%80%AFAM.png)
2. Sample Rate(S/Rate), BitTimeStep, Repeat, BitTime, Pause Symbols(Pause/Sym) 2. SampleRate, Step, SymbolRate, Repeat, PauseSymbol
- **S/Rate:** Defines the sample rate of your signal analysis, this cursor takes values such as 250k, 1M, 2M, 5M , 10M ,20M
- **Fields Step:** When you need to modify the value of **BitTime** or **Pause** and they are very high values this will help you to give high numerical jumps in BitTime for example BitTimeStep takes values of 1, 10,100, which indicates that if you have BitTimeStep in 100 the BitTime courses will go from 100 to 100.
- **Repeat:** Numerical courses that define the number of repetitions of the signal.
- **BitTime:** The number of symbols of the signal you analyzed and synthesized defined in microseconds.
- **Pause:** Pause between repetitions
![Sample Rate(S/Rate), BitTimeStep, Repeat, BitTime, Pause Symbols(Pause/Sym)](https://blog.hawktesters.com/wp-content/uploads/2024/11/cursors_2.png)
![image](https://github.com/user-attachments/assets/eba2000b-e34b-4f0f-a0a1-2b33663576c6)
- **Samplerate:** Defines the sample rate of your signal analysis, this cursor takes values such as 250k, 1M, 2M, 5M , 10M ,20M
- **Step:** step to be used for SymbolRate and PauseSymbol fields: 1, 10, 100
- **SymbolRate:** The number of symbols per seconds
- **Repeat:** Numerical courses that define the number of repetitions of the signal.
- **PauseSymbol:** Pause between repetitions in usecs
- **Payload:** It is a label that shows your defined payload for the OOK transmission. - **Payload:** It is a label that shows your defined payload for the OOK transmission.
- **Button Set:** The Set button will open a modal window so that you can insert your payload from the PP keyboard. - **Button Set:** The Set button will open a modal window so that you can insert your payload from the PP keyboard.
- **Button Open File:** This button will allow to load the **OOKEditor** settings from a configuration file in extension **.OOK** from the SD of the PP. - **Button Open File:** This button will allow to load the **OOKEditor** settings from a configuration file in extension **.OOK** from the SD of the PP.
- **Save File:** It will allow you to save your configurations in a file. - **Save File:** It will allow you to save your configurations in a file.
- **Loaded:** If you decided to load your settings from a file this tag will show the name from where it was made. - **Text Info:** display loaded/saved file name, status messages, errors
- **Waveform:** It will display the waveform of your OOK signal. - **Waveform:** It will display the waveform of your OOK signal.
- **Button Send:** Starts OOK signal transmission - **Button Send:** Starts OOK signal transmission
![](https://blog.hawktesters.com/wp-content/uploads/2024/11/cursor_3.png)
## Structure of .OOK configuration files ## Structure of .OOK configuration files
What should you keep in mind if you decide to either create your own configuration files or load one into the OOKEDitor application of the PP. If you decide to either create your own configuration files or load some into the OOKEDitor application of the PP, you must comply with the following structure:
you must comply with the following structure:
- The file must have the extension .OOK - The file must have the extension .OOK
- It should be placed in a directory named "OOKFILES" at the root of the sdcard - It should be placed in a directory named "OOKFILES" at the root of the sdcard
- Each parameter must be separated by a space. - Each parameter must be separated by a space.
- The order of the data is as follows: - The order of the data is as follows:
`frequency SampleRate SymbolsRate Repeat PauseBetweenReps Payload` `Frequency SampleRate SymbolsRate Repeat PauseSymbol Payload`
Here is an example - Here is an example:
`27000000 1M 1076 4 100 01110111011101110101010101010101010101110111011101110101` `27000000 1M 1076 4 100 01110111011101110101010101010101010101110111011101110101`