How to configure modem? [closed] - modem

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I wrote program in Visual C++ 2008 for communication trough RS-232 between computer and industrial machine. Program works fine when computer and machine are connected directly trough RS-232 cable.
Now I want to communicate through modems.
I have two 56K modems (TDW-33). First modem is connected through RS-232 cable to PC. Second modem is connected to the machine (trough RS-232) that receive commands from computer and answer on this commands. The modems are connected through telephone line.
How to configure two modems to work correctly? Do I need to change my C++ code?

You are really bringing back memories...
You control modems by writing character sequences to the RS-232 serial port. The exact commands depend on your particular modem. Almost all modems at least understand a common subset of commands known as the Hayes Commands. Wikipedia provides a good overview of the commands along with some history:
http://en.wikipedia.org/wiki/Hayes_command_set
For example, to dial the number 2345678 you would send the command
ATDT2345678
You would configure the receiving modem to answer an incoming call with the command
ATA
or you could configure the receiving modem to always answer after, say, 3 rings with
ATS0=3

Related

Can I turn WiFi on and off programmatically and change network? (Mac SDK) [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How can I turn WiFi on and off programmatically and change network (WiFi) in the Mac SDK?
CoreWLAN Framework seems to fit your needs. There is even a sample code named CoreWLANWirelessManager
The CoreWLANWirelessManager application utilizes the CoreWLAN
framework, which is the Objective-C public API for the Mac OS X IEEE
802.11 wireless interface. It gives developers an example of how to use the CoreWLAN API and exercises the functionality that the
framework provides.This functionality includes scanning for networks,
querying the wireless interface for static and dynamic parameters,
toggling interface power, changing channels, association, and
accessing the corresponding system configuration preferences for the
given interface.
You can change most WiFi settings using the networksetup(8) command (see the -setairportpower and -setairportnetwork options).
As for a programmatic API for adjusting WiFi settings, there is the CoreWLAN framework mentioned by Antoine.

Networking in objective c Client And Server in Iphone App [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
i would like make a simple application on iphone had a client and server
the app should let me send update from client to server and send update from server to client
the Question is... what should i read about to learn the major and important thing to start doing this application.
Check out gamekit. Connecting to the game network will allow your apps to talk to each other sending small data packets back and forth.
http://imagineric.ericd.net/2011/04/20/ios-gamekit-iphone-to-iphone-communication/
or you can use a TCP socket setup and communicate that way.
http://www.raywenderlich.com/3932/how-to-create-a-socket-based-iphone-app-and-server
If the ios devices are on the same network it can work from one to the other.
If they are on other networks you will need a central server.

Use TV remote over HDMI as a control GUI [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to connect a linux PC with HDMI output to my (Samsung) TV.
This allows to show a screen on the TV.
How can I use the TV's remote as an input device, sent over HDMI to control the PC?
Or in other words, can I make a simple user interface which is shown on the TV and is controlled with the remote control?
I mainly imagine using the 4 arrow-buttons and the OK to navigate and choose stuff.
Any links to doc or libraries (Java preferred) are welcome.
The protocol used to send the remote control signals is called CEC. In order to make use of it you will need hardware which supports it, and have drivers for that hardware.
Lacking any more specific information about the hardware you are using, I suggest starting at this page about CEC support on the Raspberry Pi

Send sms from vb.net application using cell phone [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am developing a software that generates bills for customers in VB.Net. Am using vs2010 on windows 7 and connecting my PC to Android cell phone. I want to send sms to all customers from my application through the cell phone. The cell phone of course has SIM card to call and send sms. I need the code that does this job.
You need to send AT commands to the modem port on which your cell phone is connected, if your PC is XP or Vista. If it's Win 7 or 8, you can use the Windows Mobile Broadband API to send an SMS. If you're developing in the-interface-formerly-known-as-Metro, there is another API equivalent to MB API.
Have you considered integrating with Twilio? They even have some handy .NET libraries making this dropdead easy.

Regarding GPS. Is there a way to locate a phone number using gps? Without installing any apps to their cell phone [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
My question is regarding GPS.
Is there a way to locate a phone number using gps? Without installing any apps to their cell phone.
I am interested in both Windows Mobile and iPhone. But please do include generic replies also.
No, you can't.
You see, GPS and phones are two completely disparate technologies - nevermind that there are some multi-function devices (e.g. smartphones) which contain both. There is no generic way to connect one to the other that would work on all devices without custom software (i.e. without installing your app).
That said, you could create an app which checks the GPS location of the device it's on, checks the device's phone number, and reports this pair back to you over some kind of network connection (GPRS, 3G, WiFi, carrier pigeon, what-have-you). You'd need to update the GPS position from time to time as it changes, whereas the phone number tends to stay the same.
You'll need to use some kind of data channel as GPS is an unidirectional broadcast protocol (it's receive-only, there is no way to send a message through it).
Note also that you'll need the user's permission and cooperation in installing the app - firstly, the app won't install by itself as most devices have safeguards preventing automatic installs; and second, installing software without permission could land you in legal trouble (unauthorized access and all that).