Hello,
Thank you for reaching out.
On the RUTX50, the modem ID can be simply retrieved via the device’s CLI using the following command:
cat /etc/board.json | jsonfilter -e '@.modems[0].id'
If you have any further questions or need assistance with your implementation, feel free to ask here.
Best regards,