Click here to Skip to main content
15,900,378 members
Home / Discussions / C#
   

C#

 
AnswerRe: DS file open Pin
Pete O'Hanlon6-Aug-12 3:38
mvePete O'Hanlon6-Aug-12 3:38 
QuestionCommunicate with USB dongle Pin
vikki02866-Aug-12 1:38
vikki02866-Aug-12 1:38 
GeneralRe: Communicate with USB dongle Pin
Wes Aday6-Aug-12 1:51
professionalWes Aday6-Aug-12 1:51 
GeneralRe: Communicate with USB dongle Pin
vikki02866-Aug-12 2:16
vikki02866-Aug-12 2:16 
GeneralRe: Communicate with USB dongle Pin
Wes Aday6-Aug-12 2:27
professionalWes Aday6-Aug-12 2:27 
GeneralRe: Communicate with USB dongle Pin
vikki02866-Aug-12 2:44
vikki02866-Aug-12 2:44 
GeneralRe: Communicate with USB dongle Pin
Wes Aday6-Aug-12 3:02
professionalWes Aday6-Aug-12 3:02 
GeneralRe: Communicate with USB dongle Pin
vikki02866-Aug-12 22:08
vikki02866-Aug-12 22:08 
It looks like a standard Comm port: 115.2KB, N,8,1.

We have a specific wireless protocol which defines the communication packets across the port.
In general, however, the communication is ASCII encoded HEX ending in a CR/LF pair.

The general packet structure is:
Packet Structure (TBD bytes maximum)
ll pp dd dd dd ss ss ss nn bb bb ....... bb ir
|| || || || || || || || || || || ||
|| || || || || || || || || || || xx-- Transaction ID (i:Packet ID [0h-Fh]; r:Retry Count [0h-Fh])
|| || || || || || || || || || || (00 for PC-->USB part of PC-->USB-->Remote communication;
|| || || || || || || || || || || (not sent/used for PC-->USB or USB-->PC Only communication)
|| || || || || || || || || xx-xx-.......-xx----- Data Bytes [0-TBDd]
|| || || || || || || || xx---------------------- Command/Data (see Commands below)
|| || || || || xx xx xx------------------------- Source ID [000001h-FFFFFFh]
|| || xx xx xx---------------------------------- Destination ID [000001h-FFFFFFh, 000000h:broadcast]
|| xx------------------------------------------- Project ID [00h-FFh]
xx---------------------------------------------- Packet Length-1 [08h-FFh]

And, as an example, the packet received for an event burst is:

9A{*B0 or *B1} - Report ‘Event’ Burst
CD 00 dd dd dd ss ss ss 9A tt tt tt tt xx(0) yy(0) zz(0)..xx(63) yy(63) zz(63) ir
- tt tt tt tt: event time stamp (see Firmware Notes)
- xx(n) yy(n) zz(n): 2’s comp. 8-bit acceleration array data
- Response {9A} is sent each time an 'Event' is detected.
how can i do get and send data to com port using Serial port class.

Thanks
GeneralRe: Communicate with USB dongle Pin
Richard Andrew x647-Aug-12 5:24
professionalRichard Andrew x647-Aug-12 5:24 
GeneralRe: Communicate with USB dongle Pin
vikki02868-Aug-12 3:25
vikki02868-Aug-12 3:25 
QuestionHow to connect with USB- Printer through C# .net without windows spooler? Pin
Vikas borkar6-Aug-12 1:13
Vikas borkar6-Aug-12 1:13 
AnswerRe: How to connect with USB- Printer through C# .net without windows spooler? Pin
Wes Aday6-Aug-12 6:48
professionalWes Aday6-Aug-12 6:48 
GeneralRe: How to connect with USB- Printer through C# .net without windows spooler? Pin
Vikas borkar6-Aug-12 19:25
Vikas borkar6-Aug-12 19:25 
QuestionC# and .Net, trying to select a list of classes from name of node in xml file Pin
Perry Nordmann5-Aug-12 4:52
Perry Nordmann5-Aug-12 4:52 
AnswerRe: C# and .Net, trying to select a list of classes from name of node in xml file Pin
Ed Hill _5_5-Aug-12 22:16
Ed Hill _5_5-Aug-12 22:16 
GeneralRe: C# and .Net, trying to select a list of classes from name of node in xml file Pin
Perry Nordmann6-Aug-12 3:27
Perry Nordmann6-Aug-12 3:27 
GeneralC# Developer looking for a new project Pin
Liam Cairns Kelly4-Aug-12 15:39
Liam Cairns Kelly4-Aug-12 15:39 
AnswerRe: C# Developer looking for a new project Pin
Wes Aday4-Aug-12 15:43
professionalWes Aday4-Aug-12 15:43 
GeneralRe: C# Developer looking for a new project Pin
Liam Cairns Kelly4-Aug-12 15:45
Liam Cairns Kelly4-Aug-12 15:45 
GeneralRe: C# Developer looking for a new project Pin
Wes Aday4-Aug-12 15:50
professionalWes Aday4-Aug-12 15:50 
GeneralRe: C# Developer looking for a new project Pin
Liam Cairns Kelly4-Aug-12 15:51
Liam Cairns Kelly4-Aug-12 15:51 
GeneralRe: C# Developer looking for a new project Pin
Wes Aday4-Aug-12 15:53
professionalWes Aday4-Aug-12 15:53 
GeneralRe: C# Developer looking for a new project Pin
Mycroft Holmes4-Aug-12 17:47
professionalMycroft Holmes4-Aug-12 17:47 
GeneralRe: C# Developer looking for a new project Pin
Liam Cairns Kelly5-Aug-12 5:13
Liam Cairns Kelly5-Aug-12 5:13 
GeneralRe: C# Developer looking for a new project Pin
jschell5-Aug-12 7:56
jschell5-Aug-12 7:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.