Skip to main content

Module control

Module control 

Source
Expand description

C-field values a master sends.

Constants§

FCB
The frame count bit, toggled between successive requests.
REQ_UD2
REQ_UD2: request class 2 data, i.e. the meter reading (FCB clear).
RSP_UD
RSP_UD: a slave’s response (lower nibble 8; ACD and DFC bits may be set).
SND_NKE
SND_NKE: initialise the slave (reset the FCB).
SND_UD
SND_UD: send user data to the slave (FCB clear).

Functions§

is_response
Whether c is a slave’s response with data: RSP_UD, PRM clear, ACD and DFC either way (08, 18, 28, 38).