| Versions |
 |
|
| Author |
Topic  |
|
|
bryanrank
USA
2 Posts |
Posted - 20 juil. 2011 : 14:39:44
|
Hi Everyone,
I'm trying to get data from my meitrack mt88 via tcp over the t-mobile network. I'm using very simple java code that just opens a socket and waits for an accept on the port, then forks and reads from the socket. I'd be happy to provide code if that would help. The device is set to report to my server every three minutes.
What I'm seeing is that the device makes the connection, and then sends no data. Eventually the connection times out. I have tried sending \r\n first, I have tried sending strings that are typically server initiated. The last thing I tried was to wrap a guard statement around the read on the socket that uses the ready() method on the InputStream created from the socket.
My next recourse I'm thinking is to try the SIM in another unit like a phone and see if it even works, but I'm pretty certain it will as I took it yesterday to the GSM operator's store and they checked the balance and access on the sim and said everything was fine...
Anyone have any experience with the Meitrack MT88?
Thanks,
Bryan |
|
|
Ads
|
|
|
brm763
Guatemala
2 Posts |
Posted - 03 nov. 2011 : 16:27:38
|
I use Meitrack MT88 maybe should be try using a UDP Protocolo for get data from GPS. Check the configuration of device or setup using the usb cable and port com with software.
|
Edited by - brm763 on 03 nov. 2011 16:28:06 |
 |
|
|
bryanrank
USA
2 Posts |
Posted - 03 nov. 2011 : 18:32:21
|
Thanks for the response. The problem actually turned out to be that the SIM in the device was disabled by T-mobile. I found it really really strange that a disabled device could still initiate a connection to a server socket on the internet, that the server could accept the connection, but then no data could be transmitted.
I guess there must be some appliance in their core that allows connections, but chokes data. Anyhow, the problem was resolved by moving to a prepayed SIM card. After that everything worked fine. |
 |
|
| |
Topic  |
|
|
|
| This page was generated in 0,32 seconds. |
 |
|