smsprovider.DeviceSMSProvider module

This is a SMS Provide class that can send OTP values via SMS using a phone that is connected to the LinOTP server

This module makes use of the command line programm gnokii. It gets configured in a file .gnokiirc file like this:

[global] model = AT port = /dev/ttyACM1 connection = serial

class smsprovider.DeviceSMSProvider.DeviceSMSProvider[source]

Bases: smsprovider.SMSProvider.ISMSProvider

smsprovider.DeviceSMSProvider.main(phone, message)[source]