Functions to retrieve information from a device.  
More...
Functions to retrieve information from a device. 
◆ tiepie_hw_device_get_calibration_date()
Get the calibration date of the device. 
- Parameters
 - 
  
  
 
- Returns
 - The calibration date of the device, or zero if no calibration date is available. 
 
- Status values
 - 
 
- Example
 
 
printf(
"tiepie_hw_device_get_calibration_date = %u-%u-%u\n", date.
year, date.
month, date.
day);
 
TIEPIE_HW_API tiepie_hw_date tiepie_hw_device_get_calibration_date(tiepie_hw_handle handle)
Get the calibration date of the device.
 
Definition: libtiepie-hw.h:1838
 
uint8_t day
Definition: libtiepie-hw.h:1841
 
uint16_t year
Definition: libtiepie-hw.h:1839
 
uint8_t month
Definition: libtiepie-hw.h:1840
 
 
- Since
 - 1.0 
 
 
 
◆ tiepie_hw_device_get_serial_number()
      
        
          | TIEPIE_HW_API uint32_t tiepie_hw_device_get_serial_number  | 
          ( | 
          tiepie_hw_handle  | 
          handle | ) | 
           | 
        
      
 
Get the serial number of the device. 
- Parameters
 - 
  
  
 
- Returns
 - The serial number of the device. 
 
- Status values
 - 
 
- Since
 - 1.0 
 
 
 
◆ tiepie_hw_device_get_ip_address()
      
        
          | TIEPIE_HW_API uint32_t tiepie_hw_device_get_ip_address  | 
          ( | 
          tiepie_hw_handle  | 
          handle,  | 
        
        
           | 
           | 
          char *  | 
          buffer,  | 
        
        
           | 
           | 
          uint32_t  | 
          length  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Get the IP address of the device. 
- Parameters
 - 
  
    | [in] | handle | A device handle identifying the device.  | 
    | [out] | buffer | A pointer to a buffer for the IP address.  | 
    | [in] | length | The length of the buffer, in bytes.  | 
  
   
- Returns
 - The length of the name in bytes, excluding terminating zero. 
 
- Status values
 - 
 
- Since
 - 1.0 
 
 
 
◆ tiepie_hw_device_get_ip_port()
Get the IP port number of the device. 
- Parameters
 - 
  
  
 
- Returns
 - The IP port number of the device, or zero if no IP port number is available. 
 
- Status values
 - 
 
- Since
 - 1.0 
 
 
 
◆ tiepie_hw_device_get_product_id()
Get the product id of the device. 
- Parameters
 - 
  
  
 
- Returns
 - The tiepie_hw_productid "product id" of the device. 
 
- Status values
 - 
 
- Since
 - 1.0 
 
 
 
◆ tiepie_hw_device_get_type()
Get the device type. 
- Parameters
 - 
  
  
 
- Returns
 - The device type. 
 
- Status values
 - 
 
- Since
 - 1.0 
 
 
 
◆ tiepie_hw_device_get_name()
      
        
          | TIEPIE_HW_API uint32_t tiepie_hw_device_get_name  | 
          ( | 
          tiepie_hw_handle  | 
          handle,  | 
        
        
           | 
           | 
          char *  | 
          buffer,  | 
        
        
           | 
           | 
          uint32_t  | 
          length  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Get the full name of the device. 
E.g. Handyscope HS5-530XMS
- Parameters
 - 
  
    | [in] | handle | A device handle identifying the device.  | 
    | [out] | buffer | A pointer to a buffer for the name.  | 
    | [in] | length | The length of the buffer, in bytes.  | 
  
   
- Returns
 - The length of the name in bytes, excluding terminating zero. 
 
- Status values
 - 
 
- See also
 - tiepie_hw_device_get_name_short 
 
- 
tiepie_hw_device_get_name_shortest
 
- Example
 
char* name = malloc(sizeof(char) * length);
 
printf("tiepie_hw_device_get_name = %s\n", name);
 
free(name);
TIEPIE_HW_API uint32_t tiepie_hw_device_get_name(tiepie_hw_handle handle, char *buffer, uint32_t length)
Get the full name of the device.
 
 
- Since
 - 1.0 
 
 
 
◆ tiepie_hw_device_get_name_short()
      
        
          | TIEPIE_HW_API uint32_t tiepie_hw_device_get_name_short  | 
          ( | 
          tiepie_hw_handle  | 
          handle,  | 
        
        
           | 
           | 
          char *  | 
          buffer,  | 
        
        
           | 
           | 
          uint32_t  | 
          length  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Get the short name of the device. 
E.g. HS5-530XMS
- Parameters
 - 
  
    | [in] | handle | A device handle identifying the device.  | 
    | [out] | buffer | A pointer to a buffer for the name.  | 
    | [in] | length | The length of the buffer, in bytes.  | 
  
   
- Returns
 - The length of the short name in bytes, excluding terminating zero. 
 
- Status values
 - 
 
- See also
 - tiepie_hw_device_get_name 
 
- 
tiepie_hw_device_get_name_shortest
 
- Example
 
char* name = malloc(sizeof(char) * length);
 
printf("tiepie_hw_device_get_name_short = %s\n", name);
 
free(name);
TIEPIE_HW_API uint32_t tiepie_hw_device_get_name_short(tiepie_hw_handle handle, char *buffer, uint32_t length)
Get the short name of the device.
 
 
- Since
 - 1.0 
 
 
 
◆ tiepie_hw_device_get_name_shortest()
      
        
          | TIEPIE_HW_API uint32_t tiepie_hw_device_get_name_shortest  | 
          ( | 
          tiepie_hw_handle  | 
          handle,  | 
        
        
           | 
           | 
          char *  | 
          buffer,  | 
        
        
           | 
           | 
          uint32_t  | 
          length  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Get the short name of the device without model postfix. 
E.g. HS5
- Parameters
 - 
  
    | [in] | handle | A device handle identifying the device.  | 
    | [out] | buffer | A pointer to a buffer for the name.  | 
    | [in] | length | The length of the buffer, in bytes.  | 
  
   
- Returns
 - The length of the short name in bytes, excluding terminating zero. 
 
- Status values
 - 
 
- See also
 - tiepie_hw_device_get_name 
 
- 
tiepie_hw_device_get_name_short
 
- Example
 
char* s_name_shortest = malloc(sizeof(char) * length);
 
printf("tiepie_hw_device_get_name_shortest = %s\n", s_name_shortest);
 
free(s_name_shortest);
TIEPIE_HW_API uint32_t tiepie_hw_device_get_name_shortest(tiepie_hw_handle handle, char *buffer, uint32_t length)
Get the short name of the device without model postfix.
 
 
- Since
 - 1.0 
 
 
 
◆ tiepie_hw_device_has_wireless_trigger_module()