Looking for a serial number for the unit

we are looking at using a serial number from the modem to be logged with the payload we send over to the cloud.
Have tried with the le_info_GetEsn but it returns an LE_FAULT, would anyone know how we can read a serial number from the unit?

you ca iuse “cm info” to read serial number FSN.

1 Like

Hi @claudio.baldini ,
About legato coding, you can try to use this function le_info_GetPlatformSerialNumber() instead of le_info_GetEsn()


@Vianney cheers mate that worked.