PIC Firmware for Dual Mode and BT2 modules