Commit Graph

66 Commits

Author SHA1 Message Date
0d610b6a27 - fixed check of mbus_sendrecv_request and mbus_recv_frame
- initialize memory in mbus_sendrecv_request
- used defines for special address instead of magic numbers
2012-06-20 00:21:28 +02:00
bf12395af9 Fixed segmentation fault in case of much XML output
Because of the multi telegrams it is impossible to use a fixed
buffer for XML output on the stack. Now the buffer is allocated on the
heap. These also leads to a change in return behaviour for all XML
functions, because it's possible that the buffer is NULL. For variable
data this buffer grows every time there are less than 1024 bytes left
for a new record.
2012-05-29 21:24:30 +02:00
0cb23161e7 Added receive timestamp for each data record in XML output 2012-05-29 20:17:05 +02:00
ef630f2e5d Added a new function to select a device by it's secondary address 2012-05-20 03:52:15 +02:00
d12d7dd052 Fixed bug in multi telegram readout with secondary address
- init slave before selecting secondary address
2012-05-20 03:44:06 +02:00
03d4876425 New events for wildcard search 2012-05-20 02:52:11 +02:00
c6031f3287 Added missing header file 2012-05-20 02:39:29 +02:00
11f6392df3 Fixed potential segmentation faults 2012-05-18 13:35:02 +02:00
f14b3beb84 Fixed bugs in wildcard search
- init slaves before search
- corrected return codes
- handle collisions (possibly more bytes than expected)
- sync recv frame (tcp vs serial)
- add tracing
2012-05-15 23:30:55 +02:00
6f76632728 fix bug in breakout of loop due to max_frames condition 2012-05-13 16:32:17 +09:00
d617accea5 Added new function to generate XML with normalized values
(equivalent to mbus_frame_data_xml)
2012-05-06 23:00:59 +02:00
b479412ab1 Migrated all new features also to mbus-protocol-aux.c:
- support for custom VIF
- support for date / time
- support for float
- fix for huge values
- hexdump of manufacturer specific data
2012-05-06 22:12:29 +02:00
42ed80a5b0 - init slave to get always the beginning of the records
- start read with FCB set
- fixed double free in case of send failure
2012-04-28 14:09:58 +02:00
39e7b64ff4 Fixed special characters 2012-04-22 16:29:58 +02:00
5ce9a540ed Added error frames for testing 2012-04-22 15:53:54 +02:00
c10b37e53d got rid of duplicate catalog libmbus/libmbus 2012-04-15 10:51:15 +09:00