setAPN

suspend fun setAPN(): Response<Boolean>

Configures the Access Point Name (APN) settings on the device.

This method sets the appropriate APN based on the current build mode (QA, DEV, or PROD) defined in the Bullitt configuration. The operation involves turning off the modem, setting the APN, and turning the modem back on, with automatic retries on failure.

Return

A Response containing a Boolean indicating success of the operation, or an error when the configuration fails or when no valid configuration is available.


suspend fun setAPN(setAPNRequest: SetAPNRequest): Response<Boolean>