public static IoSampleResponse ParseIsSample(AtResponse response) { if (response.Command != (ushort)Common.AtCmd.ForceSample) { throw new ArgumentException("This is only applicable to the 'IS' AT command"); } var input = new InputStream(response.Value); var sample = new IoSampleResponse(); //sample.ParseIoSample(input); return(sample); }
public static IoSampleResponse ParseIsSample(AtResponse response) { if (response.Command != (ushort) Common.AtCmd.ForceSample) throw new ArgumentException("This is only applicable to the 'IS' AT command"); var input = new InputStream(response.Value); var sample = new IoSampleResponse(); //sample.ParseIoSample(input); return sample; }