public static void setLteFrequency(LTEBand band) { /** * possible lte frequency band commands: * * AT^SYSCFGEX="03",3FFFFFFF,3,1,80000,, # 800 * AT^SYSCFGEX="03",3FFFFFFF,3,1,4,, # 1800 * AT^SYSCFGEX="03",3FFFFFFF,3,1,40,, # 2600 * AT^SYSCFGEX="03",3FFFFFFF,3,1,80044,, # 800 | 1800 | 2600 * AT^SYSCFGEX="03",3FFFFFFF,3,1,80004,, # 800 | 1800 * AT^SYSCFGEX="03",3FFFFFFF,3,1,80040,, # 800 | 2600 * AT^SYSCFGEX="03",3FFFFFFF,3,1,44,, # 1800 | 2600 */ string Command = string.Concat("AT^SYSCFGEX=\"03\",3FFFFFFF,3,1,", (int)band, ",,\r"); sendCommandToLteModul(Command); }
public async Task <CommandResult> SetNBIOTBandAsync(LTEBand nbiotband) { var command = $"AT+QCFG=\"band\",{GSMBand.GSM_NO_CHANGE:X},{LTEBand.LTE_NO_CHANGE:X},{nbiotband:X}"; return(await SendATCommandAsync(command).ConfigureAwait(false)); }