setSPP abstract method

Future<AtResponse> setSPP(
  1. String otp
)

Sets a Semi Permanent Passcode(SPP) in the secondary server key-store. A Semi Permanent Passcode (SPP) is 6 character alpha-numeric for submitting an enrollment request. Only the connections which have access to manage namespace are allowed to set SPP

Returns "ok" when SPP is set successfully.

Throws InvalidPinException when an invalid SPP is provided.

Throws AtClientException when an enrollmentId does not exist.

Throws AtClientException when an enrollmentId does not have access to "__manage" namespace.

AtResponse sppResponse = await atClient.setSPP(ABC123);

Implementation

Future<AtResponse> setSPP(String otp);