Skip to content
Snippets Groups Projects
Commit fae876c1 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen
Browse files

Fix AMF_ID format (uint32_t)

parent 84c3f539
Branches new-jenkins
No related tags found
1 merge request!51Fix AMF_ID format (uint32_t)
Pipeline #39623 failed
......@@ -145,7 +145,7 @@ typedef struct allowed_nssai_s /*5G ADD it*/
typedef struct guami_s {
plmn_t plmn;
std::string amf_id;
uint32_t amf_id;
} guami_t;
#endif
......@@ -161,8 +161,7 @@ bool api_conv::profile_api_to_nrf_profile(
guami.plmn.mcc = g.getPlmnId().getMcc();
guami.plmn.mnc = g.getPlmnId().getMnc();
info.guami_list.push_back(guami);
Logger::nrf_app().debug(
"\t\tAMF GUAMI, AMF_ID: %s", guami.amf_id.c_str());
Logger::nrf_app().debug("\t\tAMF GUAMI, AMF_ID: 0x%x", guami.amf_id);
Logger::nrf_app().debug(
"\t\tAMF GUAMI, PLMN (MCC: %s, MNC: %s)", guami.plmn.mcc.c_str(),
guami.plmn.mnc.c_str());
......
......@@ -820,7 +820,7 @@ void amf_profile::display() {
amf_info.amf_region_id.c_str());
for (auto g : amf_info.guami_list) {
Logger::nrf_app().debug("\t\tAMF GUAMI List, AMF_ID: %s", g.amf_id.c_str());
Logger::nrf_app().debug("\t\tAMF GUAMI List, AMF_ID: 0x%x", g.amf_id());
Logger::nrf_app().debug(
"\t\tAMF GUAMI List, PLMN (MCC: %s, MNC: %s)", g.plmn.mcc.c_str(),
g.plmn.mnc.c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment