PaTiTan
1 week ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
1 deletions
-
src/hm/hmDefines.h
-
src/hm/hmSystem.h
|
|
|
@ -119,7 +119,7 @@ enum {INV_RADIO_TYPE_UNKNOWN = 0, INV_RADIO_TYPE_NRF, INV_RADIO_TYPE_CMT}; |
|
|
|
#define DURATION_TXFRAME 85 // timeout parameter for first transmission and first expected frame (time to first channel switch from tx start!) (ms)
|
|
|
|
#define DURATION_LISTEN_MIN 5 // time to stay at least on a listening channel (ms)
|
|
|
|
#define DURATION_PAUSE_LASTFR 45 // how long to pause after last frame (ms)
|
|
|
|
const uint8_t duration_reserve[2] = {65, 115}; |
|
|
|
const uint8_t duration_reserve[3] = {65, 65, 115}; // index = INV_RADIO_TYPE_(UNKNOWN, NRF, CMT)
|
|
|
|
|
|
|
|
#define LIMIT_FAST_IV 85 // time limit to qualify an inverter as very fast answering inverter
|
|
|
|
#define LIMIT_VERYFAST_IV 70 // time limit to qualify an inverter as very fast answering inverter
|
|
|
|
|
|
|
|
@ -78,6 +78,7 @@ class HmSystem { |
|
|
|
iv->ivRadioType = INV_RADIO_TYPE_CMT; |
|
|
|
} else if(iv->config->serial.b[5] == 0x14) { |
|
|
|
iv->ivGen = IV_HMS; |
|
|
|
iv->ivRadioType = INV_RADIO_TYPE_CMT; |
|
|
|
if(iv->config->serial.b[4] == 0x10) |
|
|
|
iv->type = INV_TYPE_2CH; |
|
|
|
} else if(iv->config->serial.u64 != 0ULL) { |
|
|
|
|