Wykres commitów

32 Commity (f3e2968833158e6a3853811b6b5726aca75f8a48)

Autor SHA1 Wiadomość Data
Fredrik Öhrström f3e2968833 Added reset of amb8465 to admin-tool. 2020-06-29 16:35:58 +02:00
Henry N 776287c011
amb8465: Find next start 0x44, after out of sync
Should fix problems in #116
2020-05-27 13:12:52 +02:00
Fredrik Öhrström 76d76d1276 Disable format-truncation warning that is somewhat flaky in gcc. 2020-05-26 09:34:17 +02:00
Fredrik Öhrström 950778d7bc Detect out of sync data from amb8465. 2020-05-25 19:05:45 +02:00
Henry N fddeab4841
amb8465: rx timeout to resync telegram (#117)
* rx timeout 2 sec in telegram 

If the reader is out of sync, next meter start bytes will add to the rest of telegram before. Typically are 7 ms between two chunks of received data. If detected a delay of 2 seconds or more between the rx data, then assume it is the first block of new telegram.
This should fix the issue #116.
2020-05-25 09:28:31 +02:00
Fredrik Öhrström 2cc26129b4 Fix build problems. 2020-05-11 11:59:47 +02:00
Fredrik Öhrström 2c366bf6a7 Added prototype for wmbusmeters-admin. 2020-05-09 21:56:37 +02:00
Fredrik Öhrström 866e163d3b
Merge branch 'master' into HenryNe-patch-cs-print 2020-05-09 08:25:15 +02:00
Henry N 0159f4c449
amb8465: Print rssi after full command frame
Just to have the same order as before.
2020-05-08 22:20:10 +02:00
Henry N 585bec9e39
amb8465: Print checksum errors from responses 2020-05-08 22:11:26 +02:00
Henry N 8d283533c3
amb8465: Print rssi in dBm 2020-05-08 22:06:33 +02:00
Henry N c229cb3d0f
amb8465: Update rssi from transparant data
Update rssi from transparent rx data.
Print rssi only after get an update of rssi (CMD_DATA_IND or transparent RX).
2020-05-08 22:02:22 +02:00
Henry N 60ddad6e1d
amb8465: Fix: RSSI is only in CMD_DATA_IND
Byte for rssi is only injected in responses from CMD_DATA_IND.
rssi is -2 bytes before end, because -1 byte is the CheckSum.
Fix calculation for frame_length.
frame_length = 1 byte start (0xFF) + 1 byte CMD (0x8A) + 1 byte len (0x7A) + payload_len + 0/1 byte RSSI + 1 byte Check Sum = 4 + payload_len.
PS: The old code was working, because rssi_expected_ was always true (1).
2020-05-08 21:56:20 +02:00
Henry N b955c692d5
amb8465: Fix: Update config RSSI_Enable = false
Bugfix: Update local "rssi expected" to false, If RSSI is not set in config.
2020-05-08 21:38:09 +02:00
Henry N a8f7517290
amb8465: Print config UART_CMD_OUT_ENABLE 2020-05-08 21:29:02 +02:00
Fredrik Öhrström 7635b11f5f Try to detect. 2020-03-22 18:43:09 +01:00
weetmuts a7c059d5df Added proper CRC trimming for CUL driver. 2020-02-15 21:18:21 +01:00
weetmuts 0f74dba6e9 Added more debug information. 2020-02-06 19:01:48 +01:00
weetmuts 884aed37ba Add eBZ wmbus meter. 2020-02-06 13:14:46 +01:00
weetmuts 4c27f6c11c Refactor parsing. 2020-01-27 09:29:40 +01:00
weetmuts bb7927f8f1 Added checks to handle corrupted telegrams. 2019-11-04 00:35:00 +01:00
weetmuts cae1144283 Improved testing. 2019-11-03 22:00:18 +01:00
weetmuts 28d5495882 Added support for stdin and file.\n 2019-11-03 16:31:30 +01:00
weetmuts f48b182dfb Make safe copy of Telegram for each potential meter listener. 2019-09-06 11:48:52 +02:00
weetmuts bd63a73d0a Updated README and some debug strings. 2019-06-16 22:07:22 +02:00
weetmuts 22bca9752c Fix bug in AMB8564 dongle code, receiving T1 now works! 2019-06-11 17:49:54 +02:00
weetmuts ff32981c13 Added support for meters that might transmit using different link modes. 2019-06-06 17:28:20 +02:00
weetmuts 1111ea01bd Add support for listening to S1 and S1-m telegrams. 2019-05-21 10:34:09 +02:00
weetmuts e4d0dfda4e Added support for --n1a to --n1f linkmodes for imst dongle. 2019-03-05 22:56:41 +01:00
weetmuts 58206443a5 Rename CommandLine to Configuration. 2019-02-24 14:08:51 +01:00
weetmuts a182fa0974 Work on macosx build. 2019-02-23 21:36:00 +01:00
weetmuts 8e67e2eb70 Moved sources into src. 2019-02-23 13:53:52 +01:00