Software routines to interface with a variety of cellular radios