Patent attributes
A method in a D2D controller for sending a configuration message to use a communication mode to a first device, wherein the first device is configured to enable communication with a second device through a network-controlled D2D communication mode, wherein the D2D controller, the first device and the second device are comprised in a wireless network, and wherein the method comprises: obtaining (201) a first speed of the first device with respect to the D2D controller, and, when the first speed exceeds a first threshold, sending (207) a first configuration message to the first device to use a first communication mode, wherein the first communication mode is one of the following communication modes: a cellular communication mode, and a device-controlled D2D mode. A method in the first device for configuring the first device to use a communication mode, according to a message received from the D2D controller.