Smartphone vs Tablet - What TPControl devices are connected to my AMX system?

There are times that you might want to know what type of TPControl device is a connected to your AMX system e.g. Smartphone vs Tablet. TPControl has AMX registered identifiers that are returned by the AMX device_id(d:p:s) function call in NetLinx code, returning the following values for relevant devices:

347 = iPhone(3)

348 = iPad/iPad mini/iPad Pro etc

349 = iPod Touch

350 = iPhone(4+)

351 = Android Mobile/Tablet (obsolete)

355 = Android Smartphone

356 = Android Tablet

358 = Windows PCs/Tablets