2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

00_HMUARTLGW.pm: disable CSMA/CA by default

git-svn-id: https://svn.fhem.de/fhem/trunk@12112 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgernoth 2016-09-03 20:13:20 +00:00
parent 63f4c5e7b0
commit b75899b351

View File

@ -145,7 +145,7 @@ sub HMUARTLGW_Initialize($)
"lgwPw " .
"hmKey hmKey2 hmKey3 " .
"dutyCycle:1,0 " .
"csmaCa:1,0 " .
"csmaCa:0,1 " .
"qLen " .
"logIDs ".
$readingFnAttributes;
@ -757,7 +757,7 @@ sub HMUARTLGW_GetSetParameterReq($) {
HMUARTLGW_send($hash, HMUARTLGW_OS_NORMAL_MODE, HMUARTLGW_DST_OS);
} elsif ($hash->{DevState} == HMUARTLGW_STATE_ENABLE_CSMACA) {
my $csma_ca = AttrVal($name, "csmaCa", 1);
my $csma_ca = AttrVal($name, "csmaCa", 0);
HMUARTLGW_send($hash, HMUARTLGW_OS_ENABLE_CSMACA . sprintf("%02x", $csma_ca), HMUARTLGW_DST_OS);
@ -2328,10 +2328,8 @@ sub HMUARTLGW_getVerbLvl($$$$) {
<ul>
<li>csmaCa<br>
Enable or disable CSMA/CA (Carrier sense multiple access with collision
avoidance), also known as listen-before-talk.
Disabling this might be illegal in your country, please check with local
regulations!<br>
Default: 1 (enabled)
avoidance), also known as listen-before-talk.<br>
Default: 0 (disabled)
</li>
<li>dutyCycle<br>
Enable or disable the duty-cycle check (1% rule) performed by the