I am sending an AT command to the gsm modem via the serial port.
At the end of the AT command, I need to end the command with Ctrl + z
How to do this in a serial port?
try it
(char)26
details about ascii char -z
Send the ASCII character 0x1A.
Look at the ASCII code table
Use this command
port.Write(txt_msgbox.Text + char.ConvertFromUtf32(26));
Source: https://habr.com/ru/post/1368932/More articles:Rails: will_paginate "Show Next 10" Button? - ruby-on-railsRESTful Application Protection - httpConverting DOCTYPE to HTML - htmlGlobal variables in System.pas in applications using DLLs - global-variablesWhat does wp_verify_nonce () mean? - wordpressNuget Moq 4.0.10827 and InternalsVisibleTo (again) - moqSending ctrl + C via serial port in C #? - c #Split text into sentences - pythonFacebook permissions popup - facebookHow to serialize self-defined objects in Groovy - groovyAll Articles