Working with a GSM Modem - modem

I was keen on knowing how can I receive calls on a web server using a GSM Modem?
I'm a newbie to it, wanted to explore the space.
Would be glad if someone can help me on this, probably with some tutorial links etc.
Thanks

You'd have to connect the modem to your server and then have some sort of background program/process that reads/writes to it. You create a serial connection and the read/write AT commands to it.

Related

Setting up a GPS TCP server

I am working on a project where we are using a GSM modem with built in GPS system. The modem has setting to send GPS signal NMEA format to a remote TCP server.
Can someone consult on where should i start when creating this TCP server. If i have multiple units, how do i differentiate between them when receiving the data and etc.
If there are any online links that could help me get started, that would work as well.
P.S. The router i am using is from Multitech MTR-H5-B08.
I started with this video, may be it might help someone else who comes across this question:
https://www.youtube.com/watch?v=ve2LX1tOwIM&t=0s&list=FLjZg3rkhYw7-bIGejAqzlbA&index=2

How to capture packets and put them into a database in real time?

I have a project on DNS reflection prevention and I need somehow to capture incoming and outgoing packets in real time... I am working on Linux Debian 8.0... can you please tell me how to do that... I looked in many websites and watched many tutorials but they were confusing and didn't help at all.. could you please help me
Thank you
You can use Wireshark for listening for network traffic and capturing the packets. A command-line version - T-shark can output structured XML, which you can store into the database using the programming language / tools of your choice.

Objective-C RTMP connection

I am looking to make an app that would send data to an RTMP server, however I am looking to write my own code to connect but I can not seem to find the right class to use. NSURLConnection I don't think is capable of connecting to a rtmp server. Mainly I am asking if anyone could link me either some example code or some reading or point me in the right class to use to make a rtmp connection.
Thanks!
Charlie
There is at least two ways to connect to an RTMP server in Objective-C :
You can try the rtmp-wrapper, it uses the library librtmp
Or you can try to build an AIR extension that implements a connection to the RTMP Server and communicate with it, here is explanation on how to do this : http://www.adobe.com/devnet/air/articles/transferring-data-ane-ios-pt1.html,
I hope it will help. Tell us if you succeed connecting to the RTMP server, I think your feedback could be interesting!

Is there any way to programmatically tell a USB modem to reset?

I have a USB modem on a server which occasionally needs to be turned off/on again to receive SIM updates and I can't reboot the server as we rely on it to serve various web pages.
Is there any way to do this programmatically? An AT command? Power down the USB port?
I don't always have access to the server so unplugging it and plugging it back in isn't an option unfortunately.
We're coding in C++/CLI if that makes a difference.
It would be great if someone knew of a generic solution to this, but for the Option Globetrotter 452 I'm using, the manufacturer reports that issuing an AT_ORESET command will instruct the device to reboot ...just in case anyone else wants to do this.

Connecting to server using bonjour in Objective-C

I am relatively new to iphone development. I have looked through the documentation and cannot really find an answer to this problem.
I have a server which I have created and know the ip address and the port it is using. I am now trying to connect to this using an iphone application I am creating. Through the documentation there are many example where it connects via an ID (such as the witap example) however there is none where it directly accesses a previously created server.
Would anyone be able to point me in the direction of an example that uses this, give me some information or even inform me of another way around doing this? It would be much appreciated. Thanks.
Bonjour is a technology to detect servers in your local network. If you already know it, as you seem to because you know the IP address, you can connect to it using the usual techniques.
It depends on your server, is it a HTTP server? There are some Cocoa classes that might help you.
If it's a custom made server you might consider CFStream or raw sockets.