437 Commits

Author SHA1 Message Date
Matthias Deimbacher
b5e59aa52f
fix: add missing declaration to header (#160) 2020-05-15 19:05:36 +02:00
Stefan Wahren
baf03e2a47
Merge pull request #151 from gocarlos/feat--add-cmake-support
build: add cmake support
2020-04-24 20:18:09 +02:00
Carlos Gomes Martinho
ba18321e11 chore: run tests also with pull requests 2020-04-24 15:14:15 +02:00
Carlos Gomes Martinho
f569816788 chore: make path to tests optional 2020-04-24 09:55:01 +02:00
Carlos Gomes Martinho
716fe0358c fix: debian package blank line in value of field Description 2020-04-14 11:36:39 +02:00
Carlos Gomes Martinho
ee3a69e5df docs: add better usage to generate xml script 2020-04-14 11:22:40 +02:00
Carlos Gomes Martinho
9f9c7a5dbf
fix: unit tests 2020-04-14 11:01:07 +02:00
Carlos Gomes Martinho
f31fbea817 build: add devel package 2020-04-14 10:29:22 +02:00
Carlos Gomes Martinho
f3a62d560b
chore: apply suggestions from code review
Co-Authored-By: Anonymous Maarten <madebr@users.noreply.github.com>
2020-04-01 22:38:53 +02:00
Carlos Gomes Martinho
989404de83 chore: simplify cmake 2020-04-01 15:53:54 +02:00
Carlos Gomes Martinho
b58aca4432 build: symplify clang tidy 2020-04-01 15:52:21 +02:00
Carlos Gomes Martinho
505c25aa9b
chore: apply suggestions from code review
Co-Authored-By: Anonymous Maarten <madebr@users.noreply.github.com>
2020-03-31 23:45:53 +02:00
Carlos Gomes Martinho
fffdca0504 build: apply suggestions from code review
Co-Authored-By: Anonymous Maarten <madebr@users.noreply.github.com>
2020-03-31 21:42:49 +02:00
Carlos Gomes Martinho
b0f413037a test: update generate-xml script 2020-03-31 21:38:51 +02:00
Carlos Gomes Martinho
724822b3ab build: add pkg config file 2020-03-31 20:31:18 +02:00
Carlos Gomes Martinho
155e245b61 build: add also android 2020-03-31 20:31:18 +02:00
Carlos Gomes Martinho
ff2e50a38a build: do not use gnu style warnings for msvc 2020-03-31 20:31:18 +02:00
Carlos Gomes Martinho
bd2fa5759b build: remove old build system 2020-03-31 20:31:18 +02:00
Carlos Gomes Martinho
6fb724698f build: install doxygen in ci 2020-03-31 20:31:18 +02:00
Carlos Gomes Martinho
5a3d13e7ad build: add documentation 2020-03-31 20:31:14 +02:00
Carlos Gomes Martinho
576da85302 build: add dockerfiles for deb and rpm 2020-03-31 20:30:53 +02:00
Carlos Gomes Martinho
433b3c4219 feat: add github actions
* feat: add github actions

* Update ccpp.yml

* build: build and install deb in container

* build: clean up
2020-03-31 20:30:50 +02:00
Carlos Gomes Martinho
e864d27fbf build: add debian package 2020-03-31 20:30:23 +02:00
Carlos Gomes Martinho
89db118821 build: add coverage information 2020-03-31 20:30:23 +02:00
Carlos Gomes Martinho
d96dcfad09 build: add cmake support
feat: add cmake support

chore: remove old code

revert: remove mbus_data_record_unit

build: do not break existing building system
2020-03-31 20:30:18 +02:00
Carlos Gomes Martinho
6edab86078
refactor: clean up some compiler warnings (#152) 2020-03-21 10:50:33 +01:00
lvogt
62ac3678ff Fix prefixes (#148) 2019-07-08 10:38:20 +02:00
Stefan Wahren
2dc3daaf70 Prepare new release 0.9.0 0.9.0 2019-02-22 19:08:04 +01:00
Stefan Wahren
36a85d3737 Add product string of Hydrometer Sharky 775 2019-02-20 22:01:47 +01:00
Stefan Wahren
2f9fa5ccc8 Implement negative BCD number (Type A)
According to W4B21021.pdf Appendix A a hex code Fh in the MSD
position signals a negative BCD number.
2019-02-20 22:01:47 +01:00
Ingo Fischer
027f6fb689 prevent multiple calls to disconnect for serial and tcp (#137)
* prevent multiple calls to disconnect for serial and tcp
2018-03-28 19:53:17 +02:00
Stefan Wahren
de4a899b9d
Merge pull request #136 from Apollon77/iso-dates
make generated timestamps conform to ISO definition
2018-03-28 17:09:56 +02:00
Ingo Fischer
2a2fbc372a make generated timestamps conform to ISO definition 2018-03-28 14:26:06 +02:00
Stefan Wahren
6d3bb00d97
Merge pull request #134 from lategoodbye/set-primary-address
Add binary to set primary address
2018-03-26 11:15:40 +02:00
Stefan Wahren
84c43fe7a3 Add new program to set primary address 2018-03-21 21:44:50 +01:00
Stefan Wahren
73d58a9f7d Implement mbus_set_primary_address()
This function sends a frame to change primary address of a slave.
2018-03-21 21:40:58 +01:00
Stefan Wahren
ab8919136d Update LICENSE
See #129
2017-08-27 12:10:13 +02:00
Stefan Wahren
2680079db4 Move license into separate file
See: https://github.com/rscada/libmbus/issues/129
2017-08-16 19:31:49 +02:00
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