Method for monitoring the configuration of a train, the train comprising a plurality of railway vehicles (1, 2, 3, 4, 5) coupled to each other, each of the railway vehicles comprising a monitoring module (6, 7, 8, 9, 10, 11, 12, 13, 14, 15) on each end, each monitoring module comprising a unique identifier, a low power radio configured to have a range within free space of at least 3 m and at most 10 m, a memory and a communication means to wirelessly communicate with a processing unit, comprising the following step: • transmitting regularly with each of the monitoring modules a message comprising the associated unique identifier of the monitoring module using the low power radio, • receiving with the monitoring modules the messages transmitted by others of the monitoring modules within range of the low power radio, and preferably storing the unique identifiers of the received messages in the memory of the monitoring module, • determining with the processing unit the configuration of the train by applying a predetermined algorithm, the predetermined algorithm comparing the received unique identifiers by each of the monitoring modules to determine the configuration of the train and preferably an order according to which the railway vehicles are connected to each other, wherein the method further comprising the steps: • at a moment after reception of a message containing a unique identifier with the low power radio of a monitoring module, the monitoring module sending at least once for said received unique identifier a data packet comprising said received unique identifier and the unique identifier of the monitoring module to the processing unit using its communication means; characterized in that the method further comprises the step of adding by a monitoring module a received signal strength indicator (RSSI) to the data packet comprising a received unique identifier and the unique identifier of the monitoring module, the RSSI corresponding to the signal strength of the message when receiving the message with the unique identifier by the monitoring module. • transmitting regularly with each of the monitoring modules a message comprising the associated unique identifier of the monitoring module using the low power radio, • receiving with the monitoring modules the messages transmitted by others of the monitoring modules within range of the low power radio, and preferably storing the unique identifiers of the received messages in the memory of the monitoring module, • determining with the processing unit the configuration of the train by applying a predetermined algorithm, the predetermined algorithm comparing the received unique identifiers by each of the monitoring modules to determine the configuration of the train and preferably an order according to which the railway vehicles are connected to each other, • at a moment after reception of a message containing a unique identifier with the low power radio of a monitoring module, the monitoring module sending at least once for said received unique identifier a data packet comprising said received unique identifier and the unique identifier of the monitoring module to the processing unit using its communication means;