Replaced imsi to subscriber ID
[platform/core/connectivity/stc-manager.git] / src / monitor / include / stc-default-connection.h
index b3326de..230671b 100755 (executable)
@@ -23,6 +23,7 @@
 #include "stc-manager-util.h"
 
 #define IMSI_LENGTH 16
+#define SHA256_DIGEST_LENGTH 32
 
 /**
  * @brief default connection information will be fetched from net-config
@@ -39,7 +40,7 @@ typedef struct {
        gboolean roaming;
 
        /* only present when default profile is cellular */
-       char imsi[IMSI_LENGTH];
+       char subscriber_id[SHA256_DIGEST_LENGTH * 2 + 1];
 
        /* hardware network protocol type */
        stc_hw_net_protocol_type_e hw_net_protocol_type;