摘要 |
The invention relates to a method for providing peer-to-peer communication between a first and a second device using a request-response protocol, which method comprises the steps of:
(a) scanning by the first device;
(b) advertising by the second device
(c) when the first device detects the advertising message of the second device sending a request for connection to the second device;
(d) returning a response by the second device upon reception of the request for connection, wherein the response includes data of the second device;
(e) scanning by the second device;
(f) advertising by the first device
(g) when the second device detects the advertising message of the first device sending a request for connection to the first device;
(h) returning a response by the first device upon reception of the request for connection, wherein the response includes data of the first device. |