You are here: Tools > Genymotion Shell > Interacting with virtual devices > Baseband commands

Baseband commands

The phone baseband commands send raw data directly to the baseband. In this section, you will find all commands available in Genymotion Shell to directly interact with the baseband.

Commands below return results in your logcat.

  • gsm list
    Lists all incoming and outgoing phone calls and their state.
  • gsm call <phone_number>
    Simulates a new incoming call from a given phone number.
  • gsm busy <remote_number>
    Hangs up an outgoing call (performed from the integrated Dialer application) and reports the remote phone as busy.
  • gsm hold <remote_number>
    Simulates that an incoming or outgoing phone call (performed from the integrated Dialer application) is put on hold.
  • gsm accept <remote_number>
    Simulates that the outgoing phone call (performed from the integrated Dialer application) is answered.
  • gsm cancel <phone_number>
    Simulates that an incoming or outgoing phone call is hung up.
  • gsm data
    Modifies data connection state. Values can be:
    • unregistered or off: no network available;
    • home or on: on local network, non-roaming;
    • roaming: on roaming network;
    • searching: searching networks;
    • denied: emergency calls only.
  • gsm voice
    Modifies voice connection state. Values can be:
    • unregistered or off: no network available;
    • home or on: on local network, non-roaming;
    • roaming: on roaming network;
    • searching: searching networks;
    • denied: emergency calls only.
  • gsm status
    Displays the current status of the GSM emulation.
  • gsm signal <rssi> <ber> <rs_snr>
    Changes the reported strength and error rate on next (15s) update.
    • rssi: the value must range from 0 to 31. Returns 99 if the value is unknown.
    • ber: the value must range from 0% to 7%. Returns 99 if the value is unknown.
    • rs_snr: the value must range from -200 to 300.
  • cdma ssource <ssource>
    Sets the current CDMA subscription source. Values can be:
    • nv : the subscription is read from non-volatile RAM;
    • ruim: the subscription is read from RUIM.
  • cdma prl_version <version>
    Dumps the current PRL version.
  • sms send <phone_number> <message>
    Simulates an incoming text message from a given phone number.
  • sms pdu <hexstring>
    Simulates a new incoming text message defined in the PDU format.