@panda try lte.send_at_cmd('AT!="setDbgPerm full"') before using the command lte.send_at_cmd('AT!="RRC:showDetectedCell"')