Class Bearer

Hierarchy

  • Bearer

Methods

  • Returns

    Parameters

    • bus: DBusConnection
    • objectPath: string

    Returns Promise<Bearer>

  • Returns void

  • Requests activation of a packet data connection with the network using this bearer's properties. Upon successful activation, the modem can send and receive packet data and, depending on the addressing capability of the modem, a connection manager may need to start PPP, perform DHCP, or assign the IP address returned by the modem to the data interface. Upon successful return, the "Ip4Config" and/or "Ip6Config" properties become valid and may contain IP configuration information for the data interface associated with this bearer.

    Returns

    Promise for call completion

    Returns Promise<void>

  • Disconnect and deactivate this packet data connection. Any ongoing data session will be terminated and IP addresses become invalid when this method is called.

    Returns

    Promise for call completion

    Returns Promise<void>

  • Returns void

Properties

_bearerInterface: DBusInterface<AnyInterfaceMethod>
_bus: DBusConnection
_properties: BearerProperties
_propertiesInterface: DBusInterface<AnyInterfaceMethod>
_propertiesSubject: BehaviorSubject<BearerProperties>
properties$: Observable<BearerProperties>

Continuously updated Modem properties

Constructors

  • Parameters

    • bus: DBusConnection
    • bearerInterface: DBusInterface<AnyInterfaceMethod>
    • propertiesInterface: DBusInterface<AnyInterfaceMethod>
    • initialProperties: any

    Returns Bearer

Accessors

Generated using TypeDoc