# Device Information Service

- [API reference](https://docs.qualcomm.com/doc/80-41102-2/topic/_doxygen_rst_file__doxygen_sources_taf_devInfo_interface_h.html#file-taf-devinfo-interface-h)

The Device Information Service can be used to obtain information and properties (like IMEI) of the device that runs this service.

## IPC interfaces binding

The functions of this API are provided by the **tafDevInfoSvc** application service.

The following example illustrates how to bind to TelAF device information service.

bindings:
    {
        clientExe.clientComponent.taf_devInfo-> tafDevInfoSvc.taf_devInfo
    }
    Copy to clipboard

## Get device IMEI

TelAF Device Information Service provides API to get the International Mobile Equipment Identity (IMEI) of the device. The following example illustrates how to get the IMEI of the device

char imei[TAF_DEVINFO_IMEI_MAX_BYTES];
    le_result_t result = taf_devInfo_GetImei(imei, sizeof(imei));
    if(result == LE_OK)
    {
        // success
        LE_INFO("IMEI: %s", imei);
    }
    else
    {
        LE_ERROR("Get IMEI failed");
    }
    Copy to clipboard

## Get device model

- [taf\_devInfo\_GetModel()](https://docs.qualcomm.com/doc/80-41102-2/topic/function_a00329_1ab93bdabe20ff2524400b7b68a66f593e.html#Documentationa00329_1ab93bdabe20ff2524400b7b68a66f593e) — Gets the model of the device to see whether it is SA525M or SA515M.

The following example illustrates how to get the model of the device

char model[TAF_DEVINFO_MODEL_MAX_BYTES];
    le_result_t result = taf_devInfo_GetModel(model, sizeof(model));
    if(result == LE_OK)
    {
        LE_INFO("Device Model : %s", model);
    }
    else
    {
        LE_ERROR("Get Device Model failed");
    }
    Copy to clipboard

Last Published: Jun 09, 2026

[Previous Topic
Data Call Service](https://docs.qualcomm.com/bundle/publicresource/80-41102-2/topics/page_c_tafDataCallSvc.md) [Next Topic
Diagnostic services](https://docs.qualcomm.com/bundle/publicresource/80-41102-2/topics/diagnostic_services.md)