public void AtCommand_LargeNonStandardBaudRate_FrameTest() { var atCommandFrame = new AtQueuedCommandFrameContent(new BaudRateCommand(3000000)) { FrameId = 0x01 }; var expectedValue = new byte[] { 0x7e, 0x00, 0x08, 0x09, 0x01, 0x42, 0x44, 0x00, 0x2d, 0xc6, 0xc0, 0xbc }; Check(atCommandFrame, expectedValue); }
public void AtCommand_BaudRate_FrameTest() { var atCommandFrame = new AtQueuedCommandFrameContent(new BaudRateCommand(BaudRate.Baudrate115200)) { FrameId = 0x01 }; var expectedValue = new byte[] { 0x7e, 0x00, 0x05, 0x09, 0x01, 0x42, 0x44, 0x7, 0x68 }; Check(atCommandFrame, expectedValue); }