Binary communication via USB


#1

Hello,

Looking for a way to communicate BINARY with FXT009 thorugh USB.

Is there a way to achieve this? Which software is suited for this?


#2

As far as the Open-AT application is concerned, the USB is just another UART.


#3

ok. but I want to check out the binary messages comin in and out of the pc. That way it’s easier for me to build a parser.

Aprecciate your time.


#4

What binary messages are you talking about? Surely what ever you send via the uart (as an unsigned byte) will be read by the modem? Or do you want to view the actual CDC packets?


#5

want to real the actual packets in a hexviewer…


#6

Why :question:

catb.org/~esr/faqs/smart-questions.html#goal


#7

#8

That’s a step - not a goal :exclamation:

catb.org/~esr/faqs/smart-questions.html#goal

What do you want to parse :question:

To what end :question:


#9

:smiley:

I want to parse the position message coming out of the FXT009. Clearcom protocol.

Goal:: Estabish a tracking website with opengts.


#10

Do you mean this: clearconnex.com/content/clearcomm :question:

If so, why aren’t you talking to ClearConnex for support in working with their protocol :question: :exclamation:


#11

So why not just use one of the protocols that openGTS already supports :question:

https://forum.sierrawireless.com/t/gps-message-format/5250/5


#12

Because I would have to program the embeddeed. Clearcomm is an embedded program.


#13

No, it’s a platform - not a program:

However, they do offer a ready-made embedded application built on that platform:

For support with that, you should obviously be talking to ClearConnex


#14

I have that “platform” on my unit.

So… I still need to do the parsing.


#15

So what has USB got to do with it?

ClearComm is about transferring the data over the air - isn’t it? :confused:


#16

yes, indeed.

I can communicate with th device via USB with ASCII.

I was trying to do it so via binary, matter of fact a tool like this is in development.

Doing this would help me understand better the protocol used by the modem, so it would be easier for me to build the parser.


#17

Again, as far as the Open-AT application is concerned, the USB port is just another UART.

As far as a UART is concerned, it’s all just bytes - “ASCII” or “binary” is irrelevant.

So, if there is anything that needs any specific handling, it is not in the modem!


#18

Modem can send messages coded in ASCII or Binary.

When it sends in ASCII, of course, bits are only sent, but they are still coded in ASCII. Coding in ASCII takes much more bits than sending the same info in binary.

Can you help in getting some tool to see the actual packets from and out to the modem?


#19

I still don’t see the point of this! :confused:

  • If the “binary” messages in question are from ClearCommm, then you should just be speaking to ClearConnex for support in handling them (similarly for any other 3rd party);

  • If the “binary” messages in question are from your own application, well, they are your own - you should know how they are formatted and what to do with them!


#20

I’ll let you know when I have this solved. Thanks!