Snapex7.Client.download

You're seeing just the function download, go back to Snapex7.Client module for more information.
Link to this function

download(pid, block_num, buffer)

View Source

Specs

download(GenServer.server(), integer(), bitstring()) ::
  :ok | {:error, map()} | {:error, :einval}

Downloads a block from AG. (gets a block from PLC) The whole block (including header and footer) must be available into the user buffer.