mirror of
https://github.com/MengMengCode/VoCat.git
synced 2026-08-13 03:13:43 +08:00
- Add eSIM notification management in `esim_notifications.go` with functions to retrieve, list, and remove notifications. - Implement parsing logic for pending notifications and notification metadata. - Create tests for eSIM notification parsing and request handling in `esim_notifications_test.go`. - Introduce email message construction in `email_message.go` to securely format and send emails. - Add tests for email message encoding and validation in `email_message_test.go`. - Enhance the CardPolicyAPN component to manage APN configurations, including adding, editing, and deleting custom APNs. - Implement UI for displaying and managing APN settings with appropriate validation and user feedback.
24 lines
336 B
Go
24 lines
336 B
Go
//go:build !linux
|
|
|
|
package device
|
|
|
|
import (
|
|
"context"
|
|
"fmt"
|
|
|
|
"vocat/internal/modem"
|
|
)
|
|
|
|
func setQMINetwork(
|
|
context.Context,
|
|
modem.Candidate,
|
|
bool,
|
|
string,
|
|
string,
|
|
string,
|
|
string,
|
|
string,
|
|
) (NetworkResult, error) {
|
|
return NetworkResult{}, fmt.Errorf("%w: QMI control is supported only on Linux", ErrDataBackendUnavailable)
|
|
}
|