refactor capabilities constants

This commit is contained in:
Andrea Franz 2019-03-23 02:20:51 +01:00
parent 65bb826b6c
commit 6da07e5ac8
No known key found for this signature in database
GPG Key ID: 4F0D2F2D9DE7F29D

View File

@ -18,10 +18,10 @@ const (
)
const (
CapabilitySecureChannel Capability = iota + 1
CapabilityKeyManagement Capability = 1 << iota
CapabilityCredentialsManagement Capability = 1 << iota
CapabilityNDEF Capability = 1 << iota
CapabilitySecureChannel Capability = 1 << iota
CapabilityKeyManagement
CapabilityCredentialsManagement
CapabilityNDEF
CapabilityAll = CapabilitySecureChannel |
CapabilityKeyManagement |