feat(modem): method to configure APN/authentication

This commit is contained in:
2025-06-11 12:11:17 +02:00
parent 359a0018c5
commit 3224e1ef0f
7 changed files with 133 additions and 0 deletions

View File

@ -0,0 +1,12 @@
package model
// type : null, pap_chap, pap, chap
// if type selected, username and password are mandatory
type ModemAuthentication struct {
Authentication struct {
Apn string `json:"apn"`
Type string `json:"type,omitempty"`
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
} `json:"authentication"`
}