messenger-afsk-docs-and-readme

radio-tests release-28
Piotr Lewandowski 2023-07-13 00:07:32 +02:00
rodzic 04700dc9ed
commit 9ab8fc18cc
6 zmienionych plików z 19 dodań i 12 usunięć

Wyświetl plik

@ -146,5 +146,5 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{github.workspace}}/build/src/messenger/messenger_encoded.bin
asset_name: ${{ format('uv_k5_26_hot_messenger_encoded_v{0}.bin', github.run_number) }}
asset_name: ${{ format('uv_k5_26_cold_messenger_encoded_v{0}.bin', github.run_number) }}
asset_content_type: application/octet-stream

Wyświetl plik

@ -1,6 +1,18 @@
# UV_K5_playground
## src/spectrum ![auto release build](https://github.com/piotr022/UV_K5_playground/actions/workflows/c-cpp.yml/badge.svg)
![rssi printer](./docs/spectrum.gif)
## src/messenger ![auto release build](https://github.com/piotr022/UV_K5_playground/actions/workflows/c-cpp.yml/badge.svg)
![messenger](./docs/messenger.gif)
AFSK messenger with T9 typing support
* download mod [uv_k5_01_26_cold_messenger_encoded.bin](https://github.com/piotr022/UV_K5_playground/releases/latest)
* to enable messenger view press **flash light button**
* use keyboard to type message
* press **MENU** to send message
* press **EXIT** to clear message
* if message is cleared use **EXIT** to exit messenger view
To show your appreciation and support for ongoing work, you can make a [donation](https://paypal.me/sq9p).
![spectrum](./docs/spectrum.gif)
**update**
Spectrum scanner. It prints a spectrum graph. Zoom in well as resolution can be controled via keyboard.
@ -11,8 +23,6 @@ Spectrum scanner. It prints a spectrum graph. Zoom in well as resolution can be
* press **1** / **7** to increase / decrease resolution (smaller resolution == faster update rate)
* press **PTT** or **EXIT** to disable spectrum view
To show your appreciation and support for ongoing work, you can make a [donation](https://paypal.me/sq9p).
## src/rssi_sbar ![auto release build](https://github.com/piotr022/UV_K5_playground/actions/workflows/c-cpp.yml/badge.svg)
![rssi printer](./docs/rssi_sbar.png)
sbar with calibrated S steps

BIN
docs/messenger.gif 100644

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 4.0 MiB

Wyświetl plik

@ -67,6 +67,7 @@ namespace System
void(*BK4819SetPaGain)(unsigned short u16PaBias, unsigned int u32Frequency);
void(*BK4819ConfigureAndStartTxFsk)();
void(*BK4819ConfigureAndStartRxFsk)();
void(*BK4819SetGpio)(unsigned int u32Pin, bool bState);
};
@ -103,6 +104,7 @@ namespace System
.BK4819SetPaGain = (decltype(TOrgFunctions::BK4819SetPaGain) (0xaad4 + 1)),
.BK4819ConfigureAndStartTxFsk = (decltype(TOrgFunctions::BK4819ConfigureAndStartTxFsk) (0x1cd8 + 1)),
.BK4819ConfigureAndStartRxFsk = (decltype(TOrgFunctions::BK4819ConfigureAndStartRxFsk) (0xa63c + 1)),
.BK4819SetGpio = (decltype(TOrgFunctions::BK4819SetGpio) (0xa794 + 1)),
};
inline const TOrgData OrgData_01_26 =

Wyświetl plik

@ -20,11 +20,7 @@ public:
}
if (key == 1)
{ // key 1 for enter
if(prev_key != key)
c_index++;
prev_key = 1;
{
return;
}

Wyświetl plik

@ -54,7 +54,7 @@ namespace Radio
Fw.BK4819ConfigureAndStartTxFsk();
Fw.AirCopyFskSetup();
Fw.AirCopy72(p8Data);
DisablePa();
Fw.BK4819SetGpio(1, false);
}
void DisablePa()
@ -93,7 +93,6 @@ namespace Radio
// Fw.BK4819Write(0x30, 0);
// Fw.BK4819Write(0x30, 0b1011'1101'1111'0001);
Fw.BK4819ConfigureAndStartRxFsk();
DisablePa();
State = eState::RxPending;
}