api,bearer: new 'ProfileId' property

To report which is the currently active profile with this bearer, if
known. If the modem doesn't support profiles, or if the bearer is
disconnected, -1 (MM_3GPP_PROFILE_ID_UNKNOWN) will be reported.

It is guaranteed that no two connected bearers will have the same
ProfileId property value.
This commit is contained in:
Aleksander Morgado
2021-04-03 21:58:25 +02:00
parent 2d43ea48e1
commit 9fd5aced67
7 changed files with 49 additions and 0 deletions

View File

@@ -231,6 +231,7 @@ typedef enum {
MMC_F_BEARER_STATUS_MULTIPLEXED,
MMC_F_BEARER_STATUS_INTERFACE,
MMC_F_BEARER_STATUS_IP_TIMEOUT,
MMC_F_BEARER_STATUS_PROFILE_ID,
/* Bearer properties section */
MMC_F_BEARER_PROPERTIES_APN,
MMC_F_BEARER_PROPERTIES_APN_TYPE,