SetServingCell

From Opale Wiki
Jump to navigation Jump to search

This command locks specified GSM port to the specified Cell, for the specified Access Technology. The serving cell is defined by the channel (ARFCN on 2G, UARCFN on 3G and EARCFN on 4G), and optionally by cell identity (BSIC on 2G, PSC on 3G and PCID on 4G). This command is available only on the Sierra Wireless and Quectel GSM adapters.

COMMAND

Command Line Arguments Returns
SetServingCell PortIndex,Access Technology, Channel, [Cell Identifier] Error Code in case of error.

OUTPUT

None

EXAMPLE

~ # GetNeighborCellsInfoVerbose 0
rat,mcc,mnc,lac,cellid,uarfcn,psc,rscp,ecno,srxqual,srxlev,set,rank
"3G",-,-,-,-,10638,67,-81,22,14,33,1,-22
rat,mcc,mnc,lac,cellid,uarfcn,psc,rscp,ecno,srxqual,srxlev,set,rank
"3G",-,-,-,-,10638,0,-81,23,13,33,1,-23
rat,mcc,mnc,lac,cellid,uarfcn,psc,rscp,ecno,srxqual,srxlev,set,rank
"3G",-,-,-,-,10638,379,-90,41,-5,24,1,-32768
rat,mcc,mnc,lac,cellid,uarfcn,psc,rscp,ecno,srxqual,srxlev,set,rank
"3G",-,-,-,-,10638,367,-91,42,-6,23,1,-32768

~ # GetServingCellInfoVerbose 0
state,rat,mcc,mnc,lac,cellid,uarfcn,psc,rssi,rscp,ecno,srxqual,srxlev,drx,PhysCh,SF,slot,dchrscp,dchecno,voicecodec,ComMod
"NOCONN","3G",220,03,53FD,C7E2B,10638,200,-81,-82,21,15,32,64,-,-,-,-,-,"-",-

~ # SetServingCell 0 3G 10663 67
OK

~ # GetServingCellInfoVerbose 0
state,rat,mcc,mnc,lac,cellid,uarfcn,psc,rssi,rscp,ecno,srxqual,srxlev,drx,PhysCh,SF,slot,dchrscp,dchecno,voicecodec,ComMod
"NOCONN","3G",220,03,53FD,C9217,10663,67,-77,-77,12,24,37,64,-,-,-,-,-,"-",-

~# SetServingCell 1 106
COMMAND NOT SUPPORTED