mmcli/cell-broadcast: Add status output
This allows to get the current channel list: $ mmcli -m any --cell-broadcast-status -------------------------- Cell Broadcast | channels: 0-9999,4353
This commit is contained in:
committed by
Dan Williams
parent
577639659c
commit
2364a02d72
@@ -50,6 +50,7 @@ static SectionInfo section_infos[] = {
|
||||
[MMC_S_MODEM_3GPP_USSD] = { "3GPP USSD" },
|
||||
[MMC_S_MODEM_3GPP_PROFILE_MANAGER] = { "3GPP profile manager" },
|
||||
[MMC_S_MODEM_CDMA] = { "CDMA" },
|
||||
[MMC_S_MODEM_CELL_BROADCAST] = { "Cell Broadcast" },
|
||||
[MMC_S_MODEM_SIM] = { "SIM" },
|
||||
[MMC_S_MODEM_BEARER] = { "Bearer" },
|
||||
[MMC_S_MODEM_TIME] = { "Time" },
|
||||
@@ -167,6 +168,7 @@ static FieldInfo field_infos[] = {
|
||||
[MMC_F_CDMA_REGISTRATION_CDMA1X] = { "modem.cdma.cdma1x-registration-state", "registration cdma1x", MMC_S_MODEM_CDMA, },
|
||||
[MMC_F_CDMA_REGISTRATION_EVDO] = { "modem.cdma.evdo-registration-state", "registration evdo", MMC_S_MODEM_CDMA, },
|
||||
[MMC_F_CDMA_ACTIVATION] = { "modem.cdma.activation-state", "activation", MMC_S_MODEM_CDMA, },
|
||||
[MMC_F_CELL_BROADCAST_CHANNELS] = { "modem.cellbroadcast.channels", "channels", MMC_S_MODEM_CELL_BROADCAST, },
|
||||
[MMC_F_SIM_PATH] = { "modem.generic.sim", "primary sim path", MMC_S_MODEM_SIM, },
|
||||
[MMC_F_SIM_PRIMARY_SLOT] = { "modem.generic.primary-sim-slot", NULL, MMC_S_MODEM_SIM, },
|
||||
[MMC_F_SIM_SLOT_PATHS] = { "modem.generic.sim-slots", "sim slot paths", MMC_S_MODEM_SIM, },
|
||||
|
||||
Reference in New Issue
Block a user