METHOD, DEVICE, AND COMPUTER PROGRAM FOR CONTROLLING AND MANAGING STATE OF PERIPHERAL DEVICE IN WIRELESS COMMUNICATION SYSTEM, AND RECORDING MEDIUM THEREFOR
The present disclosure relates to a method, a device, and a computer program for controlling and managing a state of a peripheral device in a wireless communication system, and a recording medium therefor. According to an embodiment of the present disclosure, a method for changing an audio stream session-related state may include the steps of: acquiring information relating to a current audio stream session-related state of a second device before a first device in a first audio stream session-related state performs transition of an audio stream session-related state; determining a second audio stream session-related state of the first device at least on the basis of the current audio stream session-related state of the second device; and performing the transition of the audio stream session-related state by the first device on the basis of the second audio stream session-related state.
1 . A method performed by a server device in a wireless communication system, the method comprising:
receiving, from a client device, a write message for initiating an operation related to audio data, based on a source endpoint being in a first state, wherein a current operation related to the audio data by the server device for the source endpoint in the first state is maintained until the server device transitions the source endpoint to a second state; and
transmitting, to the client device, a notification message for notifying at least one characteristic of the source endpoint being in the second state.
2 . The method of claim 1 , wherein:
the client device initiates the operation based on the client device being ready to change consuming of the audio data transmitted for the source endpoint by the server device.
3 . The method of claim 1 , wherein:
states of the source endpoint including the first state and the second state include at least two states of a group of states including idle, codec configured, quality of service (QOS) configured, enabling, streaming, disabling, or releasing.
4 . The method of claim 1 , wherein:
each of the server device and the client device includes a Bluetooth Low Energy (BLE) protocol stack.
5 . A server device in a wireless communication system, the device comprising:
a transceiver;
a memory; and
a processor,
wherein the processor is configured to:
receive, through the transceiver, from a client device, a write message for initiating an operation related to audio data, based on a source endpoint being in a first state, wherein a current operation related to the audio data by the server device for the source endpoint in the first state is maintained until the server device transitions the source endpoint to a second state; and
transmit, through the transceiver, to the client device, a notification message for notifying at least one characteristic of the source endpoint being in the second state.
6 . The device of claim 5 , wherein:
the client device initiates the operation based on the client device being ready to change consuming of the audio data transmitted for the source endpoint by the server device.
7 . The device of claim 5 , wherein:
states of the source endpoint including the first state and the second state include at least two states of a group of states including idle, codec configured, quality of service (QOS) configured, enabling, streaming, disabling, or releasing.
8 . The device of claim 5 , wherein:
each of the server device and the client device includes a Bluetooth Low Energy (BLE) protocol stack.