Extract constants
Merge kjell.c and nexa.c into transmit.c, hopefully code can be shared