前提条件
设置设备以使用蓝牙 MAP 功能
-
在命令提示符中使用以下命令运行 SSH:
示例 如果设备的 IP 地址为
10.92.160.222,运行以下命令: -
输入以下密码以连接到 SSH:
-
运行以下命令打开蓝牙测试应用程序:
要查看 OBEX 功能,运行以下命令:此命令提供 obexctl 的主菜单。要执行 MAP 服务器和客户端功能,请参阅执行蓝牙 MAP 服务器功能和执行蓝牙 MAP 客户端功能。 示例输出
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
MAP 定义了设备之间交换消息对象的特性和过程。
ssh root@<device_IP_address>
10.92.160.222,运行以下命令:
ssh root@10.92.160.222
oelinux123
obexctl
help
sh-5.1# obexctl
[NEW] Client /org/bluez/obex
[obex]# help
Menu main:
Available commands:
-------------------
connect <dev> [uuid] [channel] Connect session
disconnect [session] Disconnect session
list List available sessions
show [session] Session information
select <session> Select default session
info <object> Object information
cancel <transfer> Cancel transfer
suspend <transfer> Suspend transfer
resume <transfer> Resume transfer
send <file> Send file
pull <file> Pull Vobject & stores in file
cd <path> Change current folder
ls <options> List current folder
cp <source file> <destination file> Copy source file to destination file
mv <source file> <destination file> Move source file to destination file
rm <file> Delete file
mkdir <folder> Create folder
version Display version
quit Quit program
exit Quit program
help Display help about this program
export Print environment variables
[obex]#
此页面对您有帮助吗?
