gprs_start()
This section is currently being reworked. We apologize for the inconvenience. If you need immediate assistance, please contact Tibbo Support.
Description: |
API procedure, starts the PPP login/configuration process. |
Syntax: |
function gprs_start(byref at_dt_command_param as string, byref apn as string) as en_gprs_status_codes |
Returns: |
One of these en_pppoe_status_codes: PPP_STATUS_OK, PPP_STATUS_INSUFFICIENT_BUFFER_SPACE |
See Also: |
Parameter |
Description |
at_dt_command_param |
This depends on the mobile network. Here is an actual line to be used with Taiwan Cellular: *99#. |
apn |
Again, the APN depends on the network. In here we have to use INTERNET. |
Details
GPRS library operation is persistent — once you start it with this call, the library will "persist" to keep the PPP link established. No matter how many times this fails, the library will keep trying. If the successfully established PPP link fails, the library will attempt to reestablish the link.