serial communication Setup

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • merco

    serial communication Setup

    Hi.
    I'd like to communicate via COM port to a nokia phone (i've a USB
    cable and suitable driver).
    With commercial program i see that port as COM4 and, using a port
    monitor, i see that the software ancd the phone communicate via fbus
    protocol.
    So i've tried to connect at 115200,8,N,1 and send the start frame (a
    sequence of "U") but the phone doesn't answer: i think there are some
    setting of the port that i can't handle in vb.net...
    How could i set up the port as follow ? Thank you

    0 0.11308281 opm.exe IRP_MJ_CREATE Serial2 SUCCESS Options: Open
    1 0.00000363 opm.exe IOCTL_SERIAL_GE T_BAUD_RATE Serial2 SUCCESS
    2 0.00000196 opm.exe IOCTL_SERIAL_GE T_LINE_CONTROL Serial2 SUCCESS
    3 0.00000196 opm.exe IOCTL_SERIAL_GE T_CHARS Serial2 SUCCESS
    4 0.00000084 opm.exe IOCTL_SERIAL_GE T_HANDFLOW Serial2 SUCCESS
    5 0.00390664 opm.exe IOCTL_SERIAL_SE T_BAUD_RATE Serial2 SUCCESS Rate:
    115200
    6 0.00298278 opm.exe IOCTL_SERIAL_CL R_RTS Serial2 SUCCESS
    7 0.00298446 opm.exe IOCTL_SERIAL_CL R_DTR Serial2 SUCCESS
    8 0.00398403 opm.exe IOCTL_SERIAL_SE T_LINE_CONTROL Serial2 SUCCESS
    StopBits: 1 Parity: NONE WordLength: 8
    9 0.00298446 opm.exe IOCTL_SERIAL_SE T_CHAR Serial2 SUCCESS EOF:0 ERR:0
    BRK:0 EVT:0 XON:0 XOFF:0
    10 0.01998243 opm.exe IOCTL_SERIAL_SE T_HANDFLOW Serial2 SUCCESS Shake:
    0 Replace:0 XonLimit:512 XoffLimit:1
    11 0.00000196 opm.exe IOCTL_SERIAL_GE T_TIMEOUTS Serial2 SUCCESS
    12 0.00000112 opm.exe IOCTL_SERIAL_SE T_TIMEOUTS Serial2 SUCCESS RI:-1
    RM:0 RC:0 WM:1000 WC:1500
    13 0.00000112 opm.exe IOCTL_SERIAL_SE T_QUEUE_SIZE Serial2 SUCCESS
    InSize: 2048 OutSize: 2048
    14 0.00293305 opm.exe IOCTL_SERIAL_CL R_DTR Serial2 SUCCESS
    15 0.00298166 opm.exe IOCTL_SERIAL_CL R_RTS Serial2 SUCCESS
    16 0.00000335 opm.exe IOCTL_SERIAL_SE T_WAIT_MASK Serial2 SUCCESS Mask:
    RXCHAR RXFLAG TXEMPTY CTS DSR RLSD BRK ERR RING
    17 0.00000223 opm.exe IOCTL_SERIAL_PU RGE Serial2 SUCCESS Purge:
    RXABORT RXCLEAR
    18 0.00000140 opm.exe IOCTL_SERIAL_PU RGE Serial2 SUCCESS Purge:
    TXABORT TXCLEAR
    19 0.08773685 opm.exe IOCTL_SERIAL_WA IT_ON_MASK Serial2 SUCCESS
    20 0.00268023 opm.exe IOCTL_SERIAL_SE T_DTR Serial2 SUCCESS
    21 0.00298446 opm.exe IOCTL_SERIAL_CL R_RTS Serial2 SUCCESS
    22 0.00697575 opm.exe IRP_MJ_WRITE Serial2 SUCCESS Length 201: 55 55
    55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
    23 0.00193991 opm.exe IRP_MJ_WRITE Serial2 SUCCESS Length 16: 1E 00 10
    D1 00 07 00 01 00 03 00 01 60 00 6E D5
Working...