Changes

no edit summary
Line 1: Line 1:     
AT+QCFG="band" command sets the bands to be searched of the modem.
 
AT+QCFG="band" command sets the bands to be searched of the modem.
 +
 +
'''How to calculate what kind of HEX to set:''' For example, we need to connect only to B20 and B12 LTE bands. HEX value (by the table above) for B20 is 0x80000, for B12 is 0x800. Then you need to add these values for each other and at the end you get 0x80800. With this value modem will try to search the connection only with B12 and B20 bands.
 +
 +
 +
So all command to the terminal should be like this: <code>gsmctl -A 'AT+QCFG="band",0,80800,0,1'</code>
 +
 +
This will make no difference in GSM, WCDMA and TD-SCDMA frequencies (flags set to <code>0</code>), changes will be applied immediately (flag is set to <code>1</code>) and UE will search for LTE B12 and B20 (HEX value <code>80800</code> decoded as described above).