Error » Hardware Error!! » Mobiles and PDA Error! » GPRS usage

Post New Thread Reply
  GPRS usage
LinkBack Thread Tools Display Modes
Old 29-Mar-2007, 12:59 AM   #1 (permalink)
Fixed Error!
 
Iphone's Avatar

Posts: 4,202
Join Date: Mar 2007
Rep Power: 6 Iphone is on a distinguished road

IM:
Default GPRS usage

I work with devices that comunicate to each other using RS-232 port. I would like to get them comunicate using GPRS. I have been reading some info about it, but I am not clear if GPRS could be use to get two devices talking to each other just like a modem connection will do.

I will appreciate any info you can give me.
Iphone is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
   


   
Old 29-Mar-2007, 12:59 AM   #2 (permalink)
Fixed Error!
 
Iphone's Avatar

Posts: 4,202
Join Date: Mar 2007
Rep Power: 6 Iphone is on a distinguished road

IM:
Default Re: GPRS usage

GPRS is very different from having 2 devices connected directly. The main reason is that the data has to effectively go via the internet, which makes it a much more complex task than simply sending data knowing it will end up on the other side of a wire.

Essentially making 2 devices talk via GPRS is equivalent to making 2 PC's connected via dial-up modem to talk to each other via the internet. If you are not running an OS such as Windows you will need to do all the things Windows does for you yourself like controlling the modem and negotiating the link parameters as well as handle PPP, LCP, UDP, IP, IPCP and some other protocol requests.

Firstly each device will be assigned an IP address from a pool at your service provider and you will need to find out what address has been assigned to the other unit before you can communicate, which may be difficult enough on its own to be a problem.

It is possible to set up a private network (your own APN) with your GSM service provider (at a monthly cost of a couple of hundred $/month(my operator charges around $500/month). With this you can set it up to assign the same IP to the same device every time.

Next you may encounter some problems with routing beteen the devices if firewalls are present.

Lastly your devices will be communicating using IP which means you may need to implement an IP stack. Fortunately many GSM modems are available with which you can avoid implementing an IP stack through providing AT commands which can send IP data to a destination address.

A much easier solution (but more expensive on most networks) is to make a GSM data call. If you have the number for the other unit you can call it up by sending ATD### (with ### the GSM DATA MSISDN number of the other device) and you will have an RS232 connection at up to 9600 baud which directly connect the devices. Since you pay per second for data calls and per byte for GPRS it may work out to be more expensive than GPRS depending on the way you want to use this.
Iphone is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Post New Thread Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -8. The time now is 04:26 AM.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

DMCA Policy

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227