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