In my case I am using the Jungo driver and usb_diag sample console application with Blackberry phone. I can manually use USB commands here and can get the responses from the device. Some USB commands are as follows:
Code:
read BSN <-: 01 00 1C 00 80 FE 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 02 00 00
read freq_map <-: 01 00 1C 00 80 FE 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 07 00 00
write parts list<-: 01 00 18 02 38 FF 10 02 01 00 00 00 00 00 00 00 5D 5C 5B 5A 48 57 56 2D 31 31 36 39 35 2D 30 30 38 2D 31 00 4D 46 49 2D 31 34 36 37 38 2D 30 31 31 00 4D 45 50 2D 30 34 31 30 33 2D 30 30 32 00 43 46 47 2D 31 30 39 39 36 2D 30 31 39 00 4E 56 43 2D 31 36 35 30 34 2D 30 30 31 00 50 52 4C 2D 31 35 33 33 36 2D 30 30 32 00 53 46 49 2D 31 34 35 36 32 2D 30 32 34 00 41 50 50 2D 31 34 38 35 39 2D 30 31 39 00 50 52 44 2D 31 32 31 39 30 2D 30 30 32 00 41 53 59 2D 31 33 33 36 31 2D 30 30 31 00 56 53 4D 2D 31 31 36 39 37 2D 30 30 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0B 00 00 00 A0 00 00 00
clear MEP <-: 01 00 68 00 2E FF 60 00 9C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
read VSM:01 00 0c 00 3a ff 04 00 00 00 02 ff (segment1)
<- : 01 00 0c 00 3a ff 04 00 00 01 02 ff (segment2)
<- : 01 00 0c 00 3a ff 04 00 00 02 02 ff (segment3)
These commands need to be sent over the RIM Cal task channel -
<-: 00 00 18 00 07 ff 00 00 52 49 4d 20 43 61 6c 20 74 61 73 6b 00 00 00 00 ; request an open with RIM Cal task
->: read response
<-: 00 00 08 00 0a 01 00 0b ; complete handshake
->: read repsonse
<-: 01 00 0c 00 3a ff 04 00 00 00 02 ff ; request VSM file
->: read out VSM file
Bookmarks