modem commands in terminal in phone line - modem

When companies have phone lines and a pager system. Could someone theoretically communicate through these phone lines with these commands over a terminal with these commands in a raspberry pi or computer from telephone jack to telephone jack?
Could someone per se control where a voice comes out of a specific speaker on a pager system? like point to point instead of broadcast with these commands?
https://support.usr.com/support/3cxm756/3cxm756-ug/atcoms.htm

Related

Tapi code for analog phone line

I have Bell phone line which is analog not digital. I am able to send faxes through windows fax and scan software provided by Microsoft but my tapi application, which works fine with digital lines (like magic Jack), is not working with my Bell phone line. I wonder is there any special code or trick that can work for dialing phone? My point is when Windows Fax and scan software is working on same line than why my application is not working. I have tried couple of application of third party tool but no success.
Any help would appreciate.
Thanks
You can add T prefix before you dialing number to set mode into Tone and send analog not digital signal.
TCountry(AreaCode)SubscriberNumber

Why can a SD card be read/write by both the phone and a computer

Some phones carry a SD card and can read/write files on it. If the phone is connected to a computer and placed in mass storage mode, the computer can also read/write files on the SD card as if it's a USB drive. So my question is, how can the computer access a peripheral that belongs to another device (the phone)?
To my understanding, there should be a physical switch in the phone that routes the data buses of the SD card to either the bus of the phone or the micro-USB port? Then there's also a driver that controls this switch? If so, where's such driver (in Android OS or iOS for examples)? If not, what's the mechanism to share this SD card?
Note that I'm not talking about MTP, but the mass storage class. I know that the phone and computer may not be able to access the SD card simultaneously - probably one at a time, depending on the status of USB connection. I'm interested in the mechanism to control/switch the access/connection to the SD card from two hosts.
Comments: The similar mechanism may be found in a mp3 player: when it's plugged into the computer, we can add/remove musics. The mp3 player cannot play musics until it's unplugged from the computer - at least mine is like this. Android OS should do the same but I can't find the related source codes.
To my understanding, there should be a physical switch
No, the switch is in the software.
what's the mechanism to share this SD card?
A piece of the software does the umount of the sdcard and connects
it as a USB Mass storage device to the PC - like a card reader would do.
The Linux kernel itself contains a driver that works as a USB mass storage device, but I don't know whether Android actually uses this.

Getting the Mac addresses of all devices in a building

Me and my team we are working on a project for University. Our goal is to prevent people that are outside of a specific range to enter our wireless network. Lets say u are sitting in Starbucks and next to that there is another coffee shop. If u are a starbucks customer you will be able to enter the network and surf the internet. If you are sitting at the coffee shop next to starbucks though u will still see the wireless on your device but you won't be able to connect, or if you connect you will get kicked automatically.
My question is . Is there a way to get all the mac addresses of all devices in a specific area (Sturbucks building) and then only allow those to enter the wireless network. If thats possible through a mapping of a network or a device we don't care. We just want a way. And also is there a way to determine where exactly is a device,its location ? With or without a GPS.
The answer of all your questions is: NO.
You cannot get the mac adresses of foreign networks (sturbucks) without hacking the routers
You cannot get the location of a device in general. If the device is connected to your router, hotspot, Wlan, etc, you then could know that. In generall you cannot get the device GPS position, only if the user of the device allows that.
The other location possibility is the cell tower the user is logged in, that does not help you because you will not get the info in wich GSM cell the user is connected, without hacking the GSM network, and probably sturbucks and the uni has the same cell tower.
Remain wlan locationing: Here the same, the device might know it but you not.
Update:
There is one solution I remember now. Remeber the waste bins installed in London on public roads, they track when user pass by. They behave like WLAN devices, and track the mac adress. You could create such a system, maybe you cannot buy that. And place it near the entrance of the shop. Users which pass by have their mac adress recorded, you send that mac to your special wlan router and add that macs dynamically. Another possibility would be the use of bluetopot but this has to be enabled on the phone:
Look at the system how Apple's low energy blue tooth "location beacons" work: It is build for indoor positioning. you can triangulate the signal strength of a device. But probably the effort is beyond your project budget. (And still the useres woul dhave to enable blue tooth)

How can I send/receive data to/from my samsung s3 to a (medical) device via an arduino board (wifi + usb)?

I am new to using arduino board. I will like to connect my samsung s3 to a medical device via a an ardunio board.
The first idea is to send/recieve data to/from the phone to the medica device via usb on an arduino board and the medical device recieve/send data from/to my phone via usb on the arduino board.
The second idea is send/recieve data to/from the phone to the medica device via WIFI on an arduino board via usb and the medical device recieve/send data from/to my phone via usb on the ardunio board.
Thanks for your proposed solutions.
All problems, including this one are best approached in increments. In this particular case, I assume you already have an arduino with a WiFi shield and a Samsung s3.
You don't mention the medical device or how it is programmed. But first, concentrate on how to get the Samsung to talk to your PC via wireless. In doing this you will learn a lot about how to write code for the Samsung and how to write code for a PC/Wireless connection. There are probably already sample applications that do this.
Next, identify how the arduino board will connected to the medical device and make the same connection from the arduino to your PC. Get this connection to work. I know there are many examples of how to do this.
Next, get the Samsung to talk just to the arduino board which maybe turns on an LED. Since you already learned how to code the Samsung to do wireless in the first step, then this step might be easy.
Next, connect the arduino to the PC and have the Arduino pass data back and forth between the PC and the Samsung.
After you have this "stack" of: Samsung <==> Arduino <==> PC working then consider what it would take to replace the PC with a medical device so that you have:
Samsung <==> Arduino <==> Medical Device
You can design your own series of incremental steps based on your more specific knowledge of the devices that you have. But the idea is the same, each step is something easy to do and easy to debug. But taking all the steps results in a complex system!
No one is able to do what you want on the first try (unless they have already developed the same or similar system). But everyone is capable of learning new material, if they are persistent.
Please keep me informed as you work on this, it is an interesting project!!

Differentiate multiple USB devices having same Vendor and Product ID

I am writing an application which allows a Linux machine to connect to internet over usb modem. I have multiple usb modems having same vendor and product ID; I cannot differentiate them using lsusb which gives vendor and product ID. Also giving IDs according to their usb ports does not solve my problem either, because I want to be able to use usb modems in whichever port I want.
Is there a unique identifier which I can use to differentiate my usb devices?
Using serial numbers I differetiated my usb modems. Here in this site basic commands are shown.
http://wiki.openmoko.org/wiki/Hardware:AT_Commands#Section_5.2C_General_Commands
I used "ATE+CGSN" command which gives serial number of the device.