iOS CBCharacteristic Class Reference には、特性のプロパティを返すために使用されるビット マップの説明があります。私はそれらのうちの3つが何を意味するかについての情報を探しています.
ドキュメントには、次のようにリストされています。
CBCharacteristicProperties
特性の可能なプロパティ。
enum {
CBCharacteristicPropertyBroadcast = 0x01,
CBCharacteristicPropertyRead = 0x02,
CBCharacteristicPropertyWriteWithoutResponse = 0x04,
CBCharacteristicPropertyWrite = 0x08,
CBCharacteristicPropertyNotify = 0x10,
CBCharacteristicPropertyIndicate = 0x20,
CBCharacteristicPropertyAuthenticatedSignedWrites = 0x40,
CBCharacteristicPropertyExtendedProperties = 0x80,
};
私が見つけたこれらのプロパティのドキュメントやリストは他にありません。
読み取り、書き込み、通知など、明らかなものもあります。ブロードキャストは、私が見つけた他の BLE ドキュメントに記載されています。
CBCharacteristicPropertyWriteWithoutResponse は紛らわしいです。なぜこれがフラグなのですか?CBDevice 呼び出し writeValue:forCharacteristic:type: には、次を受け入れるフラグがあります。
enum {
CBCharacteristicWriteWithResponse = 0,
CBCharacteristicWriteWithoutResponse,
};
これらのフラグは冗長ですか、それとも CBCharacteristicProperties フラグと一致する型を writeValue:forCharacteristic:type: に指定する必要がありますか?
また、CBCharacteristicPropertyIndicate と CBCharacteristicPropertyExtendedProperties は何を意味するのでしょうか?
これらを説明する Apple のドキュメントよりも優れたリファレンスはありますか?