Perform the modbus packet capture experiment from @koleson's PVS-6 Notes Gist
- A *nix computer. I'm using a Raspberry Pi and the setup reflects that.
- Waveshare RS-486/USB bridge
- RJ-45 3-way splitter
- 2 network patch cords.
| File to follow |
| BOOTSTRAP(stage0) GUILEC ice-9/boot-9.go | |
| Backtrace: | |
| In language/tree-il/compile-bytecode.scm: | |
| 880:11 19 (visit-conditional #<tree-il (if (primcall eq? (lexica.> .) | |
| 891:9 18 (visit-seq #<tree-il (seq (seq (set! (lexical opts #{o.> .) | |
| 891:9 17 (visit-seq #<tree-il (seq (set! (lexical opts #{opts 1.> .) | |
| 970:20 16 (failure) | |
| 1222:6 15 (_) | |
| 1202:28 14 (_) | |
| 956:31 13 (for-args (#<tree-il (const 4096)> #<tree-il (primca.>) #) |
Perform the modbus packet capture experiment from @koleson's PVS-6 Notes Gist
| mtr -rw4 code.gnucash.org | |
| Start: 2023-09-28T11:12:33-0700 | |
| HOST: jeeves Loss% Snt Last Avg Best Wrst StDev | |
| 1.|-- _gateway 0.0% 10 0.7 0.7 0.6 0.8 0.1 | |
| 2.|-- 100.92.203.195 0.0% 10 11.7 12.7 10.6 19.5 2.8 | |
| 3.|-- po-326-358-rur202.sanjose.ca.sfba.comcast.net 0.0% 10 10.6 11.8 10.4 18.4 2.6 | |
| 4.|-- 96.108.99.69 40.0% 10 12.5 12.8 11.3 13.6 0.9 | |
| 5.|-- 68.85.86.173 0.0% 10 12.0 12.0 10.4 12.7 0.6 | |
| 6.|-- ae-199-rar01.santaclara.ca.sfba.comcast.net 0.0% 10 12.8 14.2 10.7 34.1 7.0 | |
| 7.|-- be-39931-cs03.sunnyvale.ca.ibone.comcast.net 70.0% 10 11.1 16.0 11.1 19.0 4.3 |
| <?xml version="1.0" encoding="utf-8" ?> | |
| <gnc-v2 | |
| xmlns:gnc="http://www.gnucash.org/XML/gnc" | |
| xmlns:act="http://www.gnucash.org/XML/act" | |
| xmlns:book="http://www.gnucash.org/XML/book" | |
| xmlns:cd="http://www.gnucash.org/XML/cd" | |
| xmlns:cmdty="http://www.gnucash.org/XML/cmdty" | |
| xmlns:price="http://www.gnucash.org/XML/price" | |
| xmlns:slot="http://www.gnucash.org/XML/slot" | |
| xmlns:split="http://www.gnucash.org/XML/split" |
| index 7bb2ba5333..fb3602a73d 100644 | |
| --- a/libgnucash/core-utils/gnc-glib-utils.c | |
| +++ b/libgnucash/core-utils/gnc-glib-utils.c | |
| @@ -328,6 +328,12 @@ void gnc_gpid_kill(GPid pid) | |
| #endif /* G_OS_WIN32 */ | |
| } | |
| +static inline gboolean | |
| +has_string (GList* item) | |
| +{ |
| From fd719dd9456d7ebd1674fc019d1955f40875c286 Mon Sep 17 00:00:00 2001 | |
| From: John Ralls <jralls@ceridwen.us> | |
| Date: Tue, 23 Apr 2019 15:06:48 -0700 | |
| Subject: [PATCH 1/4] Fix build on MinGW-w64 | |
| Fixes bug 35405 | |
| * lib/poll.h: MinGW provides struct pollfd in winsock2.h and | |
| lib/threads.h includes it so disable declaring it in poll.h and | |
| get the declaration from winsock2.h. Otherwise gcc complains that |
| Added: | |
| (define (template-export report template export-type output-file dry-run?) | |
| (begin | |
| (format #t "Template export ~a ~a ~a ~a ~a~%" report template export-type output-file dry-run?) | |
| (let* ((report-guid (gnc:report-template-report-guid template)) | |
| Which printed | |
| Template export Balance Sheet #<<report-template> version: 1 name: Balance Sheet report-guid: c4173ac99b2b448289bf4d11c731af13 parent-type: #f options-generator: #<procedure 1161d2df0 at standard/balsheet-pnl.scm:1294:20 ()> options-cleanup-cb: #f options-changed-cb: #f renderer: #<procedure 1161d2e00 at standard/balsheet-pnl.scm:1295:11 (rpt)> in-menu?: #t menu-path: (_Assets & Liabilities) menu-name: #f menu-tip: #f export-types: #f export-thunk: #f> #t | |
| Backtrace: | |
| 2 (apply-smob/1 #<catch-closure 112e2bd80>) |
| Backtrace: | |
| 4 (apply-smob/1 #<catch-closure 10f80cda0>) | |
| In ice-9/boot-9.scm: | |
| 2312:4 3 (save-module-excursion #<procedure 10f81b5c0 at ice-9/e…>) | |
| In ice-9/eval-string.scm: | |
| 38:6 2 (read-and-eval #<input: string 10ffa6000> #:lang _) | |
| In ice-9/eval.scm: | |
| 223:20 1 (proc #<directory (guile-user) 10f7d9140>) | |
| In unknown file: | |
| 0 (%resolve-variable (7 . gnc:cmdline-run-report) #<direc…>) |
| --- a/CMakeLists.txt | |
| +++ b/CMakeLists.txt | |
| @@ -532,18 +532,22 @@ endif() | |
| add_definitions(-D_GNU_SOURCE) | |
| # Also, set the C++ version to c++11 | |
| -set(CMAKE_CXX_FLAGS "-std=gnu++11 ${CMAKE_CXX_FLAGS}") # FIXME: should be -std=c++11 | |
| - | |
| +set(CMAKE_CXX_STANDARD 17) | |
| +set(CMAKE_CXX_STANDARD_REQUIRED ON) |