fix: send euicc memory reset notification #189

Merged
PeterCxy merged 1 commit from septs/OpenEUICC:send-memory-reset-notification into master 2025-04-14 03:36:39 +02:00
Contributor
$ ./lpac profile list | jq
{
  "type": "lpa",
  "payload": {
    "code": 0,
    "message": "success",
    "data": [
      {
        "iccid": "8944476500001320600",
        "isdpAid": "a0000005591010ffffffff8900001100",
        "profileState": "enabled",
        "profileNickname": null,
        "serviceProviderName": "BetterRoaming",
        "profileName": "BetterRoaming",
        "iconType": null,
        "icon": null,
        "profileClass": "operational"
      },
      {
        "iccid": "89861234567891232113",
        "isdpAid": "a0000005591010ffffffff8900001200",
        "profileState": "disabled",
        "profileNickname": null,
        "serviceProviderName": "rspmanager_tester2",
        "profileName": "20230625_yysx",
        "iconType": null,
        "icon": null,
        "profileClass": "operational"
      }
    ]
  }
}
$ ./lpac notification list | jq
{
  "type": "lpa",
  "payload": {
    "code": 0,
    "message": "success",
    "data": [
      {
        "seqNumber": 48,
        "profileManagementOperation": "install",
        "notificationAddress": "smdp.io",
        "iccid": "8944476500001320600"
      },
      {
        "seqNumber": 49,
        "profileManagementOperation": "enable",
        "notificationAddress": "rsp.truphone.com",
        "iccid": "8944476500001320600"
      },
      {
        "seqNumber": 50,
        "profileManagementOperation": "install",
        "notificationAddress": "secsmsminiapp.eastcompeace.com",
        "iccid": "89861234567891232113"
      },
      {
        "seqNumber": 51,
        "profileManagementOperation": "install",
        "notificationAddress": "secsmsminiapp.eastcompeace.com",
        "iccid": "89861234567891232113"
      }
    ]
  }
}
$ ./lpac chip purge yes
{"type":"lpa","payload":{"code":0,"message":"success","data":null}}
$ ./lpac notification list | jq
{
  "type": "lpa",
  "payload": {
    "code": 0,
    "message": "success",
    "data": [
      {
        "seqNumber": 48,
        "profileManagementOperation": "install",
        "notificationAddress": "smdp.io",
        "iccid": "8944476500001320600"
      },
      {
        "seqNumber": 49,
        "profileManagementOperation": "enable",
        "notificationAddress": "rsp.truphone.com",
        "iccid": "8944476500001320600"
      },
      {
        "seqNumber": 50,
        "profileManagementOperation": "install",
        "notificationAddress": "secsmsminiapp.eastcompeace.com",
        "iccid": "89861234567891232113"
      },
      {
        "seqNumber": 51,
        "profileManagementOperation": "install",
        "notificationAddress": "secsmsminiapp.eastcompeace.com",
        "iccid": "89861234567891232113"
      },
      {
        "seqNumber": 52,
        "profileManagementOperation": "delete",
        "notificationAddress": "rsp.truphone.com",
        "iccid": "8944476500001320600"
      },
      {
        "seqNumber": 53,
        "profileManagementOperation": "delete",
        "notificationAddress": "secsmsminiapp.eastcompeace.com",
        "iccid": "89861234567891232113"
      }
    ]
  }
}
```console $ ./lpac profile list | jq { "type": "lpa", "payload": { "code": 0, "message": "success", "data": [ { "iccid": "8944476500001320600", "isdpAid": "a0000005591010ffffffff8900001100", "profileState": "enabled", "profileNickname": null, "serviceProviderName": "BetterRoaming", "profileName": "BetterRoaming", "iconType": null, "icon": null, "profileClass": "operational" }, { "iccid": "89861234567891232113", "isdpAid": "a0000005591010ffffffff8900001200", "profileState": "disabled", "profileNickname": null, "serviceProviderName": "rspmanager_tester2", "profileName": "20230625_yysx", "iconType": null, "icon": null, "profileClass": "operational" } ] } } $ ./lpac notification list | jq { "type": "lpa", "payload": { "code": 0, "message": "success", "data": [ { "seqNumber": 48, "profileManagementOperation": "install", "notificationAddress": "smdp.io", "iccid": "8944476500001320600" }, { "seqNumber": 49, "profileManagementOperation": "enable", "notificationAddress": "rsp.truphone.com", "iccid": "8944476500001320600" }, { "seqNumber": 50, "profileManagementOperation": "install", "notificationAddress": "secsmsminiapp.eastcompeace.com", "iccid": "89861234567891232113" }, { "seqNumber": 51, "profileManagementOperation": "install", "notificationAddress": "secsmsminiapp.eastcompeace.com", "iccid": "89861234567891232113" } ] } } $ ./lpac chip purge yes {"type":"lpa","payload":{"code":0,"message":"success","data":null}} $ ./lpac notification list | jq { "type": "lpa", "payload": { "code": 0, "message": "success", "data": [ { "seqNumber": 48, "profileManagementOperation": "install", "notificationAddress": "smdp.io", "iccid": "8944476500001320600" }, { "seqNumber": 49, "profileManagementOperation": "enable", "notificationAddress": "rsp.truphone.com", "iccid": "8944476500001320600" }, { "seqNumber": 50, "profileManagementOperation": "install", "notificationAddress": "secsmsminiapp.eastcompeace.com", "iccid": "89861234567891232113" }, { "seqNumber": 51, "profileManagementOperation": "install", "notificationAddress": "secsmsminiapp.eastcompeace.com", "iccid": "89861234567891232113" }, { "seqNumber": 52, "profileManagementOperation": "delete", "notificationAddress": "rsp.truphone.com", "iccid": "8944476500001320600" }, { "seqNumber": 53, "profileManagementOperation": "delete", "notificationAddress": "secsmsminiapp.eastcompeace.com", "iccid": "89861234567891232113" } ] } } ```
septs added 1 commit 2025-04-02 08:57:11 +02:00
PeterCxy merged commit a601ab7d72 into master 2025-04-14 03:36:39 +02:00
PeterCxy deleted branch send-memory-reset-notification 2025-04-14 03:36:39 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: PeterCxy/OpenEUICC#189
No description provided.