Text menu driven ANSI/VT100 console test utility for LoRa transceivers

radio chip selection

Radio chip driver is not included, allowing choice of radio device.
If you're using SX1272 or SX1276, then import sx127x driver into your program.
if you're using SX1261 or SX1262, then import sx126x driver into your program.
if you're using SX1280, then import sx1280 driver into your program.
if you're using LR1110, then import LR1110 driver into your program.
If you're using NAmote72 or Murata discovery, then you must import only sx127x driver.
If you're using Type1SJ select target DISCO_L072CZ_LRWAN1 and import sx126x driver into your program.

This is VT100 text-based menu driven test program for SX12xx transceiver devices.
Serial console is divided into horizontally into top half and bottom half.
The bottom half serves as scrolling area to log activity.
The top half serves as menu, to configure the radio.
For all devices, the serial console operates at 115200 8N1, and requires terminal with ANSI-VT100 capability, such as putty/teraterm/minicom etc.
Use program only with keyboard up/down/left/right keys. Enter to change an item, or number for value item. Some items are single bit, requiring only enter key to toggle. Others with fixed choices give a drop-down menu.

Revision:
10:db4e11a55bda
Parent:
9:295e37c38fb3
--- a/radio_lr1110_private.h	Mon May 04 17:54:55 2020 -0700
+++ b/radio_lr1110_private.h	Tue May 19 15:35:50 2020 -0700
@@ -181,21 +181,12 @@
 
         static void wifiScan_push(void);
         static const button_item_t wifiScan_item;
-        //static uint8_t wifiScan_buf[9];
-
-        /*static const char* const wifitype_strs[];
-        static unsigned wifitype_read(bool);
-        static menuMode_e wifitype_write(unsigned sidx);
-        static const dropdown_item_t wifiType_item;*/
 
         /******************* gnss: ***********************/
+
         static void gnssAutonomous_push(void);
         static const button_item_t gnssAutonomous_item;
 
-        static void gnssAutonomous_time_print(void);
-        static bool gnssAutonomous_time_write(const char*);
-        static const value_item_t gnssAutonomous_time_item;
-
         static void gnssAssisted_push(void);
         static const button_item_t gnssAssisted_item;
 
@@ -300,11 +291,13 @@
         static bool gfsk_dcfree_push(void);
         static const toggle_item_t gfsk_dcfree_item;
 
-        static uint8_t gfsk_crc_params[];
         static void gfsk_crcinit_print(void);
         static bool gfsk_crcinit_write(const char*);
         static const value_item_t gfsk_crcinit_item;
 
+        static void gfsk_crcpoly_print(void);
+        static bool gfsk_crcpoly_write(const char*);
+        static const value_item_t gfsk_crcpoly_item;
 
         /***********************************************/
         static void rxBuffer_push(void);