AT Command to Disable particular Band

Hello All,

  • EM7565 sets correct band automatically
  • For some reason i need to disable particular band.

Que : How can i disable particular band in EM7565?(AT+Command)

  • How can i know which band is set?

Output :

  1. at+band? : Gives current band

Index, Name, GW Band Mask L Band Mask 1 TDS Band Mask L Band Mask 2 L Band Mask 3 L Band Mask 4
00, All bands 100600000EC00000 00002100BA0E19DF 0000000000000000 0000000000000002 0000000000000000 0000000000000000

  1. at+gstatus=?
    !GSTATUS:
    Current Time: 3881 Temperature: 28
    Reset Counter: 1 Mode: ONLINE
    System mode: WCDMA PS state: Attached
    WCDMA band: WCDMA 2100
    WCDMA channel: 10732
    MM (CS) state: IDLE NORMAL SERVICE
    WCDMA L1 state:L1M_PCH_SLEEP LAC: 17d4 (6100)
    RRC state: CELL_PCH UTRAN Cell ID: 0035ec48 (3533896)
    RxM RSSI C0: -35 RxD RSSI C0: —
    RxM RSSI C1: — RxD RSSI C1: —
    OK

Thanks

You can create a new set of bands with the available band bitmasks.
For example 09 has only LTE bands available:

at!band=?
Index, Name
00, All bands
01, Europe 3G
02, North America 3G
06, Europe
07, North America
08, WCDMA ALL
09, LTE ALL

OK

You can create a new index, and name with only certain bands enabled.

To reveal the available bands/bitmasks issue at!band=? again in privileged mode.
at!entercnd=“A710”
at!band=?

download the AT guide for the full description.

thanks,
James

  • How can i know which band is set?
    If you unlock the module with ‘AT!ENTERCND=’ command, and issue AT!BAND=?, you can check the current band setting from bit mask of each technology, LTE, WCDMA, etc.

Also with module unlocked, issue AT!BAND= command, you can specify band combination, to make things simple, we just copy lte-all, but remove LTE band 66, name the band group as “lte-less”, issue a module reset to pick up the changes:
at!band=0a, “lte-less”, 0000000000000000, 00002100B20E39DF, 0000000000000000, 0000000000000000, 0000000000000000, 0000000000000000
OK
at!band=0a
OK
at!band?
Index, Name, GW Band Mask L Band Mask 1 TDS Band Mask L Band Mask 2 L Band Mask 3 L Band Mask 4
0A, lte-less 0000000000000000 00002100B20E39DF 0000000000000000 0000000000000000 0000000000000000 0000000000000000

OK
at!reset
OK
at!band?
Index, Name
0A, lte-less

OK

@Oedenburger and @dwen

Thank you so much for reply.

@dwen : As you have mentioned, i understand point.but please clear my doubt.

–> To remove LTE Band 66

lte_all - lte_band 66 = lte_less

how to decide value for lte_band 66??I can not find B66 in
AT!ENTERCND=“A710”
AT!BAND=?

My list of Bands

AT!BAND=?
Index, Name,                        GW Band Mask     L Band Mask      TDS Band Mask
00, All bands                     0002000007C00000 00000100130818DF 0000000000000000
01, Europe 3G                     0002000000400000 0000000000000000 0000000000000000
02, North America 3G              0000000004800000 0000000000000000 0000000000000000
06, Europe                        0002000000400000 00000000000800C5 0000000000000000
07, North America                 0000000004800000 000000000300185A 0000000000000000
08, WCDMA ALL                     0002000007C00000 0000000000000000 0000000000000000
09, LTE ALL                       0000000000000000 00000100130818DF 0000000000000000

                                                   0000010000000000 - B41    
                                                   0000000010000000 - B29    
                                                   0000000002000000 - B26    
                                                   0000000001000000 - B25    
                                                   0000000000080000 - B20    
                                                   0000000000001000 - B13    
                                                   0000000000000800 - B12    
                                                   0000000000000080 - B8     
                                                   0000000000000040 - B7     
                                                   0000000000000010 - B5     
                                                   0000000000000008 - B4     
                                                   0000000000000004 - B3     
                                                   0000000000000002 - B2     
                                                   0000000000000001 - B1     
                                  0002000000000000 - B8  (900)
                                  0000000004000000 - B5  (850)
                                  0000000002000000 - B4 (1700)
                                  0000000001000000 - B3 (1700)
                                  0000000000800000 - B2 (1900)
                                  0000000000400000 - B1 (2100)

