From 5d48f1280612b2f525c9a2d60f96434f1a217156 Mon Sep 17 00:00:00 2001 From: kutayboz Date: Thu, 3 Aug 2023 17:44:37 +0300 Subject: Finished cfg file implementation. Preliminary readme. v1.0.0 --- celnetmon.cfg.example | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 celnetmon.cfg.example (limited to 'celnetmon.cfg.example') diff --git a/celnetmon.cfg.example b/celnetmon.cfg.example new file mode 100644 index 0000000..42049e5 --- /dev/null +++ b/celnetmon.cfg.example @@ -0,0 +1,18 @@ +// Rename the config file to "celnetmon.cfg" and put it next to the executable +// These are mandatory +path_to_serial_port = "/dev/serial0" +path_to_gpio_chip = "/dev/gpiochip0" +pin_pwr_key = "17" +pin_status = "27" +network_apn = "internet" +mqtt_url = "io.adafruit.com" +mqtt_port = "8883" + +// These are optional +//network_username = "something something" +//network_password = "something something" +//network_auth = "something something" // Valid entries "NONE", "PAP", "CHAP", "PAP/CHAP" +//network_operator = "24427" // GSM location area identification number +//mqtt_username = "kboz" +//mqtt_password = "" +//mqtt_root_topic = "kboz/feeds" \ No newline at end of file -- cgit v1.3