Hey,
We have this feature planned in future firmware updates, most likely in 02.05 release. At the moment it is only possible to configure band lock via CLI using AT commands.
Please follow these steps for bandlock via SSH:
- Stop mobile data connection:
ifdown mob1s1a1
gsmctl 'AT+QCFG=“band”[,<bandval>,<ltebandval>,<tdsbandval>[,<effect>]]'
<bandval> A hexadecimal value that specifies the GSM and WCDMA frequency band. If set <bandval> to 0, it means not to change GSM and WCDMA frequency band. (eg.: 00000013=00000001(GSM900)+00000002(GSM1800)+00000010(WCDMA2100))
00000000 No change
00000001 GSM900
00000002 GSM1800
00000004 GSM850
00000008 GSM1900
00000010 WCDMA 2100
00000020 WCDMA 1900
00000040 WCDMA 850
00000080 WCDMA 900
00000100 WCDMA 800
00000200 WCDMA 1700
0000FFFF Any frequency band
<ltebandval> A hexadecimal value that specifies the LTE frequency band. If set <ltebandval>
to 0 or 0x40000000, it means not to change LTE frequency band. (eg.:0x15=0x1( LTE BC1)+0x4( LTE BC3)+0x10( LTE BC5))
0x1 (CM_BAND_PREF_LTE_EUTRAN_BAND1) LTE BC1
0x4 (CM_BAND_PREF_LTE_EUTRAN_BAND3) LTE BC3
0x10 (CM_BAND_PREF_LTE_EUTRAN_BAND5) LTE BC5
0x40 (CM_BAND_PREF_LTE_EUTRAN_BAND7) LTE BC7
0x80 (CM_BAND_PREF_LTE_EUTRAN_BAND8) LTE BC8
0x800000 (CM_BAND_PREF_LTE_EUTRAN_BAND20) LTE BC20
0x1a0000800d5 (CM_BAND_PREF_ANY) Any frequency band
<tdsbandval> A hexadecimal value that specifies the <tdscdma> frequency band. If set
<tdsbandval> to 0 or 0x40000000, it means not to change TDS-CDMA frequency band. (eg.: 0x21=0x1( TDS BCA) +0x20( TDS BCF))
0x1 (CM_BAND_PREF_TDS_BANDA) TDS BCA
0x2 (CM_BAND_PREF_TDS_BANDB) TDS BCB
0x4 (CM_BAND_PREF_TDS_BANDC) TDS BCC
0x8 (CM_BAND_PREF_TDS_BANDD) TDS BCD
0x10 (CM_BAND_PREF_TDS_BANDE) TDS BCE
0x20 (CM_BAND_PREF_TDS_BANDF) TDS BCF
<effect> When to take effect
0 Take effect after UE reboots
1 Take effect immediately
gsmctl -A 'AT+QCFG="band",0,40,0,1'
- Start mobile data connection:
ifup mob1s1a1
- To read used frequencies:
gsmctl -A 'AT+QCFG="band"' or +QCFG: "band",0xd3,0x40,0x0
- To read used frequencies in words format:
gsmctl -A AT+QNWINFO
gsmctl -A 'AT+QCFG="band",0,40,0,1'
- Multiple frequencies at one time:
It's not force one band, when you use AT+QCFG="band" and set
any combinations of band you need to use, for <ltebandval> 1800 is band 3,
and it's config is 4, and 2600 is band 7, it's config is 40, so you sum this
two and it will be 44, so you need to set <ltebandval> as 44.
0x1a0000800d5