Lines Matching refs:fakemodem
47 def __init__(self, fakemodem): argument
48 self.fakemodem = fakemodem
50 self.fakemodem.SetResponse('\+CMGR=', '', '+CMS ERROR: 321')
51 self.fakemodem.SetResponse('\+CMGD=', '', '+CMS ERROR: 321')
59 self.fakemodem.RemoveResponse('\+CMGD=')
60 self.fakemodem.RemoveResponse('\+CMGR=')
61 self.fakemodem.SetResponse('\+CMGD=%d' % (index), '', '')
62 self.fakemodem.SetResponse('\+CMGR=%d' % (index),
64 self.fakemodem.SetResponse('\+CMGR=', '', '+CMS ERROR: 321')
65 self.fakemodem.SetResponse('\+CMGD=', '', '+CMS ERROR: 321')
74 self.fakemodem.SendUnsolicited('+CMTI: "ME",%d'%(index))
78 self.fakemodem.RemoveResponse('\+CMGR=%d' % (index))
79 self.fakemodem.RemoveResponse('\+CMGD=%d' % (index))
92 self.fakemodem.SetResponse('\+CMGL=4', response, '')