-
公开(公告)号:US20230396974A1
公开(公告)日:2023-12-07
申请号:US18034507
申请日:2021-10-27
Applicant: Huawei Technologies Co., Ltd.
Abstract: Embodiments of this application provide a communication method and apparatus, and an electronic device. The method includes: releasing a detection request packet by broadcast based on a Bluetooth low energy technology, where the detection request packet is a BLE broadcast packet including a network identifier of a device network on which online device detection is performed; receiving, based on the Bluetooth low energy technology, a detection response packet that is released by broadcast and that includes the network identifier, where the detection response packet is a BLE broadcast packet, and the detection response packet is a response packet generated, based on the detection request packet after the detection request packet is received, by an online device in the device network on which online device detection is performed; and determining the online device in the device network based on the detection response packet.