Hi, Chris:
I ran the modemtest.rb, and attached both /tmp/modemtest.log and output.
It seems to be some odd I/O delay... the OK responses are there,but they are
> so delayed that the script logs them as responses to secondary commands.
So, you mean the modem instance of IPModem.new in modemtest.rb has I/O
delay?
Hope these will help you figuring things out. Thank you, Chris.
Regards,
Juvenn Woo
device_desc loaded
bLength: 18
bDescriptorType: 1
bcdUSB: 272
bDeviceClass: 255
bDeviceSubClass: 255
bDeviceProtocol: 255
bMaxPacketSize0: 64
idVendor: 4042
idProduct: 1
bcdDevice: 260
iManufacturer: 1
iProduct: 2
iSerialNumber: 0
bNumConfigurations: 1
config_desc #0 loaded
bLength: 9
bDescriptorType: 2
wTotalLength: 46
bNumInterfaces: 1
bConfigurationValue: 1
iConfiguration: 0
bmAttributes: 128
MaxPower: 50
interface_desc #0 loaded
bLength: 9
bDescriptorType: 4
bInterfaceNumber: 0
bAlternateSetting: 0
bNumEndpoints: 4
bInterfaceClass: 255
bInterfaceSubClass: 255
bInterfaceProtocol: 255
iInterface: 0
endpoint_desc #0 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 129
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 129
pair.read = 129
pair.type = 2
endpoint_desc #1 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 2
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 2
pair.write = 2
pair.type = 2
pair added! (read: 129,write: 2,type: 2)
endpoint_desc #2 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 131
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 131
pair.read = 131
pair.type = 2
endpoint_desc #3 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 4
bmAttributes: 2
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 4
pair.write = 4
pair.type = 2
pair added! (read: 131,write: 4,type: 2)
interface added to map with bInterfaceNumber: 0
config added to map with bConfigurationValue: 1
usb_open(0x881c520)
usb_claim_interface(0x8810778,0)
usb_clear_halt(0x8810778,131)
usb_clear_halt(0x8810778,4)
BulkWrite to endpoint 4:
00000000: 00 00 10 00 01 ff 00 00 a8 18 da 8d 6c 02 00 00 ............l...
BulkRead (131):
00000000: 00 00 10 00 02 ff 00 00 a8 18 da 8d 6c 02 00 00 ............l...
BulkWrite to endpoint 4:
00000000: 00 00 0c 00 05 ff 00 00 14 00 01 00 ............
SocketZero::RawReceive: Endpoint 131
Received:
00000000: 00 00 20 00 06 ff 00 00 14 00 01 00 f2 9e b9 ca .. .............
00000010: 7a b1 f1 47 0d a6 a6 95 de 68 ca 2a fa 38 72 35 z..G.....h.*.8r5
BulkWrite to endpoint 4:
00000000: 00 00 0c 00 05 ff 00 01 08 00 04 00 ............
SocketZero::RawReceive: Endpoint 131
Received:
00000000: 00 00 14 00 06 ff 00 01 08 00 04 00 03 00 00 00 ................
00000010: da 9c ce 23 ...#
BulkWrite to endpoint 4:
00000000: 00 00 0c 00 05 ff 00 02 08 00 02 00 ............
SocketZero::RawReceive: Endpoint 131
Received:
00000000: 00 00 c0 01 06 ff 00 02 b4 01 02 00 05 00 04 00 ................
00000010: b4 01 00 00 01 00 01 05 03 09 00 94 52 49 4d 20 ............RIM
00000020: 37 31 30 30 20 53 65 72 69 65 73 20 43 6f 6c 6f 7100 Series Colo
00000030: 75 72 20 47 50 52 53 20 48 61 6e 64 68 65 6c 64 ur GPRS Handheld
00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000050: 00 00 00 00 00 00 00 00 00 00 00 00 65 70 72 79 ............epry
00000060: 68 6f 64 6b 6f 00 00 00 00 00 00 00 46 65 62 20 hodko.......Feb
00000070: 32 33 20 32 30 30 35 00 00 00 00 00 31 37 3a 34 23 2005.....17:4
00000080: 31 3a 35 33 00 00 00 00 00 00 00 00 00 01 0f 00 1:53............
00000090: 00 00 00 00 00 00 00 00 a0 00 00 00 0a 00 00 00 ................
000000a0: b4 00 00 00 40 00 00 00 01 00 00 00 01 0a 02 a1 ....@...........
000000b0: 03 03 04 13 07 06 ff ff ff ff ff ff ff ff ff ff ................
000000c0: 4a 56 be 92 07 00 01 00 03 0c 00 00 00 00 00 01 JV..............
000000d0: ff ff ff 01 03 0c 00 01 00 00 00 04 ff ff ff 04 ................
000000e0: 0a 08 00 00 00 00 ff 01 08 10 00 00 00 00 01 00 ................
000000f0: ff ff fa 01 00 00 02 00 02 08 00 00 00 00 01 01 ................
00000100: 0c 0c 00 00 00 00 fb 01 ff ff fc 01 0e 10 00 00 ................
00000110: 00 00 fd 01 ff ff fe 01 00 00 01 00 07 14 00 00 ................
00000120: 00 00 01 00 00 00 01 04 ff ff fe 04 00 00 02 00 ................
00000130: 05 14 00 00 00 20 00 00 00 20 ff 01 ff bf ff 01 ..... ... ......
00000140: 00 40 00 00 05 14 00 00 00 20 00 00 00 40 00 04 ....@....... ....@..
00000150: ff ff 00 04 00 40 00 00 05 14 00 00 00 20 00 00 .....@....... ..
00000160: 00 00 ff 04 ff bf ff 04 00 40 00 00 09 08 00 00 .........@......
00000170: fd 87 42 48 ff ff ff ff ff ff ff ff ff ff ff ff ..BH............
00000180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
00000190: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
000001a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
000001b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
BulkWrite to endpoint 4:
00000000: 00 00 0c 00 05 ff 00 03 04 00 05 00 ............
SocketZero::RawReceive: Endpoint 131
Received:
00000000: 00 00 0c 00 06 ff 00 03 00 00 00 00 ............
BulkWrite to endpoint 4:
00000000: 00 00 0c 00 05 ff 00 04 04 00 06 00 ............
SocketZero::RawReceive: Endpoint 131
Received:
00000000: 00 00 10 00 06 ff 00 04 04 00 06 00 00 01 00 00 ................
BulkWrite to endpoint 4:
00000000: 00 00 0c 00 05 ff 00 05 04 00 07 00 ............
SocketZero::RawReceive: Endpoint 131
Received:
00000000: 00 00 0c 00 06 ff 00 05 00 00 00 00 ............
BulkWrite to endpoint 4:
00000000: 00 00 0c 00 05 ff 00 06 04 00 08 00 ............
SocketZero::RawReceive: Endpoint 131
Received:
00000000: 00 00 0c 00 06 ff 00 06 00 00 00 00 ............
Using ReadEndpoint: 131
WriteEndpoint: 4
usb_release_interface(0x8810778,0)
usb_close(0x8810778)
Using Serial mode...
usb_open(0x881c520)
Controller: Using threaded socket router
usb_claim_interface(0x8810ad8,0)
usb_clear_halt(0x8810ad8,131)
usb_clear_halt(0x8810ad8,4)
BulkWrite to endpoint 4:
00000000: 00 00 18 00 07 ff 00 07 52 49 4d 20 44 65 73 6b ........RIM Desk
00000010: 74 6f 70 00 00 00 00 00 top.....
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 00 00 2c 00 08 08 00 07 52 49 4d 20 44 65 73 6b ..,.....RIM Desk
00000010: 74 6f 70 00 00 00 00 00 00 00 00 00 01 00 04 00 top.............
00000020: 02 00 04 00 03 01 00 00 04 01 00 00 ............
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 00 00 0c 00 13 08 01 00 00 00 00 00 ............
BulkWrite to endpoint 4:
00000000: 00 00 08 00 0a 08 01 08 ........
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 00 00 08 00 10 08 01 08 ........
BulkWrite to endpoint 4:
00000000: 08 01 0a 00 40 00 00 01 00 00 ....@.....
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 00 00 0c 00 13 08 01 00 01 00 00 00 ............
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 08 00 0a 00 40 00 00 02 00 04 ....@.....
BulkWrite to endpoint 4:
00000000: 08 01 07 00 41 00 00 ....A..
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 00 00 0c 00 13 08 01 00 02 00 00 00 ............
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 08 00 35 00 40 00 0c 01 53 65 72 76 69 63 65 20 ....@...service
00000010: 42 6f 6f 6b 0e 02 44 65 76 69 63 65 20 4f 70 74 Book..Device Opt
00000020: 69 6f 6e 73 0f 03 44 61 74 61 62 61 73 65 20 41 ions..Database A
00000030: 63 63 65 73 73 ccess
BulkWrite to endpoint 4:
00000000: 08 01 07 00 41 00 00 ....A..
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 00 00 0c 00 13 08 01 00 03 00 00 00 ............
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 08 00 07 00 41 00 00 ....A..
Command table:
Command: 0x1 'Service Book'
Command: 0x2 'Device Options'
Command: 0x3 'Database Access'
BulkWrite to endpoint 4:
00000000: 08 01 07 00 40 03 4c ....@.l
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 00 00 0c 00 13 08 01 00 04 00 00 00 ............
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 08 00 04 04 60 03 4c 42 00 00 00 01 00 00 00 00 ....`.LB........
00000010: 13 00 00 00 0e 00 43 6f 6e 74 65 6e 74 20 53 74 ......Content St
00000020: 6f 72 65 00 01 00 02 00 00 00 00 01 00 00 00 0d ore.............
00000030: 00 53 65 72 76 69 63 65 20 42 6f 6f 6b 00 02 00 .Service Book...
00000040: 00 00 00 00 00 21 00 00 00 12 00 54 72 75 73 74 .....!.....Trust
00000050: 65 64 20 4b 65 79 20 53 74 6f 72 65 00 03 00 02 ed Key Store....
00000060: 00 00 00 00 6c 00 00 00 09 00 41 75 74 6f 54 65 ....l.....AutoTe
00000070: 78 74 00 04 00 01 00 00 00 00 02 00 00 00 19 00 xt..............
00000080: 44 65 66 61 75 6c 74 20 53 65 72 76 69 63 65 20 Default Service
00000090: 53 65 6c 65 63 74 6f 72 00 05 00 00 00 00 00 00 Selector........
000000a0: 21 00 00 00 13 00 48 61 6e 64 68 65 6c 64 20 4b !.....Handheld K
000000b0: 65 79 20 53 74 6f 72 65 00 06 00 01 00 00 00 00 ey Store........
000000c0: 00 00 00 00 17 00 48 61 6e 64 68 65 6c 64 20 43 ......Handheld C
000000d0: 6f 6e 66 69 67 75 72 61 74 69 6f 6e 00 07 00 01 onfiguration....
000000e0: 00 00 00 00 c2 00 00 00 0f 00 48 61 6e 64 68 65 ..........Handhe
000000f0: 6c 64 20 41 67 65 6e 74 00 08 00 00 00 00 00 00 ld Agent........
00000100: 01 00 00 00 10 00 4b 65 79 53 74 6f 72 65 4d 61 ......KeyStoreMa
00000110: 6e 61 67 65 72 00 09 00 00 00 00 00 00 01 00 00 nager...........
00000120: 00 11 00 46 69 72 65 77 61 6c 6c 20 4f 70 74 69 ...Firewall Opti
00000130: 6f 6e 73 00 0a 00 00 00 00 00 00 01 00 00 00 07 ons.............
00000140: 00 50 6f 6c 69 63 79 00 0b 00 01 00 00 00 00 00 .Policy.........
00000150: 00 00 00 0f 00 44 65 76 69 63 65 20 4f 70 74 69 .....Device Opti
00000160: 6f 6e 73 00 0c 00 00 00 00 00 00 09 00 00 00 08 ons.............
00000170: 00 4f 70 74 69 6f 6e 73 00 0d 00 01 00 00 00 00 .Options........
00000180: 4a 00 00 00 18 00 41 70 70 6c 69 63 61 74 69 6f J.....Applicatio
00000190: 6e 20 50 65 72 6d 69 73 73 69 6f 6e 73 00 0e 00 n Permissions...
000001a0: 00 00 00 00 00 01 00 00 00 12 00 4b 65 79 20 53 ...........Key S
000001b0: 74 6f 72 65 20 4f 70 74 69 6f 6e 73 00 0f 00 01 tore Options....
000001c0: 00 00 00 00 05 00 00 00 0e 00 52 4d 53 20 44 61 ..........RMS Da
000001d0: 74 61 62 61 73 65 73 00 10 00 00 00 00 00 00 01 tabases.........
000001e0: 00 00 00 0c 00 54 4c 53 20 4f 70 74 69 6f 6e 73 .....TLS Options
000001f0: 00 11 00 00 00 00 00 00 00 00 00 00 14 00 43 65 ..............Ce
00000200: 72 74 69 66 69 63 61 74 65 20 4f 70 74 69 6f 6e rtificate Option
00000210: 73 00 12 00 00 00 00 00 00 01 00 00 00 13 00 53 s..............S
00000220: 6d 61 72 74 20 43 61 72 64 20 4f 70 74 69 6f 6e mart Card Option
00000230: 73 00 13 00 00 00 00 00 00 01 00 00 00 0c 00 52 s..............R
00000240: 61 6e 64 6f 6d 20 50 6f 6f 6c 00 14 00 00 00 00 andom Pool......
00000250: 00 00 01 00 00 00 0d 00 57 54 4c 53 20 4f 70 74 ........WTLS Opt
00000260: 69 6f 6e 73 00 15 00 00 00 00 00 00 01 00 00 00 ions............
00000270: 1d 00 49 6e 70 75 74 20 4d 65 74 68 6f 64 20 53 ..Input Method S
00000280: 77 69 74 63 68 65 72 20 4f 70 74 69 6f 6e 00 16 witcher Option..
00000290: 00 01 00 00 00 00 05 00 00 00 12 00 42 72 6f 77 ............Brow
000002a0: 73 65 72 20 42 6f 6f 6b 6d 61 72 6b 73 00 17 00 ser Bookmarks...
000002b0: 01 00 00 00 00 00 00 00 00 11 00 42 72 6f 77 73 ...........Brows
000002c0: 65 72 20 4d 65 73 73 61 67 65 73 00 18 00 01 00 er Messages.....
000002d0: 00 00 00 02 00 00 00 13 00 42 72 6f 77 73 65 72 .........Browser
000002e0: 20 44 61 74 61 20 43 61 63 68 65 00 19 00 01 00 Data Cache.....
000002f0: 00 00 00 00 00 00 00 11 00 42 72 6f 77 73 65 72 .........Browser
00000300: 20 43 68 61 6e 6e 65 6c 73 00 1a 00 01 00 00 00 Channels.......
00000310: 00 02 00 00 00 10 00 42 72 6f 77 73 65 72 20 46 .......Browser F
00000320: 6f 6c 64 65 72 73 00 1b 00 1a 00 00 00 00 01 00 olders..........
00000330: 00 00 10 00 42 72 6f 77 73 65 72 20 4f 70 74 69 ....Browser Opti
00000340: 6f 6e 73 00 1c 00 01 00 00 00 00 00 00 00 00 12 ons.............
00000350: 00 57 41 50 20 50 75 73 68 20 4d 65 73 73 61 67 .WAP Push Messag
00000360: 65 73 00 1d 00 01 00 00 00 00 07 00 00 00 0d 00 es..............
00000370: 42 72 6f 77 73 65 72 20 55 72 6c 73 00 1e 00 00 Browser Urls....
00000380: 00 00 00 00 01 00 00 00 10 00 4d 65 6d 6f 50 61 ..........MemoPa
00000390: 64 20 4f 70 74 69 6f 6e 73 00 1f 00 00 00 00 00 d Options.......
000003a0: 00 02 00 00 00 06 00 4d 65 6d 6f 73 00 20 00 00 .......Memos. ..
000003b0: 00 00 00 00 01 00 00 00 17 00 4d 65 6d 6f 72 79 ..........Memory
000003c0: 20 43 6c 65 61 6e 65 72 20 4f 70 74 69 6f 6e 73 Cleaner Options
000003d0: 00 21 00 01 00 00 00 00 01 00 00 00 11 00 50 72 .!............Pr
000003e0: 6f 66 69 6c 65 73 20 4f 70 74 69 6f 6e 73 00 22 ofiles Options."
000003f0: 00 02 00 00 00 00 06 00 00 00 09 00 50 72 6f 66 ............Prof
00000400: 69 6c 65 73 iles
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 08 00 65 03 40 03 00 23 00 00 00 00 00 00 02 00 ....@..#........
00000010: 00 00 0b 00 43 61 74 65 67 6f 72 69 65 73 00 24 ....Categories.$
00000020: 00 00 00 00 00 00 01 00 00 00 12 00 42 6c 75 65 ............Blue
00000030: 74 6f 6f 74 68 20 4f 70 74 69 6f 6e 73 00 25 00 tooth Options.%.
00000040: 01 00 00 00 00 01 00 00 00 15 00 4d 65 73 73 61 ...........Messa
00000050: 67 65 20 4c 69 73 74 20 4f 70 74 69 6f 6e 73 00 ge List Options.
00000060: 26 00 00 00 00 00 00 01 00 00 00 11 00 43 61 6c &............Cal
00000070: 65 6e 64 61 72 20 4f 70 74 69 6f 6e 73 00 27 00 endar Options.'.
00000080: 00 00 00 00 00 01 00 00 00 11 00 53 75 72 65 74 ...........Suret
00000090: 79 70 65 20 6f 70 74 69 6f 6e 73 00 28 00 00 00 ype options.(...
000000a0: 00 00 00 01 00 00 00 0e 00 41 6c 61 72 6d 20 4f .........Alarm O
000000b0: 70 74 69 6f 6e 73 00 29 00 00 00 00 00 00 90 01 ptions.)........
000000c0: 00 00 16 00 43 75 73 74 6f 6d 57 6f 72 64 73 43 ....CustomWordsC
000000d0: 6f 6c 6c 65 63 74 69 6f 6e 00 2a 00 03 00 00 00 ollection.*.....
000000e0: 00 00 00 00 00 09 00 4d 65 73 73 61 67 65 73 00 .......Messages.
000000f0: 2b 00 03 00 00 00 00 00 00 00 00 0d 00 50 49 4e +............PIN
00000100: 20 4d 65 73 73 61 67 65 73 00 2c 00 03 00 00 00 Messages.,.....
00000110: 00 00 00 00 00 15 00 53 61 76 65 64 20 45 6d 61 .......Saved Ema
00000120: 69 6c 20 4d 65 73 73 61 67 65 73 00 2d 00 00 00 il Messages.-...
00000130: 00 00 00 01 00 00 00 0a 00 46 6f 6c 64 65 72 20 .........Folder
00000140: 49 64 00 2e 00 00 00 00 00 00 00 00 00 00 08 00 Id..............
00000150: 46 6f 6c 64 65 72 73 00 2f 00 00 00 00 00 00 00 Folders./.......
00000160: 00 00 00 10 00 50 75 72 67 65 64 20 4d 65 73 73 .....Purged Mess
00000170: 61 67 65 73 00 30 00 00 00 00 00 00 01 00 00 00 ages.0..........
00000180: 10 00 52 65 63 69 70 69 65 6e 74 20 43 61 63 68 ..Recipient Cach
00000190: 65 00 31 00 00 00 00 00 00 01 00 00 00 0e 00 54 e.1............T
000001a0: 61 73 6b 73 20 4f 70 74 69 6f 6e 73 00 32 00 00 asks Options.2..
000001b0: 00 00 00 00 01 00 00 00 15 00 52 69 62 62 6f 6e ..........Ribbon
000001c0: 20 42 61 72 20 50 6f 73 69 74 69 6f 6e 73 00 33 Bar Positions.3
000001d0: 00 00 00 00 00 00 01 00 00 00 0e 00 50 68 6f 6e ............Phon
000001e0: 65 20 4f 70 74 69 6f 6e 73 00 34 00 02 00 00 00 e Options.4.....
000001f0: 00 03 00 00 00 06 00 54 61 73 6b 73 00 35 00 00 .......Tasks.5..
00000200: 00 00 00 00 01 00 00 00 15 00 41 64 64 72 65 73 ..........Addres
00000210: 73 20 42 6f 6f 6b 20 4f 70 74 69 6f 6e 73 00 36 s Book Options.6
00000220: 00 00 00 00 00 00 b0 00 00 00 0d 00 41 64 64 72 ............Addr
00000230: 65 73 73 20 42 6f 6f 6b 00 37 00 02 00 00 00 00 ess Book.7......
00000240: 05 00 00 00 09 00 53 65 61 72 63 68 65 73 00 38 ......Searches.8
00000250: 00 05 00 00 00 00 9e 00 00 00 09 00 43 61 6c 65 ............Cale
00000260: 6e 64 61 72 00 39 00 05 00 00 00 00 1c 00 00 00 ndar.9..........
00000270: 0d 00 53 4d 53 20 4d 65 73 73 61 67 65 73 00 3a ..SMS Messages.:
00000280: 00 00 00 00 00 00 3a 00 00 00 10 00 50 68 6f 6e ......:.....Phon
00000290: 65 20 43 61 6c 6c 20 4c 6f 67 73 00 3b 00 00 00 e Call Logs.;...
000002a0: 00 00 00 1e 00 00 00 0e 00 50 68 6f 6e 65 20 48 .........Phone H
000002b0: 6f 74 6c 69 73 74 00 3c 00 00 00 00 00 00 01 00 otlist.<........
000002c0: 00 00 13 00 41 74 74 61 63 68 6d 65 6e 74 20 4f ....Attachment O
000002d0: 70 74 69 6f 6e 73 00 3d 00 00 00 00 00 00 00 00 ptions.=........
000002e0: 00 00 10 00 41 74 74 61 63 68 6d 65 6e 74 20 44 ....Attachment D
000002f0: 61 74 61 00 3e 00 03 00 00 00 00 01 00 00 00 15 ata.>...........
00000300: 00 42 72 6f 77 73 65 72 20 50 75 73 68 20 4f 70 .Browser Push Op
00000310: 74 69 6f 6e 73 00 3f 00 01 00 00 00 00 01 00 00 tions.?.........
00000320: 00 0c 00 4d 4d 53 20 4f 70 74 69 6f 6e 73 00 40 ...MMS Options.@
00000330: 00 01 00 00 00 00 00 00 00 00 0d 00 4d 4d 53 20 ............MMS
00000340: 4d 65 73 73 61 67 65 73 00 41 00 00 00 00 00 00 Messages.A......
00000350: 01 00 00 00 0f 00 51 75 69 63 6b 20 43 6f 6e 74 ......Quick Cont
00000360: 61 63 74 73 00 acts.
BulkWrite to endpoint 4:
00000000: 08 01 07 00 41 00 00 ....A..
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 00 00 0c 00 13 08 01 00 05 00 00 00 ............
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 08 00 07 00 41 00 00 ....A..
BulkWrite to endpoint 4:
00000000: 00 00 18 00 07 ff 00 08 52 49 4d 5f 55 73 62 53 ........RIM_UsbS
00000010: 65 72 44 61 74 61 00 00 erData..
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 00 00 2c 00 08 01 00 08 52 49 4d 5f 55 73 62 53 ..,.....RIM_UsbS
00000010: 65 72 44 61 74 61 00 00 00 00 00 00 01 04 08 00 erData..........
00000020: 02 04 08 00 03 01 00 00 04 01 00 00 ............
BulkWrite to endpoint 4:
00000000: 00 00 08 00 0a 01 00 09 ........
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 00 00 08 00 10 01 00 09 ........
BulkWrite to endpoint 4:
00000000: 00 00 18 00 07 ff 00 09 52 49 4d 5f 55 73 62 53 ........RIM_UsbS
00000010: 65 72 43 74 72 6c 00 00 erCtrl..
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 00 00 0c 00 13 01 01 00 00 00 00 00 ............
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 00 00 2c 00 08 02 00 09 52 49 4d 5f 55 73 62 53 ..,.....RIM_UsbS
00000010: 65 72 43 74 72 6c 00 00 00 00 00 00 01 08 00 00 erCtrl..........
00000020: 02 08 00 00 03 01 00 00 04 01 00 00 ............
BulkWrite to endpoint 4:
00000000: 00 00 08 00 0a 02 00 0a ........
SocketZero::RawReceive: Endpoint 0
Received:
00000000: 00 00 08 00 10 02 00 0a ........
BulkWrite to endpoint 4:
00000000: 02 00 0a 00 01 01 c2 00 40 00 ........@.
CtrlCallback received:
00000000: 02 00 0c 00 00 00 00 00 00 00 00 00 ............
BulkWrite to endpoint 4:
00000000: 01 00 0a 00 2b 2b 2b 41 54 0d ....+++AT.
BulkWrite to endpoint 4:
00000000: 01 00 07 00 41 54 0d ....AT.
BulkWrite to endpoint 4:
00000000: 01 00 09 00 41 54 26 46 0d ....AT&F.
BulkWrite to endpoint 4:
00000000: 01 00 08 00 41 54 5a 0d ....ATZ.
BulkWrite to endpoint 4:
00000000: 01 00 0b 00 41 54 53 30 3d 30 0d ....ATS0=0.
BulkWrite to endpoint 4:
00000000: 01 00 09 00 41 54 45 30 0d ....ATE0.
BulkWrite to endpoint 4:
00000000: 01 00 0b 00 41 54 45 30 56 31 0d ....ATE0V1.
BulkWrite to endpoint 4:
00000000: 01 00 0f 00 41 54 45 30 56 31 51 30 58 34 0d ....ATE0V1Q0X4.
BulkWrite to endpoint 4:
00000000: 01 00 0d 00 41 54 2b 43 52 43 3d 31 0d ....AT+CRC=1.
BulkWrite to endpoint 4:
00000000: 01 00 11 00 41 54 2b 53 50 53 45 52 56 49 43 45 ....AT+SPSERVICE
00000010: 0d .
BulkWrite to endpoint 4:
00000000: 01 00 11 00 41 54 2b 53 50 53 45 52 56 49 43 45 ....AT+SPSERVICE
00000010: 0d .
BulkWrite to endpoint 4:
00000000: 01 00 0f 00 41 54 24 51 43 4d 49 50 50 3f 0d ....AT$QCMIPP?.
BulkWrite to endpoint 4:
00000000: 01 00 10 00 41 54 24 51 43 4d 49 50 50 3d 3f 0d ....AT$QCMIPP=?.
BulkWrite to endpoint 4:
00000000: 01 00 0b 00 41 54 2b 43 53 51 0d ....AT+CSQ.
BulkWrite to endpoint 4:
00000000: 01 00 0c 00 41 54 2b 43 53 51 3f 0d ....AT+CSQ?.
BulkWrite to endpoint 4:
00000000: 01 00 0d 00 41 54 2b 43 53 51 3d 3f 0d ....AT+CSQ=?.
BulkWrite to endpoint 4:
00000000: 01 00 0b 00 41 54 2b 43 53 53 0d ....AT+CSS.
BulkWrite to endpoint 4:
00000000: 01 00 0c 00 41 54 2b 43 53 53 3f 0d ....AT+CSS?.
BulkWrite to endpoint 4:
00000000: 01 00 0d 00 41 54 2b 43 53 53 3d 3f 0d ....AT+CSS=?.
BulkWrite to endpoint 4:
00000000: 01 00 09 00 41 54 49 31 0d ....ATI1.
BulkWrite to endpoint 4:
00000000: 01 00 09 00 41 54 49 32 0d ....ATI2.
BulkWrite to endpoint 4:
00000000: 01 00 09 00 41 54 49 33 0d ....ATI3.
BulkWrite to endpoint 4:
00000000: 01 00 0c 00 41 54 2b 43 41 44 3f 0d ....AT+CAD?.
BulkWrite to endpoint 4:
00000000: 01 00 0c 00 41 54 2b 43 49 4d 49 0d ....AT+CIMI.
BulkWrite to endpoint 4:
00000000: 01 00 0c 00 41 54 2b 43 47 4d 49 0d ....AT+CGMI.
BulkWrite to endpoint 4:
00000000: 01 00 0c 00 41 54 2b 43 47 4d 52 0d ....AT+CGMR.
BulkWrite to endpoint 4:
00000000: 01 00 10 00 41 54 2b 43 47 44 43 4f 4e 54 3f 0d ....AT+CGDCONT?.
BulkWrite to endpoint 4:
00000000: 01 00 1e 00 41 54 2b 43 47 44 43 4f 4e 54 3d 31 ....AT+CGDCONT=1
00000010: 2c 27 49 50 27 2c 27 63 6d 6e 65 74 27 0d ,'IP','cmnet'.
BulkWrite to endpoint 4:
00000000: 01 00 0b 00 41 54 2b 47 4d 49 0d ....AT+GMI.
BulkWrite to endpoint 4:
00000000: 01 00 0b 00 41 54 2b 47 4d 4d 0d ....AT+GMM.
BulkWrite to endpoint 4:
00000000: 01 00 0b 00 41 54 2b 47 4d 52 0d ....AT+GMR.
BulkWrite to endpoint 4:
00000000: 01 00 0b 00 41 54 2b 47 53 4e 0d ....AT+GSN.
BulkWrite to endpoint 4:
00000000: 01 00 0b 00 41 54 2b 43 42 43 0d ....AT+CBC.
BulkWrite to endpoint 4:
00000000: 01 00 0c 00 41 54 2b 43 42 49 50 0d ....AT+CBIP.
BulkWrite to endpoint 4:
00000000: 01 00 0d 00 41 54 2b 43 43 45 44 3f 0d ....AT+CCED?.
BulkWrite to endpoint 4:
00000000: 01 00 0b 00 41 54 2b 45 53 52 0d ....AT+ESR.
BulkWrite to endpoint 4:
00000000: 01 00 0e 00 41 54 2b 43 49 4e 44 3d 3f 0d ....AT+CIND=?.
BulkWrite to endpoint 4:
00000000: 01 00 10 00 41 54 2b 46 43 4c 41 53 53 3d 3f 0d ....AT+FCLASS=?.
BulkWrite to endpoint 4:
00000000: 01 00 0e 00 41 54 2b 47 43 41 50 3d 3f 0d ....AT+GCAP=?.
BulkWrite to endpoint 4:
00000000: 01 00 0e 00 41 54 24 53 50 4d 44 4e 3f 0d ....AT$SPMDN?.
BulkWrite to endpoint 4:
00000000: 01 00 13 00 41 54 24 51 43 4d 49 50 47 45 54 50 ....AT$QCMIPGETP
00000010: 3d 31 0d =1.
Testing the Blackberry Modem by sending AT commands through pppob.
Starting /usr/sbin/pppob -vP xxxxx -l /tmp/modemtest.log: --------------------------------------------
Command: +++AT
Result: --------------------------------------------
Command: AT
Result: --------------------------------------------
Command: AT&F
Result: --------------------------------------------
Command: ATZ
Result: --------------------------------------------
Command: ATS0=0
Result: --------------------------------------------
Command: ATE0
Result: --------------------------------------------
Command: ATE0V1
Result: --------------------------------------------
Command: ATE0V1Q0X4
Result: --------------------------------------------
Command: AT+CRC=1
Result: --------------------------------------------
Command: AT+SPSERVICE
Result: --------------------------------------------
Command: AT+SPSERVICE
Result: --------------------------------------------
Command: AT$QCMIPP?
Result: --------------------------------------------
Command: AT$QCMIPP=?
Result: --------------------------------------------
Command: AT+CSQ
Result: --------------------------------------------
Command: AT+CSQ?
Result: --------------------------------------------
Command: AT+CSQ=?
Result: --------------------------------------------
Command: AT+CSS
Result: --------------------------------------------
Command: AT+CSS?
Result: --------------------------------------------
Command: AT+CSS=?
Result: --------------------------------------------
Command: ATI1
Result: --------------------------------------------
Command: ATI2
Result: --------------------------------------------
Command: ATI3
Result: --------------------------------------------
Command: AT+CAD?
Result: --------------------------------------------
Command: AT+CIMI
Result: --------------------------------------------
Command: AT+CGMI
Result: --------------------------------------------
Command: AT+CGMR
Result: --------------------------------------------
Command: AT+CGDCONT?
Result: --------------------------------------------
Command: AT+CGDCONT=1,'IP','cmnet'
Result: --------------------------------------------
Command: AT+GMI
Result: --------------------------------------------
Command: AT+GMM
Result: --------------------------------------------
Command: AT+GMR
Result: --------------------------------------------
Command: AT+GSN
Result: --------------------------------------------
Command: AT+CBC
Result: --------------------------------------------
Command: AT+CBIP
Result: --------------------------------------------
Command: AT+CCED?
Result: --------------------------------------------
Command: AT+ESR
Result: --------------------------------------------
Command: AT+CIND=?
Result: --------------------------------------------
Command: AT+FCLASS=?
Result: --------------------------------------------
Command: AT+GCAP=?
Result: --------------------------------------------
Command: AT$SPMDN?
Result: --------------------------------------------
Command: AT$QCMIPGETP=1
Result: --------------------------------------------
Command: AT&V
Result: --------------------------------------------
Command: ATH
Result: --------------------------------------------
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel