A
A
Akmal Kadirov2014-01-17 14:18:28
Programming
Akmal Kadirov, 2014-01-17 14:18:28

How to send USSD request (via 3g modem) using C programming?

How to send USSD request (via 3g modem) using C programming?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2014-01-17
@kadirov

1st moment - the modem must create a virtual COM port for control through AT commands
2nd - under what OS is the application written?
If you need under Linux - then just open the device file corresponding to the 3G modem - i.e. COM port. And then write an AT command with a USSD request to this file.
If under Windows, use WinAPI or a third-party library to access the COM port and then write AT commands to it and parse responses.

R
Rowdy Ro, 2014-01-17
@rowdyro

Open modem documentation.
Open the port on which the modem is sitting.
Write there an AT command to initialize the modem and send a USSD request.
???
PROFIT
Since you ask such questions, it is better for you to google ready-made solutions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question