Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. reading data sent through GPRS in C#

reading data sent through GPRS in C#

Scheduled Pinned Locked Moved C#
tutorialcsharpdatabasesysadmin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 3055467
    wrote on last edited by
    #1

    Hi, I am working on a project involving communication using GPRS. We have a GPRS enabled modem that sends data to server at regular intervals. All I have to do is develop a service that reads the data sent from GPRS enabled modem and save into database. I request any one who has experience in these type of projects to guide me in three things. 1.How to establish connection between Modem and Server 2.How to read data received by the server 3.How to close the connection Thanks in advance

    J 1 Reply Last reply
    0
    • U User 3055467

      Hi, I am working on a project involving communication using GPRS. We have a GPRS enabled modem that sends data to server at regular intervals. All I have to do is develop a service that reads the data sent from GPRS enabled modem and save into database. I request any one who has experience in these type of projects to guide me in three things. 1.How to establish connection between Modem and Server 2.How to read data received by the server 3.How to close the connection Thanks in advance

      J Offline
      J Offline
      Jimmanuel
      wrote on last edited by
      #2

      Your question is way too broad for a specific answer; in general terms the answer is this: 1) figure out how the device is sending data (read the documentation) 2) code your service accordingly I'm doing the same thing right now - here's what I encountered. Our devices are configurable; we chose UDP sockets as our preferred communication method so we programmed the devices with the required commands and then used this[^] in a service on the server to read incoming data. The other option was to use TCP/IP in which case we would've used this[^] and this[^] on the server to receive data from the devices. All of those classes have methods for opening and closing connections (if applicable) and reading data. We ruled out comms via SMS on a cost basis. Hope that helps. Jim

      :Badger:

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups