yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame] | 1 | #ifndef __LPA_API_H__
|
| 2 | #define __LPA_API_H__
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 | //
|
| 9 | int lpa_init(void);
|
| 10 | int lpa_uninit(void);
|
| 11 | int lpa_select_aid(void);
|
| 12 | int lpa_check_status(int retry);
|
| 13 | int lpa_exception_process(void);
|
| 14 |
|
| 15 |
|
| 16 | //trigger
|
| 17 | char *lpa_trigger_event(int *next_step);
|
| 18 | int lpa_trigger_updata(void);
|
| 19 |
|
| 20 |
|
| 21 | //api
|
| 22 | int downloadProfileByAc(char *activecode, char *confirmcode);
|
| 23 | int downloadProfileByEid(void);
|
| 24 | int enableProfile(char *iccid);
|
| 25 | int disableProfile(char * iccid);
|
| 26 | int deleteProfile(char * iccid);
|
| 27 | int memoryReset(void);
|
| 28 | int getProfileList(char **info);
|
| 29 |
|
| 30 | int lpa_download_profile(char *activecode, char *confirmcode);
|
| 31 | int lpa_enable_profile(char *iccid);
|
| 32 | int lpa_disable_profile(char *iccid);
|
| 33 | int lpa_delete_profile(char *iccid);
|
| 34 | int lpa_memory_reset(void);
|
| 35 |
|
| 36 | int lpa_open_logical_channel(void);
|
| 37 | int lpa_close_logical_channel(int flag);
|
| 38 |
|
| 39 |
|
| 40 | #endif
|