
Chapter 2 – AT Commands
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360H) 56
OPP Server Send Business Card Example Using Broadcom Stack
Enable OPP Server Mode:
Sent: ATSW25,7,1,0,0<cr>
Reply: <cr_lf>OK<cr_lf>
Sent: ATURST<cr>
On a PC, open “Bluetooth Places” and search for devices. After the device is found, double click it and verify
its service to be “OBEX Object Push on <Friendly Name>”. Right click the icon and select Send Business
Card. When prompted, select the vCard file you would like to send. The PC will connect to the server and
push the business card, disconnecting when complete.
Reply: <cr_lf> OPP CONNECT,123456789012<cr_lf>
<cr_lf>PUSH START,John Smith.vcf,00E3<cr_lf> //Length is in HEX
BEGIN:VCARD<cr_lf>
VERSION:2.1<cr_lf>
N:Smith;John<cr_lf>
FN:John Smith<cr_lf>
ADR;HOME:;;box ;city;CO;00000;United States of Ame<cr_lf>
TEL;WORK;VOICE:5551234567<cr_lf>
X-IRMC-LUID:02000000<cr_lf>
END:VCARD<cr_lf>
<cr_lf>PUSH COMPLETE<cr_lf>
<cr_lf>OPP DISCONNECT<cr_lf>
OPP Server Receive Business Card Example Using Broadcom Stack
Enable OPP Server Mode:
Sent: ATSW25,7,1,0,0<cr>
Reply: <cr_lf>OK<cr_lf>
Sent: ATURST<cr>
On a PC, open “Bluetooth Places” and search for devices. After the device is found, double click it and verify
its service to be “OBEX Object Push on <Friendly Name>”. Right click the icon and select Receive Business
Card. The PC will make a connection to the server, and the radio will output “PULL REQUEST.” Then use the
ATBCARDR command to send a business card to the PC.
Reply: <cr_lf> OPP CONNECT,123456789012<cr_lf>
<cr_lf>PULL REQUEST<cr_lf>
Sent: <cr>ATBCARDR, John Smith,vcf,227<cr>
<227 Bytes of vCard Data>
Reply: <cr_lf>PULL COMPLETE<cr_lf>
<cr_lf>OPP DISCONNECT<cr_lf>
Comentarios a estos manuales