716d712314Merge pull request #74 from schnurksel/hex_dump
Stefan Wahren
2015-04-11 12:36:03 +02:00
90bb12f9b0Merge pull request #72 from schnurksel/beautify_tabs_spaces
Stefan Wahren
2015-04-11 12:35:45 +02:00
1bc9f72c27Merge pull request #71 from schnurksel/add_meter_strings
Stefan Wahren
2015-04-11 11:57:16 +02:00
576cefe80aMerge pull request #70 from schnurksel/add_codepage_to_xml_output
Stefan Wahren
2015-04-11 11:55:41 +02:00
53d66c3dd5Merge pull request #79 from mhei/master
Robert
2015-03-07 17:52:06 +09:00
2dea1b99f3Add hint file for Travis CI
Michael Heimpold
2015-01-25 11:28:28 +01:00
00d0fc0aafadd hex dump for regression tests as requested by lategoodbye
Dirk Zenker
2014-03-13 13:33:28 +01:00
5f0b5d5dd1Beautify: replace tabs with spaces and remove trailing spaces
Dirk Zenker
2014-02-24 15:20:32 +01:00
f47caf151eadd manufacturer id / product string of some meters: Aquametro CALEC MB Aquametro CALEC ST Elster SensoStar 2 Elster F96 Plus Elster F4 EMU Professional 3/75 M-Bus Deltamess F2 Sensus PolluTherm Sensus PolluStat E NZR IC-M2 Saia-Burgess ALE3 Saia-Burgess AWD3
Dirk Zenker
2014-02-24 11:22:40 +01:00
781736fe4cadd codepage to XML output
Dirk Zenker
2014-02-24 11:02:26 +01:00
57fceeb09aMerge pull request #69 from schnurksel/fix_storage_unit_tariff_calculation
Robert
2014-02-22 12:49:41 +09:00
8197874fe7bugfix, the functions mbus_data_record_storage_number() mbus_data_record_tariff() mbus_data_record_device() did return bogus random values, because of uninitialized variables
Dirk Zenker
2014-02-20 11:26:31 +01:00
3062c797a9Merge pull request #66 from mhei/fixes
Robert
2014-02-06 23:34:05 +09:00
9e81912a20Merge pull request #65 from mhei/manufacturer-id
Robert
2014-02-06 23:33:47 +09:00
f262138572mbus_manufacturer_id: add error checking code
Michael Heimpold
2014-01-18 20:43:57 +01:00
0fccc0e337Add a function to calculate the manufacturer ID from the 3 byte ASCII code. The formula can be found at http://www.m-bus.com/files/w4b21021.pdf, chapter 3.3 at page 6.
Michael Heimpold
2014-01-18 13:44:01 +01:00
6abc6cd15dgitignore: add mbus-tcp-application-reset
Michael Heimpold
2014-01-18 13:23:33 +01:00
0102dc6ae5Merge pull request #64 from lategoodbye/master
Robert
2013-11-12 05:36:49 -08:00
a32e325979Update XML files because of storage number, tariff and device
Stefan Wahren
2013-11-07 12:06:09 +01:00
0d9f83ba88Extend XML output with storage number, tariff and device
Stefan Wahren
2013-11-07 00:32:01 +01:00
e1ca652bf0Extend mbus_record with storage number, tariff and device
Stefan Wahren
2013-11-07 00:31:03 +01:00
58778ba9bcAdd functions to decode storage number, tariff and device from DIF
Stefan Wahren
2013-11-07 00:24:11 +01:00
d79cb1c998Fix BCD decoding bug
Stefan Wahren
2013-11-07 00:13:56 +01:00
e9d39d4708Extend DIF debug output (storage number LSB) Fix DIFE debug output (storage number, tariff, device unit) Fix typos in comments Replace magic bit masks with defines
Stefan Wahren
2013-11-06 11:11:43 +01:00
3aa81cfb23Add DIF extension bit masks
Stefan Wahren
2013-11-06 10:15:15 +01:00
7f00f72b69Add missing VIF=7Eh / FEh
Stefan Wahren
2013-11-01 17:17:57 +01:00
6021f3cc65Fix VIF extension mappings for VIF=0FBh
Stefan Wahren
2013-11-01 17:13:49 +01:00
887d6a2914Add test frame for GMC EMMOD 206
Stefan Wahren
2013-10-31 23:05:39 +01:00
4b82502c06Add product name mapping for GMC-I EMMOD206
Stefan Wahren
2013-10-31 23:01:06 +01:00
9d84318631Add manufacturer ID for GMC
Stefan Wahren
2013-10-31 22:59:59 +01:00
6ffa521473Update XML after fixing bug with signed integer
Stefan Wahren
2013-10-31 22:27:48 +01:00
6afe7a10dcfix wrong decoding of integer / type B (now handle signedness correctly) separate result code und decoded value for integer decoding (new parameter) refactor variable names
Stefan Wahren
2013-10-31 22:25:34 +01:00
663642b7ecAdopt retransmission for secondary address probing
Stefan Wahren
2013-10-19 13:56:58 +02:00
e6173103e2Avoid unnecessary data request in mbus_read_slave
Stefan Wahren
2013-10-19 13:43:00 +02:00
b674dfcf24Use new retransmission option and handle member
Stefan Wahren
2013-10-19 11:44:37 +02:00
31016929bcSeperate retransmission maximum in two parameters one for data requests and another for search requests - add new handle member for max search retransmission - set default maximum for search retransmission to one - rename define for retransmission option
Stefan Wahren
2013-10-18 20:15:53 +02:00
7ca329ee40Add product name mapping for Rossweiner Modularis
Stefan Wahren
2013-10-18 17:32:22 +02:00
fc8392de91Merge remote-tracking branch 'upstream/master'
Stefan Wahren
2013-10-17 15:55:57 +02:00
d54b594696Sync behavior to mbus-serial-request-data-multi-reply - init slaves before requesting data - free ressources before exit - refactor data request - fix comments
Stefan Wahren
2013-10-17 14:17:57 +02:00
28b73bf9d8Add manufacturer ID for Rossweiner
Stefan Wahren
2013-10-17 13:45:45 +02:00
ef0f05c460Merge pull request #60 from lategoodbye/master
Robert
2013-10-15 09:37:35 -07:00
c2a3f4b871Fix event handling after moving callbacks to mbus handle
Stefan Wahren
2013-10-13 21:56:15 +02:00
0cf57bfc35Move event handling from global variable to handle - remove global event function pointer - add event function pointer to handle structure - add handle parameter to register functions - move all register functions to mbus-protocol-aux.c
Stefan Wahren
2013-10-13 21:49:40 +02:00
9e23818152Add new function to send a user data packet from master to slave
Stefan Wahren
2013-10-13 14:52:45 +02:00
d5f06ec910Replace magic number for M-Bus frame data length with define
Stefan Wahren
2013-10-05 10:38:07 +02:00
3e24215e51Merge pull request #59 from lategoodbye/master
Robert
2013-10-02 06:58:45 -07:00
55d4c0fba2Remove trailing whitespace
Stefan Wahren
2013-09-13 17:53:33 +02:00
654905a94dbug fix in timeout config
Robert Johansson
2013-08-30 00:20:35 +09:00
fd5c9adffbmade it possible to configure the TCP read timeout parameter
Robert Johansson
2013-08-30 00:05:22 +09:00
84ffacadffMerge pull request #57 from lategoodbye/master
Robert Johansson
2013-08-03 19:35:59 -07:00
d9dd055beaFix mbus_vib_unit_lookup remove unreachable code add missing unit password fix typo
Stefan Wahren
2013-08-03 16:35:09 +02:00
c8aaa8dc32Add new test frames from Elster Falcon and Relay Padpuls
Stefan Wahren
2013-08-03 16:23:20 +02:00
fb84fd11a8Add additional check if directory is empty or hex file doesn't exists
Stefan Wahren
2013-08-03 15:51:34 +02:00
55c2bf0deeAdd normalized values option -n Add file pointer check after fread
Stefan Wahren
2013-07-17 22:21:07 +02:00
8f61edc85dremove the CUnit based unit test, since it does not work well (does not show which test that is failing...). instead we can use Stefan's nice generate-xml.sh which show exactly which test frames fails and the diff.
Robert Johansson
2013-07-05 00:12:38 +09:00
87cadafea0updated XML files for test frames
Robert Johansson
2013-07-05 00:07:03 +09:00
5160a10211fixed warning
Robert Johansson
2013-07-04 23:59:41 +09:00
b1473adc46fixed warning
Robert Johansson
2013-07-04 23:49:42 +09:00
5b83cad8fbonly show timestamp in XML output if it is set (not all frames that goes into mbus_parse passes through timestamp), to avoid a lot of '<Timestamp>1970-01-01T00:00:00</Timestamp>'
Robert Johansson
2013-07-04 23:47:06 +09:00
1fee3d9a5abug fix: don't assume that frame->next is zeroed before mbus_parse is called
Robert Johansson
2013-07-04 23:30:27 +09:00
a8f5c07fcfMerge pull request #56 from lategoodbye/master
Robert Johansson
2013-07-04 07:04:58 -07:00