Register AIDs (stub)

This commit is contained in:
Jan-Christopher Pien
2016-10-10 22:25:33 +02:00
committed by Frank Morgner
parent f2a68c95c1
commit 45273626eb
3 changed files with 33 additions and 3 deletions

View File

@@ -5,6 +5,7 @@
#include <stdlib.h>
#include <nfc.h>
#include <sap.h>
#include <glib.h>
#define HELLO_ACCESSORY_PROFILE_ID "/com/vsmcartcard"
#define HELLO_ACCESSORY_CHANNELID 104
@@ -309,6 +310,11 @@ gboolean find_peers()
return TRUE;
}
GSList* request_installed_aids() {
GSList* aid_list = g_slist_append(NULL, "A000000397425446590201");
return aid_list;
}
static void on_agent_initialized(sap_agent_h agent,
sap_agent_initialized_result_e result,
void *user_data)