Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sending AT Command to a USB-Connected GPRS Modem in C#

Can anyone give me a good direction or guide on how I can access a GPRS modem that is connected to a Usb Port. Should I make a USB driver for my program to send AT command to the modem? or Is like a router where in i can access it using an IP address? thanks

like image 377
h3n Avatar asked Oct 21 '25 16:10

h3n


1 Answers

If its recognised by windows as a modem then the required drivers should automatically present it as a serial port, just like any other modem & you can communicate with it using its port name & System.IO.Ports.SerialPort. If you want to access the AT/GSM command set there are libraries like GSMComm.

like image 152
Alex K. Avatar answered Oct 24 '25 06:10

Alex K.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!