def generate_rpcs(self, address):
        """Generate the RPCs needed to stream this config variable to a tile.

        Args:
            address (int): The address of the tile that we should stream to.

        Returns:
            list of tuples: A list of argument tuples for each RPC.

            These tuples can be passed to EmulatedDevice.rpc to actually make
            the RPCs.
        """

        rpc_list = []

        for offset in range(2, len(self.data), 16):
            rpc = (address, rpcs.SET_CONFIG_VARIABLE, self.var_id, offset - 2, self.data[offset:offset + 16])
            rpc_list.append(rpc)

        return rpc_list
def generate_rpcs ( self , address ) : rpc_list = [ ] for offset in range ( 2 , len ( self . data ) , 16 ) : rpc = ( address , rpcs . SET_CONFIG_VARIABLE , self . var_id , offset - 2 , self . data [ offset : offset + 16 ] ) rpc_list . append ( rpc ) return rpc_list
Generate the RPCs needed to stream this config variable to a tile.

        Args:
            address (int): The address of the tile that we should stream to.

        Returns:
            list of tuples: A list of argument tuples for each RPC.

            These tuples can be passed to EmulatedDevice.rpc to actually make
            the RPCs.