Deframing data within SDLC frames for data logging

Page 1 of 1 [ 4 posts ] 

emuman100
Veteran
Veteran

User avatar

Joined: 3 Feb 2011
Age: 39
Gender: Male
Posts: 555

07 Apr 2011, 1:59 am

If anyone is familiar with IBM's ancient SDLC standard, I am doing a research project to log data contained within SDLC frames. It's somewhat of a custom SDLC implementation. There is only one data channel, the data is FSK modulated, and fed into an FSK demodulator with a TTL level output in NRZI line coding, and fed into a microcontroller with an SDLC transceiver. The microcontroller handles the SDLC address, deframes the data and sends it off to the parallel bus. It's how data is fed into the Weatherstar 4000, and my goal is to eventually figure out a way to feed data into the Weatherstar 4000 without the satellite feed. What I want to do now is to figure out how to log the raw, deframed data so I can analyze it and figure out it's format.

Would anyone be of help? I know there are drivers for old SDLC ISA cards in the Linux kernel. Would anyone be able to offer any insight on this?

Thanks.


_________________
EOF


nostromo
Veteran
Veteran

User avatar

Joined: 12 Mar 2010
Age: 56
Gender: Male
Posts: 3,320
Location: At Festively Plump

07 Apr 2011, 6:18 am

So do you need to get the data to a PC to capture and be able to analyse?
SDLC is the precursor to HDLC apparently and HDLC sounds very much the same with the NRZI encoding. HDLC is the framing used on Cisco router serial interfaces. You could get a Cisco router (the old ones like 2500s with Serial interfaces are cheap as chips 2nd hand), configure the Serial interface with IP, and use that as transport to get the data to a PC via the routers Ethernet interface maybe?



emuman100
Veteran
Veteran

User avatar

Joined: 3 Feb 2011
Age: 39
Gender: Male
Posts: 555

07 Apr 2011, 1:27 pm

I was thinking exactly that. I've seen SDLC configurations for Cisco hardware, and even have the async/sync WIC. The configs talk about transporting SDLC over IP, so I might be able to do that and log the data with netcat or something. I just wonder if it'll work as we described. :P


_________________
EOF


nostromo
Veteran
Veteran

User avatar

Joined: 12 Mar 2010
Age: 56
Gender: Male
Posts: 3,320
Location: At Festively Plump

07 Apr 2011, 8:05 pm

Yeah grab it all using TCPdump or something. Then you have to extract the data, for that you will have to write an application of some sort.
I'm missing something I'm sure..the data will have to have a UDP/TCP header, for which the SDLC contents needs to be interpreted as 'something' on the router, i.e. an application layer belonging to the data..thats where my knowledge runs out a bit, how you'd do that
Interesting project :)