(characteristic)
| 970 | return perms.join('|'); |
| 971 | } |
| 972 | isEncrypted(characteristic) { |
| 973 | let encrypted = (-1 != characteristic.permissions.indexOf("readEncrypted") || -1 != characteristic.permissions.indexOf("writeEncrypted")); |
| 974 | return encrypted ? 1 : 0; |
| 975 | } |
| 976 | }; |
| 977 | |
| 978 | class GeckoGATTFile extends GATTFile { |