Skip to content

Instantly share code, notes, and snippets.

@justintoth
Created March 30, 2012 19:12
Show Gist options
  • Save justintoth/2254166 to your computer and use it in GitHub Desktop.
Save justintoth/2254166 to your computer and use it in GitHub Desktop.
Test Run
------ Test started: Assembly: SystemTest.dll ------
> Description: Send an icd 15 garmin job to offline vehicle then sign on and validate that job gets sent
> Sending sign off to vehicle server from vehicle 255.255.202.020
> Sending job to leapfrog services (mimicking MyNavtrak)
> Job was sent successfully to leapfrog services
> Job with id 20432 was saved to jobs table
> Validated that vehicle 255.255.202.020 has correct driver testdriver@navtrak.net with user id 52510 assigned to it
> Validated that peripheral with id 29 has correct driver testdriver@navtrak.net with user id 52510 assigned to it
> Offline job was not received yet
> Sending sign on to vehicle server from vehicle 255.255.202.020
Received message: Message Label: 16 (Acknowledged Event)<br/>Report Type: 30 (PeripheralPayload)<br/>Message ID: 98510<br/>Payload Attached: Yes<br/>Message Label: 0 (Garmin Sign On Response)<br/>Sign On Accepted: Yes<br/>
Received message: Message Label: 16 (Acknowledged Event)<br/>Report Type: 30 (PeripheralPayload)<br/>Message ID: 98510<br/>Payload Attached: Yes<br/>Message Label: 0 (Garmin Sign On Response)<br/>Sign On Accepted: Yes<br/>
> Job with message id 226 was saved to mmcommandqueue table
> Waiting for job with id 20432 to be sent to vehicle
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin A603 Stop Message<br/>Origination Time: 3/30/2012 7:11 PM<br/>Latitude: 457330715<br/>Longitude: -901329017<br/>Unique Id: 20432<br/>Text: 4:00 PM Casey Home 3/30/2012 3:12:10 PM <br>979 highpoint dr, Annapolis MD, ,<br>> Vehicle has received the job!
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin A603 Stop Message<br/>Origination Time: 3/30/2012 7:11 PM<br/>Latitude: 457330715<br/>Longitude: -901329017<br/>Unique Id: 20432<br/>Text: 4:00 PM Casey Home 3/30/2012 3:12:10 PM <br>979 highpoint dr, Annapolis MD, ,<br>> Sending job status ack with response id 200 and job id 20432 back to vehicle server
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/1/2012 4:52 PM<br/>Text Message: Test Driver: Hello World 2/1/2012 11:53:02 AM<br/>
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/1/2012 4:52 PM<br/>Text Message: Test Driver: Hello World 2/1/2012 11:53:02 AM<br/>
> Sending text message receipt ack with response id 201 and message id 7446 back to vehicle server
> Sending text message received status with response id 201 and message id 7446 back to vehicle server
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/1/2012 8:45 PM<br/>Text Message: Test Driver: Hello World 2/1/2012 3:45:51 PM<br/>
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/1/2012 8:45 PM<br/>Text Message: Test Driver: Hello World 2/1/2012 3:45:51 PM<br/>
> Sending text message receipt ack with response id 202 and message id 7448 back to vehicle server
> Sending text message received status with response id 202 and message id 7448 back to vehicle server
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/1/2012 8:47 PM<br/>Text Message: Test Driver: Hello World 2/1/2012 3:47:31 PM<br/>
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/1/2012 8:47 PM<br/>Text Message: Test Driver: Hello World 2/1/2012 3:47:31 PM<br/>
> Sending text message receipt ack with response id 203 and message id 7450 back to vehicle server
> Sending text message received status with response id 203 and message id 7450 back to vehicle server
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/1/2012 8:48 PM<br/>Text Message: Test Driver: Hello World 2/1/2012 3:48:41 PM<br/>
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/1/2012 8:48 PM<br/>Text Message: Test Driver: Hello World 2/1/2012 3:48:41 PM<br/>
> Sending text message receipt ack with response id 204 and message id 7452 back to vehicle server
> Sending text message received status with response id 204 and message id 7452 back to vehicle server
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/2/2012 3:37 PM<br/>Text Message: Test Driver: Hello World 2/2/2012 10:37:55 AM<br/>
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/2/2012 3:37 PM<br/>Text Message: Test Driver: Hello World 2/2/2012 10:37:55 AM<br/>
> Sending text message receipt ack with response id 205 and message id 7458 back to vehicle server
> Sending text message received status with response id 205 and message id 7458 back to vehicle server
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/2/2012 3:39 PM<br/>Text Message: Test Driver: Hello World 2/2/2012 10:39:35 AM<br/>
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/2/2012 3:39 PM<br/>Text Message: Test Driver: Hello World 2/2/2012 10:39:35 AM<br/>
> Sending text message receipt ack with response id 206 and message id 7460 back to vehicle server
> Sending text message received status with response id 206 and message id 7460 back to vehicle server
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/2/2012 3:40 PM<br/>Text Message: Test Driver: Hello World 2/2/2012 10:40:45 AM<br/>
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/2/2012 3:40 PM<br/>Text Message: Test Driver: Hello World 2/2/2012 10:40:45 AM<br/>
> Sending text message receipt ack with response id 207 and message id 7462 back to vehicle server
> Sending text message received status with response id 207 and message id 7462 back to vehicle server
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/7/2012 5:46 PM<br/>Text Message: Test Driver: Hello World 2/7/2012 12:46:19 PM<br/>
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/7/2012 5:46 PM<br/>Text Message: Test Driver: Hello World 2/7/2012 12:46:19 PM<br/>
> Sending text message receipt ack with response id 208 and message id 7488 back to vehicle server
> Sending text message received status with response id 208 and message id 7488 back to vehicle server
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/7/2012 5:47 PM<br/>Text Message: Test Driver: Hello World 2/7/2012 12:47:35 PM<br/>
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/7/2012 5:47 PM<br/>Text Message: Test Driver: Hello World 2/7/2012 12:47:35 PM<br/>
> Sending text message receipt ack with response id 209 and message id 7490 back to vehicle server
> Sending text message received status with response id 209 and message id 7490 back to vehicle server
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/7/2012 5:48 PM<br/>Text Message: Test Driver: Hello World 2/7/2012 12:48:19 PM<br/>
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/7/2012 5:48 PM<br/>Text Message: Test Driver: Hello World 2/7/2012 12:48:19 PM<br/>
> Sending text message receipt ack with response id 210 and message id 7492 back to vehicle server
> Sending text message received status with response id 210 and message id 7492 back to vehicle server
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/8/2012 3:25 PM<br/>Text Message: Test Driver: Hello World 2/8/2012 10:26:07 AM<br/>
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/8/2012 3:25 PM<br/>Text Message: Test Driver: Hello World 2/8/2012 10:26:07 AM<br/>
> Sending text message receipt ack with response id 211 and message id 7499 back to vehicle server
> Sending text message received status with response id 211 and message id 7499 back to vehicle server
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/8/2012 3:27 PM<br/>Text Message: Test Driver: Hello World 2/8/2012 10:27:48 AM<br/>
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/8/2012 3:27 PM<br/>Text Message: Test Driver: Hello World 2/8/2012 10:27:48 AM<br/>
> Sending text message receipt ack with response id 212 and message id 7501 back to vehicle server
> Sending text message received status with response id 212 and message id 7501 back to vehicle server
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/8/2012 3:28 PM<br/>Text Message: Test Driver: Hello World 2/8/2012 10:29:05 AM<br/>
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 2/8/2012 3:28 PM<br/>Text Message: Test Driver: Hello World 2/8/2012 10:29:05 AM<br/>
> Sending text message receipt ack with response id 213 and message id 7503 back to vehicle server
> Sending text message received status with response id 213 and message id 7503 back to vehicle server
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 3/7/2012 4:07 PM<br/>Text Message: Test Driver: Hello World 3/7/2012 11:07:59 AM<br/>
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 3/7/2012 4:07 PM<br/>Text Message: Test Driver: Hello World 3/7/2012 11:07:59 AM<br/>
> Sending text message receipt ack with response id 214 and message id 7884 back to vehicle server
> Sending text message received status with response id 214 and message id 7884 back to vehicle server
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 3/7/2012 4:08 PM<br/>Text Message: Test Driver: Hello World 3/7/2012 11:08:57 AM<br/>
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 3/7/2012 4:08 PM<br/>Text Message: Test Driver: Hello World 3/7/2012 11:08:57 AM<br/>
> Sending text message receipt ack with response id 215 and message id 7887 back to vehicle server
> Sending text message received status with response id 215 and message id 7887 back to vehicle server
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 3/7/2012 4:09 PM<br/>Text Message: Test Driver: Hello World 3/7/2012 11:09:00 AM<br/>
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 3/7/2012 4:09 PM<br/>Text Message: Test Driver: Hello World 3/7/2012 11:09:00 AM<br/>
> Sending text message receipt ack with response id 216 and message id 7888 back to vehicle server
> Sending text message received status with response id 216 and message id 7888 back to vehicle server
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 3/7/2012 4:10 PM<br/>Text Message: Test Driver: Hello World 3/7/2012 11:10:08 AM<br/>
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 3/7/2012 4:10 PM<br/>Text Message: Test Driver: Hello World 3/7/2012 11:10:08 AM<br/>
> Sending text message receipt ack with response id 217 and message id 7891 back to vehicle server
> Sending text message received status with response id 217 and message id 7891 back to vehicle server
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 3/7/2012 4:10 PM<br/>Text Message: Test Driver: Hello World 3/7/2012 11:10:11 AM<br/>
Received message: Peripheral Type: Garmin<br/>Message Type: Garmin Text Message<br/>Origination Time: 3/7/2012 4:10 PM<br/>Text Message: Test Driver: Hello World 3/7/2012 11:10:11 AM<br/>
> Sending text message receipt ack with response id 218 and message id 7892 back to vehicle server
> Sending text message received status with response id 218 and message id 7892 back to vehicle server
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
at System.Net.Sockets.Socket.EndReceiveFrom(IAsyncResult asyncResult, EndPoint& endPoint)
at Navtrak.Business.MessageTransport.UDP.UdpProtocol.ReadPacket(Packet p, Object state) in H:\Navtrak\Business\MessageTransport\Transports\UDP\Contracts\UdpProtocol.cs:line 104
1 passed, 0 failed, 0 skipped, took 59.27 seconds (NUnit 2.5.5).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment