Stefan Wahren
a572c0f742
mbus-serial: Increase serial timeouts
...
We need to take USB to serial adapters into account for timeout
calculation.
2017-04-07 15:59:44 +00:00
Stefan Wahren
3d5b865ebe
Merge pull request #111 from lategoodbye/upstream-cp48
...
Implement type I CP48 (date and time)
2016-07-28 16:22:26 +02:00
Stefan Wahren
3a2357324d
Update test frames to new date/time decoding
2016-07-23 09:38:57 +00:00
Stefan Wahren
87e3c22f85
Implement Type I CP48 (date and time)
2016-07-23 09:38:41 +00:00
Stefan Wahren
094c9ef453
Fix year handling in mbus_data_tm_decode
...
According to ANSI C the member tm_year saves the years since
1900.
2016-07-23 09:38:14 +00:00
Stefan Wahren
6fd4ca2714
Merge pull request #103 from strongly-typed/fix/xmlregression
...
Fix regression with XML output.
2016-05-09 20:06:39 +02:00
Stefan Wahren
3aba0a062e
Merge pull request #102 from strongly-typed/feature/travisci
...
Travis builds for OS X, too. And Travis badge.
2016-05-09 19:57:34 +02:00
strongly-typed
b9bec04027
Tests: Add XML files for hexdumps of error frames.
2016-05-09 01:36:50 +02:00
strongly-typed
9bf9f4bbf0
Tests: Add XML files for hexdumps added in a659ca0.
...
It is unclear if these interpretations are correct.
But at least it can spot regressions in future commits.
2016-05-09 01:36:27 +02:00
strongly-typed
c59f584937
Tests: Update XML files fixes in a8eaced.
2016-05-09 01:28:08 +02:00
strongly-typed
ab59b56a49
Tests: add product strings added with ed87f62
2016-05-09 01:28:08 +02:00
strongly-typed
1fc2323080
Run tests with Travis CI. gitignore test xml.new.
2016-05-09 01:28:02 +02:00
strongly-typed
0e5b5b46a8
Fix regression with XML output.
...
Copy-paste error from 9edcc44.
Spotted with `cd test && ./generate-xml.sh test-frames`
--- test-frames/manual_frame2.xml 2016-05-09 00:19:44.000000000 +0200
+++ test-frames/manual_frame2.xml.new 2016-05-09 01:09:09.000000000 +0200
@@ -17,7 +17,7 @@
<DataRecord id="1">
<Function>Actual value</Function>
<Unit>reserved but historic</Unit>
- <Value>135</Value>
+ <Value>1</Value>
</DataRecord>
</MBusData>
2016-05-09 01:11:23 +02:00
strongly-typed
8c232f3da3
Travis builds for OS X, too. And Travis badge.
...
s/README/README.md/ to add badge to Github main page.
2016-05-08 22:47:28 +02:00
Stefan Wahren
a8eaceda40
Merge pull request #99 from rscada/bugfixes
...
Bugfixes
2016-04-01 21:26:40 +02:00
Stefan Wahren
9edcc44eeb
Fix several format string issues
2016-04-01 19:20:00 +00:00
Stefan Wahren
7fe67c8586
Fix format string in mbus_send_user_data_frame
2016-04-01 18:27:59 +00:00
Stefan Wahren
9906723447
Fix IEEE754 conversion
...
It seems that the endianness handling was broken in
ef6c4be655c ("Safer IEEE754 conversion."). So drop it.
2016-04-01 18:19:32 +00:00
Stefan Wahren
78298bc68e
Merge pull request #93 from arska/feature-ignoretestbinaries
...
Thanks a lot
2016-03-26 11:43:42 +01:00
Aarno Aukia
b6cbb1de1e
merge rscada/master with arska/feature-ignoretestbinaries
2016-03-25 23:20:34 +01:00
Aarno Aukia
b9b131d064
Order device detection by manufacurer
...
merging ELS so that TMP-A is detected again
2016-02-08 14:06:24 +01:00
Stefan Wahren
ee2c4bada8
Merge pull request #96 from lategoodbye/upstream-merge2
...
Upstream merge round #2
2016-02-06 13:37:12 +01:00
Stefan Wahren
ed87f62a87
Add product strings for devices from ABB, Elster and Relay
...
This patch adds product identification for:
* ABB Delta-Meter
* Elster Falcon
* Relay PadPuls M1
* Relay PadPuls M4
* Relay Padin 4
* Relay AnDi 4
* Relay PadPuls M2
2016-02-06 12:04:13 +00:00
Stefan Wahren
a659ca0494
Add some hexdumps of M-Bus frames
2016-02-06 11:06:03 +00:00
Stefan Wahren
cf4d11b0fc
Merge pull request #92 from arska/feature-macosxbuild
...
Add Macos X build support (thanks @samkrew)
2016-02-06 00:54:25 +01:00
Sam Krew
8af6b97647
Add MacOS X build support
2016-02-05 18:51:02 +01:00
Aarno Aukia
eaeb6e5502
retab and remove trailing whitespace
2016-02-05 14:42:16 +01:00
Aarno Aukia
c11ef4b830
add XML output for existing test cases
2016-02-05 14:42:15 +01:00
Aarno Aukia
9fb9f30a58
add new test cases from my lab
2016-02-05 14:42:15 +01:00
Aarno Aukia
7eaadad124
update existing test-case-output with the changes introduced in 781736fe4cbc78d4a14dc486b446dd813fd5aa20
2016-02-05 14:42:15 +01:00
Aarno Aukia
0751e0d88f
remove exec bit from test cases
2016-02-05 14:42:12 +01:00
Aarno Aukia
b55422b034
move error test cases to their own folder
2016-02-05 14:41:05 +01:00
Aarno Aukia
89195f627a
retab and remove trailing whitespace
2016-02-05 14:36:19 +01:00
Aarno Aukia
2170faa357
gitignore test binaries and testing temp files
2016-02-05 13:41:01 +01:00
Stefan Wahren
8b1c012a91
Add product strings of Janitza UMG 96S
2016-02-02 18:57:57 +00:00
Stefan Wahren
012dc5ba36
Merge pull request #91 from lategoodbye/upstream-merge
...
Upstream merge
2016-01-31 19:19:03 +01:00
Stefan Wahren
db40010b93
Add product strings of Berg DCMi, BLMi and BMB-10S0
2016-01-31 18:09:21 +00:00
Stefan Wahren
04eae740b4
Add product strings of Carlo Gavazzi EM21,EM24,EM33
2016-01-31 18:00:02 +00:00
Stefan Wahren
0927f23ee7
Let mbus_str_xml_encode return a resultcode
2016-01-31 17:55:09 +00:00
Stefan Wahren
3699d25b10
Fix uninitialized strings
2016-01-31 17:44:08 +00:00
Stefan Wahren
f6dcf6e8d1
Fixed naming in declaration
...
Signed-off-by: Stefan Wahren <info@lategoodbye.de>
2016-01-31 17:41:08 +00:00
Stefan Wahren
5674b30a6c
Make use of package version from autotools
...
Signed-off-by: Stefan Wahren <info@lategoodbye.de>
2016-01-31 17:40:58 +00:00
Robert
bce4c6959b
Merge pull request #87 from vrtsystems/ieee754-conversion
...
IEEE754 conversion
2015-12-30 10:17:24 +09:00
Stuart Longland
ef6c4be655
Safer IEEE754 conversion.
...
The conversion given assumed two things:
1. the pointer was either 32-bit aligned or that unaligned word access
was safe. (Not the case on ARM)
We avoid this by using memcpy to copy to a buffer that *is*
32-bit-word-aligned.
2. the word was in native-endian format.
The original code appeared to assume the given word would be in
big-endian format (aka "network" byte order), so we convert it to the
host's native format before casting.
We re-instate the original implementation, controlled by a compiler
switch to allow easy rollback if problems are encountered.
2015-12-03 08:08:22 +10:00
jakubovsky
583a397e8e
Needless math.h include
2015-12-03 07:52:23 +10:00
jakubovsky
7e1be93dbd
Needless IEEE754 conversion, float pointer cast instead
2015-12-03 07:51:26 +10:00
Stefan Wahren
716d712314
Merge pull request #74 from schnurksel/hex_dump
...
Hex dump
2015-04-11 12:36:03 +02:00
Stefan Wahren
90bb12f9b0
Merge pull request #72 from schnurksel/beautify_tabs_spaces
...
Beautify tabs and spaces
2015-04-11 12:35:45 +02:00
Stefan Wahren
1bc9f72c27
Merge pull request #71 from schnurksel/add_meter_strings
...
Add meter strings
2015-04-11 11:57:16 +02:00
Stefan Wahren
576cefe80a
Merge pull request #70 from schnurksel/add_codepage_to_xml_output
...
add codepage to XML output
2015-04-11 11:55:41 +02:00