GATT-BASED PROFILE HIERARCHY
java 伪代码
public class Profile {
Service mService;
Service mService1;
Service mService2;
/*other*/
}
class Service {
Characteristic mCharacteristic;
Characteristic mCharacteristic1;
Characteristic mCharacteristic2;
/*other*/
}
class Characteristic {
Properties mProperties;
Properties mProperties1;
Properties mProperties2;
}
class Properties {
}