Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/sorting/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Bluetooth 蓝牙插座连接-在每次请求时保持或重新连接?_Bluetooth_Bluetooth Socket - Fatal编程技术网

Bluetooth 蓝牙插座连接-在每次请求时保持或重新连接?

Bluetooth 蓝牙插座连接-在每次请求时保持或重新连接?,bluetooth,bluetooth-socket,Bluetooth,Bluetooth Socket,使用蓝牙插座的标准方式是什么?应用程序是否应保持打开的蓝牙连接,只要它需要能够与蓝牙设备通信(可能持续数小时或数天),还是应根据“请求”进行连接和关闭(请求的意思是-当应用程序需要来自蓝牙设备的内容时)?它仅取决于您的应用程序和设备的电源要求。

使用蓝牙插座的标准方式是什么?应用程序是否应保持打开的蓝牙连接,只要它需要能够与蓝牙设备通信(可能持续数小时或数天),还是应根据“请求”进行连接和关闭(请求的意思是-当应用程序需要来自蓝牙设备的内容时)?

它仅取决于您的应用程序和设备的电源要求。