The badge makes use of uGFX for providing drawing functions on the LCD. Most of this functionality is available through the micropython interface, and you may wish to browse the uGFX documentation for more details.
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.
stat = 0 for received unread messages (default), 1 for Received read messages,2 for Stored unsent messages, 3 for Stored sent messages, 4 for All message