mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-11 00:40:00 +00:00
example/pbap_client_demo: add command to pull vcard 0.vcf
This commit is contained in:
parent
16ad374519
commit
6f968c6267
@ -134,7 +134,7 @@ static void show_usage(void){
|
||||
printf("g - pull phonebook '%s'\n", phonebook_path);
|
||||
printf("h - Lookup contact with number '%s'\n", phone_number);
|
||||
printf("l - pull vCard listing '%s'\n", phonebook_folder);
|
||||
|
||||
printf("L - get vCard 0.vcf\n");
|
||||
printf("t - disconnnect\n");
|
||||
printf("p - authenticate using password '0000'\n");
|
||||
printf("r - set path to 'telecom'\n");
|
||||
@ -170,6 +170,10 @@ static void stdin_process(char c){
|
||||
printf("[+] Pull vCard list for '%s'\n", phonebook_folder);
|
||||
pbap_pull_vcard_listing(pbap_cid, "");
|
||||
break;
|
||||
case 'L':
|
||||
printf("[+] Pull vCard '0.vcf'\n");
|
||||
pbap_pull_vcard_entry(pbap_cid, "0.vcf");
|
||||
break;
|
||||
|
||||
case 'c':
|
||||
printf("[+] Select phonebook '%s'\n", cch_name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user