text: // Copyright (c) 2010-2018 LG Electronics, Inc.
  //
  // Licensed under the Apache License, Version 2.0 (the "License");
  // you may not use this file except in compliance with the License.
  // You may obtain a copy of the License at
  //
  // http://www.apache.org/licenses/LICENSE-2.0
  //
  // Unless required by applicable law or agreed to in writing, software
  // distributed under the License is distributed on an "AS IS" BASIS,
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  // See the License for the specific language governing permissions and
  // limitations under the License.
  //
  // SPDX-License-Identifier: Apache-2.0
  
  /**
   *******************************************************************************
   * @file nyx_device_info_impl.c
   *
   * @brief implementation of NYX's public API for accessing device information
   *
   *******************************************************************************
   */
  
  #include <stdio.h>
  #include <inttypes.h>
  #include "nyx_device_info_impl.h"
  
  nyx_error_t nyx_device_info_get_info(nyx_device_handle_t handle,
                                       nyx_device_info_type_t type, char *dest, size_t dest_len)
  {
  	nyx_execute_return_function(device_info_get_info, DEVICE_INFO, GET_INFO, handle,
  	                            type, dest, dest_len);
  }
  
  nyx_error_t nyx_device_info_query(nyx_device_handle_t handle,
                                    nyx_device_info_type_t type, const char **dest)
  {
  	nyx_execute_return_function(device_info_query, DEVICE_INFO, QUERY, handle, type,
  	                            dest);
  }
  
  