Improved wildcard search results (still not all meters were found)

- sleep 1 second after each init frame
- select secondary address with enabled FCB bit
This commit is contained in:
Stefan Wahren
2012-05-29 20:51:34 +02:00
parent 989eada28a
commit c2f7c0d48e
2 changed files with 3 additions and 1 deletions

View File

@ -3762,7 +3762,7 @@ mbus_frame_select_secondary_pack(mbus_frame *frame, char *address)
return -1;
}
frame->control = MBUS_CONTROL_MASK_SND_UD | MBUS_CONTROL_MASK_DIR_M2S;
frame->control = MBUS_CONTROL_MASK_SND_UD | MBUS_CONTROL_MASK_DIR_M2S | MBUS_CONTROL_MASK_FCB;
frame->address = 253; // for addressing secondary slaves
frame->control_information = 0x52; // mode 1