Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在创建一个应用程序,该应用程序将Bluetooth根据特定的情况连接到设备UUID,并且我在这方面取得了成功。
Bluetooth
UUID
现在我的下一个任务是,一旦我连接到该设备,它应该会在我与该设备配对后自动下载文件。另一台设备只需接受我的连接即可。
我怎样才能做到这一点?
FTP 或 GOEP(通过 OBEX)配置文件?
从您的帖子中不清楚,但我假设您可以控制这两种设备。
让一台设备充当 FTP 服务器,并将要下载的文件放在该设备上指定的 FTP 目录中。
然后,另一台设备可以使用 FTP 配置文件通过蓝牙连接并下载该文件。