def calculate_size(uuid, address, interrupt):
data_size = <NUM_LIT:0><EOL>data_size += calculate_size_str(uuid)<EOL>data_size += calculate_size_address(address)<EOL>data_size += BOOLEAN_SIZE_IN_BYTES<EOL>return data_size<EOL>
Calculates the request payload size