Identify sensor types through Astra SDK


Now that there are several different sensors available with different resolutions and frame rates (Astra, Astra Embedded S, Astra Stereo S) how can we identify which sensors are connected to the system?
Or which type of sensor we’re dealing with once we’ve established a connection to it?
And/or which resolutions and other capabilities it supports. (does it have a color camera, does it support body tracking etc)

This is very important when writing an application that doesn’t rely on hard-coding the resolution (like the samples) for example.


Well at least it seems we can identify a Embedded S from an Astra by checking the chip id: