number = Number to call (str)
Answer Incoming Call
Incoming Call Number
Returns the number of the current caller if ringing. Returns the number of the last caller if not ringing.
Returns True if ringing.
The sim800.getstatus() also returns 2 when ringing and machine.Pin(machine.Pin.GPIO_SIM_RI, machine.Pin.IN).value() will show the start of the hardware ringer indicator pin. You an also user a callback (documented below) with the call name of "RING".
Plays DTMF tones on an active call.
number = The number of the tone to play. This can a string of numbers that are played in sequence. Using "," will pause for one second. (int or str)
List SMS Messages
List available SMS messages.
- 0 = received unread messages (default)
- 1 = Received read messages
- 2 = Stored unsent messages
- 3 = Stored sent messages
- 4 = All message