2-level FSK data slicer linux?

Status
Not open for further replies.

graaf

Member
Joined
Dec 12, 2006
Messages
2
Reaction score
0
Hi,

Does anyone have a 2-level FSK data slicer ? just like the slicer.vxd driver does for the windows PDW application?

Or anyone have some hints on how to code one in gnu c++ ?
 

graaf

Member
Joined
Dec 12, 2006
Messages
2
Reaction score
0
So there's no software for linux to decode FLEX from RS-232 CTS pin signals?
 

crayon

RF Cartography Ninja
Database Admin
Joined
Oct 27, 2002
Messages
3,065
Reaction score
47
Location
36°33'01.2"N 98°56'40.1"W
I am not a programmer, but I would think that you could get some clues from the Trunker source code.

FLEX is a data pulse train just like the control channel of a trunked system. So if you know what to expect from the pulse train, you can code your program to parse it.
 

SCPD

QRT
Joined
Feb 24, 2001
Messages
0
Reaction score
112
Location
Virginia
graaf said:
Or anyone have some hints on how to code one in gnu c++ ?
Grab the kernel source and start slashing away.

You can either directly modify the existing serial port driver or write an add-on "filter" driver that co-exists with the standard serial driver. That might allow supporting a slicer attached to USB serial port.

Add a few ioctl extensions to the standard driver to (1) turn slicer mode on/off, (2) return the slicer's time sampling resoltion, and (3) read slicer "impulse" data from a FIFO queue. You may want to add a "flush" command to that list.

Userland application opens a serial port to issue these extended ioctl requests. If the request fails, your new driver wasn't installed. The application would have to poll - say 3 to 30 times a second. This gives timely performance, mild CPU loading, and keeps the driver's FIFO from overflowing.

-rick
 
Last edited:
Status
Not open for further replies.
Top