usb_moded  0.86.0+mer57
Functions
usb_moded-ssu.c File Reference
#include "usb_moded-ssu.h"
#include "usb_moded-log.h"
#include <ssusysinfo.h>

Go to the source code of this file.

Functions

gchar * ssu_get_manufacturer_name (void)
 
gchar * ssu_get_product_name (void)
 

Detailed Description

Copyright (c) 2016 - 2021 Jolla Ltd. Copyright (c) 2020 Open Mobile Platform LLC.

Author
Simo Piiroinen simo..nosp@m.piir.nosp@m.oinen.nosp@m.@jol.nosp@m.lamob.nosp@m.ile..nosp@m.com

This program is free software; you can redistribute it and/or modify it under the terms of the Lesser GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the Lesser GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Definition in file usb_moded-ssu.c.

Function Documentation

◆ ssu_get_manufacturer_name()

gchar * ssu_get_manufacturer_name ( void  )

Read device manufacturer name from the SSU configuration

Caller must release non-null return value with g_free().

Returns
human readable string, or NULL in case of errors

Definition at line 94 of file usb_moded-ssu.c.

◆ ssu_get_product_name()

gchar * ssu_get_product_name ( void  )

Read device model name from the SSU configuration

Caller must release non-null return value with g_free().

Returns
human readable string, or NULL in case of errors

Definition at line 113 of file usb_moded-ssu.c.