Code for the base station microprocessor