主权项 |
1. A method comprising:
joining, by a first apparatus, a network comprising a set of apparatuses; setting an operating mode to a first predetermined operating mode for the first apparatus after joining the network; receiving, by the first apparatus, from a second apparatus belonging to the network a message indicating a support for a ranging service from the second apparatus; in response to receiving the message, initiating, by the first apparatus, a ranging process with the second apparatus if and only if the operating mode is set to the first predetermined operating mode, wherein initiating the ranging process comprises transmitting a request to initiate a distance measurement between the first apparatus and the second apparatus, and wherein the ranging process comprises determining a distance between the first apparatus and the second apparatus based on time stamps of frames transferred, after receiving the message, between the first apparatus and the second apparatus; setting, by the first apparatus, the operating mode to a second predetermined operating mode for the first apparatus after completing the ranging process with the second apparatus; and broadcasting, the first apparatus, a range-limited service discovery frame. |