How can a user request the class of device based on the BT address from the BT900?

The device class is typically provided in an inquiry response. That said, if you use the function BtcInquiryGetReportFull(), you should receive that data. This function is listed on page 42 in the smartBASIC Extensions Guide.