Commit Graph

20 Commits

Author SHA1 Message Date
Johannes Pohl
fa12774090 add checksum integration
* add draft for crc configure dialog

* add ui file

* improve delegate sizing

* fix open editors function call placement

* consider system font size for optimal editor height

* fix font height on windows only as other OSes are fine with default

* simplify windows height special case

* add draft for crc configure dialog

* add ui file

* add tab widget to properties dialog + remove unneeded underline fonts

* rename type -> field type + add crclabel class

* cast labels to crclabel if field type gets changed

* dynamic tab creation in label dialog depending on special status labels

* integrate CRC widget to dialog

* use model for crc data ranges and enhance editor behaviour

* move default crc polynomials to class level

* make crc polynomial configurable in widget

* fix line edit validator + set crc polynomial on combobox change

* show crc status in label table

* fix unnittest polynomial assignment

* Index error catched, when dragging WSP-encoded data into generator

* show expected CRC in value table

* add action for updating automatically assigned message types

* add draft for crc configure dialog

* add ui file

* add tab widget to properties dialog + remove unneeded underline fonts

* rename type -> field type + add crclabel class

* cast labels to crclabel if field type gets changed

* dynamic tab creation in label dialog depending on special status labels

* integrate CRC widget to dialog

* use model for crc data ranges and enhance editor behaviour

* move default crc polynomials to class level

* make crc polynomial configurable in widget

* fix line edit validator + set crc polynomial on combobox change

* show crc status in label table

* fix unnittest polynomial assignment

* show expected CRC in value table

* add action for updating automatically assigned message types

* centralize bit view methods

* make start value and final xor configurable

* add Checksum Label Type + WSP Checksum subtype

* Ensure Start Value and Final XOR have same length as polynomial

* pad zeros at front

* add crc info label and fix sync between polynomial and xor values

* various fixes

* test wsp hash functionality

* minor fixes

* use array.array for parameters to make crcs comparable

* integrate crc to generation

* add unittest for cc1101

* set wait cursor when extracting archives

* remove unneeded status bar in interpretation

* set wait cursor when extracting archives in project manager

* fix size policy for analysis search line edit

* save checksum labels in project

* improve alignment

* remove double line edit

* add test for checksum integration in generator

* update coverage

* specify coverage format

* generate xml coverage report

* generate coverage report only for python 3.5

* generate coverage report only for python 3.5

* add variable to control coverage

* generate coverage report on success

* generate coverage report after success

* remove deprecated

* add virtualenv opt

* use codecov

* revert to deprecated

* Removed CRC and 'remove_preamble, remove_sync' from CC1101 Data Whitening

* repair unittests

* fix table copy selection

* use plain bits for checksum calculation in generation

* add parent
2017-07-02 20:47:46 +02:00
Andreas Noack
085a2daa51 Substitution-Decoding/Encoding improved: Data is now padded with zeroes if the length is not a multiple of the FROM field length.
Before, last bits of data were ignored and consequently reencoded in a wrong way.
2017-04-27 11:57:37 +02:00
Johannes Pohl
ddec518931 use array.array instead of list to store bits 2017-04-25 12:20:33 +02:00
Andreas Noack
b74707f857 Encoding: Add Morse Code encoding (fix #225) 2017-04-21 16:44:48 +02:00
jopohl
1a3135418b general teardown and optimized timeouts 2017-03-27 11:15:08 +02:00
jopohl
fc793e2e71 add common base class for test cases 2017-03-27 10:16:43 +02:00
Johannes Pohl
37a92f8683 write settings 2017-03-26 22:19:28 +02:00
Johannes Pohl
574c8b92ee add dedicated app context for tests 2017-03-26 22:03:35 +02:00
jopohl
d18934b6d3 improve stability 2017-03-18 17:28:08 +01:00
jopohl
48c8c1aec3 choose right enocean hash depending on message format 2016-12-04 14:34:03 +01:00
jopohl
3692139d0b rearrange enocean crc methods 2016-12-03 16:57:23 +01:00
jopohl
fe80da71a9 Add DecodingErrorStates 2016-12-02 11:51:40 +01:00
jopohl
5992886ba5 rename encoding -> Encoder 2016-12-02 10:40:02 +01:00
jopohl
df3ff6315c fix test for crc polynomial 2016-12-01 16:58:32 +01:00
andynoack
f09c473978 enocean crcs 2016-12-01 13:41:46 +01:00
jopohl
eaf800c895 dominate enocean 2016-11-18 15:53:47 +01:00
Andreas Noack
f16b4aae21 Added cut-decoding...without GUI (TBD) 2016-10-27 18:57:57 +02:00
andynoack
b3a58db67d Added Wireless Short-Packet (WSP) encoding/decoding for EnOcean (Switch Telegram) 2016-08-23 13:31:42 +02:00
jopohl
64e2831faf Unittest for enocean + avoid repush of ui data 2016-08-18 17:02:19 +02:00
Andreas Noack
0582c1a9f5 Decoding/Encoding:
Improved carrier algorithm to handle arbitrary carriers, e.g. "....1....1**" that means: 4 info bits, True-bit, 4 info bits, True-bit, 2 arbitrary bits (no info)
2016-08-18 15:52:35 +02:00