Merge lt013g and lt01wifi common codes