Skip to content

Network Configuration API

API Overview

FunctionDescription
Qth.setApn()Configures APN information.

API Description

Qth.setApn

This function configures the APN information of network data calls.

Prototype

python
Qth.setApn(apn, username, password)

Parameter

  • Input Parameter

    • apn: Access point name.
    • username: APN username, optional.
    • password: APN password, optional.
  • Output Parameter

    • None
  • Return Value

    • None

Example

python
Qth.setApn("cmiot", "", "")