Thanks

well, on FW 1.8.4.0 (GENERIC) B66 appears but with the wrong bitmask.
this is a bug:

at!entercnd=“A710”
OK
at!band=?
Index, Name, GW Band Mask L Band Mask 1 L Band Mask 2 TDS Band Mask L Band Mask 3 L Band Mask 4
00, All bands 100600000EC00000 00002100BA0E19DF 0000000000000002 0000000000000000 0000000000000000 00000000000000 00
01, Europe 3G 0002000000400000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00000000000000 00
02, North America 3G 0000000004800000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00000000000000 00
06, Europe 0002000000400000 00000000000801C5 0000000000000000 0000000000000000 0000000000000000 00000000000000 00
07, North America 0000000004800000 000001000200185A 0000000000000002 0000000000000000 0000000000000000 00000000000000 00
08, WCDMA ALL 100600000EC00000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00000000000000 00
09, LTE ALL 0000000000000000 00002100BA0E19DF 0000000000000002 0000000000000000 0000000000000000 00000000000000 00

                                                                0000000000000002 - B66
                                               0000200000000000 - B46
                                               0000010000000000 - B41
                                               0000000080000000 - B32
                                               0000000020000000 - B30
                                               0000000010000000 - B29
                                               0000000008000000 - B28
                                               0000000002000000 - B26
                                               0000000000080000 - B20
                                               0000000000040000 - B19
                                               0000000000020000 - B18
                                               0000000000001000 - B13
                                               0000000000000800 - B12
                                               0000000000000100 - B9
                                               0000000000000080 - B8
                                               0000000000000040 - B7
                                               0000000000000010 - B5
                                               0000000000000008 - B4
                                               0000000000000004 - B3
                                               0000000000000002 - B2
                                               0000000000000001 - B1
                              1000000000000000 - B19 (850)
                              0004000000000000 - B9 (1700)
                              0002000000000000 - B8  (900)
                              0000000008000000 - B6  (800)
                              0000000004000000 - B5  (850)
                              0000000002000000 - B4 (1700)
                              0000000000800000 - B2 (1900)
                              0000000000400000 - B1 (2100)

OK
at!priid?
PRI Part Number: 9907344
Revision: 001.004
Customer: Generic-M2M

Carrier PRI: 9999999_9907259_SWI9X50C_01.08.04.00_00_GENERIC_002.011_000
Carrier PRI: 9999999_9907257_SWI9X50C_01.05.04.00_00_VERIZON_001.038_002

OK
ati
Manufacturer: Sierra Wireless, Incorporated
Model: EM7565
Revision: SWI9X50C_01.08.04.00 dbb5d0 jenkins 2018/08/21 21:40:11
MEID: 35926008000022
ESN: 12801925343, 801D60DF
IMEI: 359260080000224
IMEI SV: 8
FSN: UF726185760404
+GCAP: +CGSM

OK

@Oedenburger

Ok . Thank you

@Oedenburger

  1. can you please tell me how can i access EM7565 from user space via simple c application?
  • Is there any API available for this?
  • Not via AT command, EM7565 is configured in QMI
  1. What is Gobi API? Is there any sample c code available to use this? Is it something for which i am asking in question 1?

Thanks

You can download our SDKlite from https://source.sierrawireless.com
these are all QMI based APIs, source examples are available

checkout API SLQSGetSysSelectionPref()
B66 was recently added to SDKlite, SDK API doc may not be updated but B66 is supported.

Thanks,
James

@Oedenburger

Thanks,
Would it work for Android Platform arm64 architecture?
We are Interfacing EM7565 to Host with Android 8.1.

Thanks

We have RIL too, but I can’t comment on it because I never used it:
https://source.sierrawireless.com/resources/airprime/software/android-ril-latest-software/