• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Wi-Fi Changelog
2
3## cl.arkui.1 getLinkedInfo Behavior Change
4
5**Access Level**
6
7Public API
8
9**Reason for Change**
10
11The change is made to resolve security issues. Before the change, with only the GET_WIFI_INFO permission, the application can obtain the BSSID of the hotspot connected by the user, and further determines the location of the user. This poses security risks.
12
13**Change Impact**
14
15This change is a non-compatible change.
16
17Before the change:
18
19With the GET_WIFI_INFO permission only, the application can obtain the BSSID of the hotspot connected by the user.
20
21After the change:
22
23To obtain the BSSID of the connected hotspot, the application must have the GET_WIFI_INFO and GET_WIFI_PEERS_MAC permissions. If the application does not have the GET_WIFI_PEERS_MAC permission, the returned BSSID is empty.
24
25**Start API Level**
26
27API 12
28
29**Change Since**
30
31OpenHarmony 5.0.0.37
32
33**Key API/Component Changes**
34
35getLinkedInfo/wifi module
36
37**Adaptation Guide**
38
39No adaptation is required. However, you need to check whether the changed behavior affects the overall application logic.
40