Add wrapper function to convert uint16_t service IDs to internal unsigned int.

Use it when looking up service names.
This commit is contained in:
sehraf 2018-08-01 20:30:28 +02:00
parent 0d4eafde31
commit 97194fd092
No known key found for this signature in database
GPG key ID: DF09F6EAE356B2C6
4 changed files with 12 additions and 5 deletions

View file

@ -53,6 +53,8 @@ class RsServiceInfo
// minimum version can communicate with.
uint16_t mMinVersionMajor;
uint16_t mMinVersionMinor;
static unsigned int RsServiceInfoUIn16ToFullServiceId(uint16_t serviceType);
};