${obj.name} Gatt ICD


Description:

${obj.desc}



Index


%if len(obj.services) > 0: Services: %endif

services


%for service in obj.services:

${service.name}


${service.desc}


%if len(service.chars) > 0:
%for characteristic in service.chars: %if characteristic.isStandard: %else: %endif %endfor
Characteristic UUID Type Permission Description
${characteristic.name}
[SIG Standard]
${characteristic.name}${ characteristic.uuidStr() } ${characteristic.type} ${characteristic.perm} ${characteristic.desc}\ %if characteristic.isEnum:
    %for idx,val in enumerate(characteristic.vals):
  • ${ characteristic.valsFormat % idx} : ${val.name} - ${val.desc}
  • %endfor
%endif %if characteristic.isMask:
    %for idx,val in enumerate(characteristic.vals):
  • ${characteristic.valsFormat % (1 << idx)} : ${val.name} - ${val.desc}
  • %endfor
%endif
%else: ## zero data chars This service type does not contain any data chars
%endif

%endfor