Home > Mobile >  WeChat hardware -- -- -- -- -- around the wifi scanning device, the android onScanWXDeviceResult sea
WeChat hardware -- -- -- -- -- around the wifi scanning device, the android onScanWXDeviceResult sea

Time:09-26

Ios can search, is in the public, H5 built-in web. According to the development of document writing js, have the students encountered such a problem?

CodePudding user response:

Obviously, I also met this problem, the ios WeChat can scan, the android or not, has been bothering me for several days, no progress,

CodePudding user response:

The building Lord have solution? Can also meet the same problem, the solution said it to me?

CodePudding user response:

The original poster can discuss? 1990687392

CodePudding user response:

WeChat hardware platform, configWXDeviceWiFi intelligent networking success - & gt; Successful library openWXDeviceLib initialization equipment - & gt; StartScanWXDevice scanner success - & gt; OnScanWXDeviceResult scanning to an equipment failure events,
I now android can start this event, receive information, not apple.
You and I are the opposite

CodePudding user response:

I feel is your parameter configuration there is a problem, I remember there is a parameter for equipment authorization is connect_protocol, you at that time is a kind of, in detail: four connection protocol supports the following:
Four connection protocol supports the following:
Android classic bluetooth - 1
Ios classic bluetooth - 2
Ble - 3
Wifi - 4
A device can support a variety of connection types, the use of the symbol "|" in split, client choice of connection mode (press | priority relation of sorting in turn reduce), for example:
Said 1: equipment support only andiod classic bluetooth 1 | 2: according to equipment support andiod and ios two classic bluetooth, bluetooth protocol, but the client preferred to choose android classic if android classic bluetooth protocol connection fails, then choose the ios classic bluetooth protocol to connect
(note: the android platform does not support BLE and at the same time classic type)

http://iot.weixin.qq.com/wiki/new/index.html? Page=3-5-4

CodePudding user response:

reference 5 floor guanyelong reply:
I feel is your parameter configuration there is a problem, I remember there is a parameter for equipment authorization is connect_protocol, you at that time is a kind of, in detail: four connection protocol supports the following:
Four connection protocol supports the following:
Android classic bluetooth - 1
Ios classic bluetooth - 2
Ble - 3
Wifi - 4
A device can support a variety of connection types, the use of the symbol "|" in split, client choice of connection mode (press | priority relation of sorting in turn reduce), for example:
Said 1: equipment support only andiod classic bluetooth 1 | 2: according to equipment support andiod and ios two classic bluetooth, bluetooth protocol, but the client preferred to choose android classic if android classic bluetooth protocol connection fails, then choose the ios classic bluetooth protocol to connect
(note: the android platform does not support BLE and at the same time classic type)

http://iot.weixin.qq.com/wiki/new/index.html? Page=3-5-4

I just want to realize intelligent network and access to the hardware id, don't need to equipment authorization? I get the hardware id after the success of the implementation process is to scan for onScanWXDeviceResult events,

CodePudding user response:

big brother, to solve! The JSAPI onScanWXDeviceResult apple no callback android can like you!
  • Related