/* Requests the target to upload the specified range from memory and store its contents in the specified data buffer.  */
LIBOPENBLT_EXPORT uint32_t BltSessionReadData(uint32_t address, uint32_t len, uint8_t *data)
/* Requests the target to upload the specified range from memory and store its contents in the specified data buffer.  */
LIBOPENBLT_EXPORT uint32_t BltSessionReadData(uint32_t address, uint32_t len, uint8_t *data)
{
  uint32_t result = BLT_RESULT_ERROR_GENERIC;
  assert(data != NULL);
  assert(len > 0);
  if ( (data != NULL) && (len > 0) )
  {
    if (SessionReadData(address, len, data))
    {
      result = BLT_RESULT_OK;
    }
  }
  return result;
}