A method for managing mobility of communication devices, wherein a gateway manager is connected to a set of gateways, each gateway being paired with at least one communication device through wireless links and each communication device being paired to only one gateway, wherein a pairing database linked to the gateway manager comprises primary vectors each containing an identifier (IdGW) of a given gateway, an identifier (IdCD) of a given communication device paired to said given gateway and quality metrics pertaining to the radio link between said given gateway and said given communication device, the method comprising: the gateways receiving messages sent in broadcast from communication devices, each message containing an identifier (IdCD) of communication device and operating data, wherein only a gateway paired with a given communication device is able to process the operating data of a message sent by said given communication device to transmit to the gateway manager said operating data that are used by applications, the gateways determining quality metrics for each received message, the quality metrics pertaining to the radio link between the gateway and the communication device, the gateways storing, for each received message, a secondary vector comprising the identifier (IdCD) of the communication device, a timestamp and the quality metrics, the gateway manager collecting the secondary vectors from all the gateways and storing the collected secondary vectors in correspondence respectively with identifiers (IdGW) of the gateways in a manager database, the gateway manager selecting, based on the quality metrics, a secondary vector among secondary vectors that contain the same identifier (IdCD) of communication device and contain timestamps included in a predefined time interval, the gateway manager commanding the pairing of the communication device corresponding to the identifier (IdCD) of communication device of the selected secondary vector with the gateway corresponding to the identifier (IdGW) of a gateway of the selected secondary vector, if the selected secondary vector has better quality metrics than a given primary vector having the same identifier (IdCD) of communication device in the pairing database and if the selected secondary vector has an identifier (IdGW) of gateway different from the identifier (IdGW) of gateway of said given primary vector. the gateways receiving messages sent in broadcast from communication devices, each message containing an identifier (IdCD) of communication device and operating data, wherein only a gateway paired with a given communication device is able to process the operating data of a message sent by said given communication device to transmit to the gateway manager said operating data that are used by applications, the gateways determining quality metrics for each received message, the quality metrics pertaining to the radio link between the gateway and the communication device, the gateways storing, for each received message, a secondary vector comprising the identifier (IdCD) of the communication device, a timestamp and the quality metrics, the gateway manager collecting the secondary vectors from all the gateways and storing the collected secondary vectors in correspondence respectively with identifiers (IdGW) of the gateways in a manager database, the gateway manager selecting, based on the quality metrics, a secondary vector among secondary vectors that contain the same identifier (IdCD) of communication device and contain timestamps included in a predefined time interval, the gateway manager commanding the pairing of the communication device corresponding to the identifier (IdCD) of communication device of the selected secondary vector with the gateway corresponding to the identifier (IdGW) of a gateway of the selected secondary vector, if the selected secondary vector has better quality metrics than a given primary vector having the same identifier (IdCD) of communication device in the pairing database and if the selected secondary vector has an identifier (IdGW) of gateway different from the identifier (IdGW) of gateway of said given primary vector.