The present invention relates to a method for data packet transmissions between a source node and a destination node in a network, the method comprising: —the nodes being configured with an initial sleeping time period duration SPinit and an initial wake-up time period duration LPinit, —the source node sending a preamble, segmented in micro-preambles, for indicating the beginning of a transmission, the micro-preambles being separated by listening slots, —the destination node sending, upon receipt of at least one of the micro-preamble, a packet indicating its presence, called “Ready-To-Receive”, or RTR, packet, and —the source node sending, in response to the RTR packet, a data packet intended for the destination node, wherein the step of sending a preamble comprises: —the source node determining, based on SPinit and on LPinit, an optimal size of the micro-preambles that minimizes the overall energy consumption in the network for sending and receiving packets related to this preamble transmission.