diff options
author | Sanket Padawe <sanketpadawe@google.com> | 2016-03-31 17:37:23 -0700 |
---|---|---|
committer | Sanket Padawe <sanketpadawe@google.com> | 2016-03-31 17:37:23 -0700 |
commit | 1be49ba51de8b4c81132003d12b269f5d0237132 (patch) | |
tree | 6d997cadcbe134310bee6fb327cadb66e541db03 | |
parent | fb4ed9165428379823f1d1b423af49b3e71cce34 (diff) | |
download | platform_hardware_ril-1be49ba51de8b4c81132003d12b269f5d0237132.tar.gz platform_hardware_ril-1be49ba51de8b4c81132003d12b269f5d0237132.tar.bz2 platform_hardware_ril-1be49ba51de8b4c81132003d12b269f5d0237132.zip |
Add documentation for RIL_SAP_INIT in ril.h
Bug: 27726715
Change-Id: I3c48820f689052a89986191ccb08754197eea229
-rw-r--r-- | include/telephony/ril.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/telephony/ril.h b/include/telephony/ril.h index e034b2f0..59a7fe2f 100644 --- a/include/telephony/ril.h +++ b/include/telephony/ril.h @@ -5867,6 +5867,22 @@ struct RIL_Env { */ const RIL_RadioFunctions *RIL_Init(const struct RIL_Env *env, int argc, char **argv); +/** + * If BT SAP(SIM Access Profile) is supported, then RIL implementations must define RIL_SAP_Init + * for initializing RIL_RadioFunctions used for BT SAP communcations. It is called whenever RILD + * starts or modem restarts. Returns handlers for SAP related request that are made on SAP + * sepecific socket, analogous to the RIL_RadioFunctions returned by the call to RIL_Init + * and used on the general RIL socket. + * argc and argv will be command line arguments intended for the RIL implementation + * Return NULL on error. + * + * @param env is environment point defined as RIL_Env + * @param argc number of arguments + * @param argv list fo arguments + * + */ +const RIL_RadioFunctions *RIL_SAP_Init(const struct RIL_Env *env, int argc, char **argv); + #else /* RIL_SHLIB */ /** |