In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will introduce in detail "how to obtain connected devices in Mini Program according to uuid". The content steps are clear and detailed, and the details are handled properly, while the editor updates different knowledge points every day. I hope this article "how to obtain connected devices in Mini Program according to uuid" will give you unexpected gains. Please follow the editor's ideas slowly and deeply. The details are as follows. Let's go and gain new knowledge.
Get devices in connected state according to uuid
OBJECT parameter description:
The parameter type is required indicating that servicesArray is the uuid list of the main service of the Bluetooth device. If successFunction is successful, the local Bluetooth adapter status is returned. FailFunction No API call failed callback function completeFunction No API call ended callback function (both successful and failed calls will be executed)
Success return parameters:
Parameter type indicates that the list of devices searched by devicesArray succeeded: ok, error: details device object
Bluetooth device Information
The parameter type describes the name of the nameString Bluetooth device. Some devices may not have the id that deviceIdString uses to distinguish the device.
Sample code:
Wx.getConnectedBluetoothDevices ({success: function (res) {console.log (res)}}) what does Mini Program mean? Mini Program is an application that does not need to be downloaded or installed. It can be used immediately by scanning a QR code or searching it. It is easy to operate and easy to spread. It can achieve seven major functions, such as message notification, offline code scanning, and official account association. It is based on Wechat, similar to APP. You can use it whenever you want. After using it, you will leave without taking up memory.
Thank you for reading this. I hope you have the most profound experience from the practical level on the key issue of "how to get the connected devices according to uuid in Mini Program". The specific usage also requires everyone to practice and use it in order to understand it. If you want to read more related articles, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.