Masterarbeit Richard Stern. Flutter App, sich mit einem Bluetooth-Gerät verbindet und Berührungen auf einem Sensor visualisiert.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

flutterblue.pbjson.dart 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. ///
  2. // Generated code. Do not modify.
  3. // source: flutterblue.proto
  4. ///
  5. // ignore_for_file: non_constant_identifier_names,library_prefixes,unused_import
  6. const Int32Value$json = const {
  7. '1': 'Int32Value',
  8. '2': const [
  9. const {'1': 'value', '3': 1, '4': 1, '5': 5, '10': 'value'},
  10. ],
  11. };
  12. const BluetoothState$json = const {
  13. '1': 'BluetoothState',
  14. '2': const [
  15. const {'1': 'state', '3': 1, '4': 1, '5': 14, '6': '.BluetoothState.State', '10': 'state'},
  16. ],
  17. '4': const [BluetoothState_State$json],
  18. };
  19. const BluetoothState_State$json = const {
  20. '1': 'State',
  21. '2': const [
  22. const {'1': 'UNKNOWN', '2': 0},
  23. const {'1': 'UNAVAILABLE', '2': 1},
  24. const {'1': 'UNAUTHORIZED', '2': 2},
  25. const {'1': 'TURNING_ON', '2': 3},
  26. const {'1': 'ON', '2': 4},
  27. const {'1': 'TURNING_OFF', '2': 5},
  28. const {'1': 'OFF', '2': 6},
  29. ],
  30. };
  31. const AdvertisementData$json = const {
  32. '1': 'AdvertisementData',
  33. '2': const [
  34. const {'1': 'local_name', '3': 1, '4': 1, '5': 9, '10': 'localName'},
  35. const {'1': 'tx_power_level', '3': 2, '4': 1, '5': 11, '6': '.Int32Value', '10': 'txPowerLevel'},
  36. const {'1': 'connectable', '3': 3, '4': 1, '5': 8, '10': 'connectable'},
  37. const {'1': 'manufacturer_data', '3': 4, '4': 3, '5': 11, '6': '.AdvertisementData.ManufacturerDataEntry', '10': 'manufacturerData'},
  38. const {'1': 'service_data', '3': 5, '4': 3, '5': 11, '6': '.AdvertisementData.ServiceDataEntry', '10': 'serviceData'},
  39. const {'1': 'service_uuids', '3': 6, '4': 3, '5': 9, '10': 'serviceUuids'},
  40. ],
  41. '3': const [AdvertisementData_ManufacturerDataEntry$json, AdvertisementData_ServiceDataEntry$json],
  42. };
  43. const AdvertisementData_ManufacturerDataEntry$json = const {
  44. '1': 'ManufacturerDataEntry',
  45. '2': const [
  46. const {'1': 'key', '3': 1, '4': 1, '5': 5, '10': 'key'},
  47. const {'1': 'value', '3': 2, '4': 1, '5': 12, '10': 'value'},
  48. ],
  49. '7': const {'7': true},
  50. };
  51. const AdvertisementData_ServiceDataEntry$json = const {
  52. '1': 'ServiceDataEntry',
  53. '2': const [
  54. const {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
  55. const {'1': 'value', '3': 2, '4': 1, '5': 12, '10': 'value'},
  56. ],
  57. '7': const {'7': true},
  58. };
  59. const ScanSettings$json = const {
  60. '1': 'ScanSettings',
  61. '2': const [
  62. const {'1': 'android_scan_mode', '3': 1, '4': 1, '5': 5, '10': 'androidScanMode'},
  63. const {'1': 'service_uuids', '3': 2, '4': 3, '5': 9, '10': 'serviceUuids'},
  64. ],
  65. };
  66. const ScanResult$json = const {
  67. '1': 'ScanResult',
  68. '2': const [
  69. const {'1': 'device', '3': 1, '4': 1, '5': 11, '6': '.BluetoothDevice', '10': 'device'},
  70. const {'1': 'advertisement_data', '3': 2, '4': 1, '5': 11, '6': '.AdvertisementData', '10': 'advertisementData'},
  71. const {'1': 'rssi', '3': 3, '4': 1, '5': 5, '10': 'rssi'},
  72. ],
  73. };
  74. const ConnectRequest$json = const {
  75. '1': 'ConnectRequest',
  76. '2': const [
  77. const {'1': 'remote_id', '3': 1, '4': 1, '5': 9, '10': 'remoteId'},
  78. const {'1': 'android_auto_connect', '3': 2, '4': 1, '5': 8, '10': 'androidAutoConnect'},
  79. ],
  80. };
  81. const BluetoothDevice$json = const {
  82. '1': 'BluetoothDevice',
  83. '2': const [
  84. const {'1': 'remote_id', '3': 1, '4': 1, '5': 9, '10': 'remoteId'},
  85. const {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'},
  86. const {'1': 'type', '3': 3, '4': 1, '5': 14, '6': '.BluetoothDevice.Type', '10': 'type'},
  87. ],
  88. '4': const [BluetoothDevice_Type$json],
  89. };
  90. const BluetoothDevice_Type$json = const {
  91. '1': 'Type',
  92. '2': const [
  93. const {'1': 'UNKNOWN', '2': 0},
  94. const {'1': 'CLASSIC', '2': 1},
  95. const {'1': 'LE', '2': 2},
  96. const {'1': 'DUAL', '2': 3},
  97. ],
  98. };
  99. const BluetoothService$json = const {
  100. '1': 'BluetoothService',
  101. '2': const [
  102. const {'1': 'uuid', '3': 1, '4': 1, '5': 9, '10': 'uuid'},
  103. const {'1': 'remote_id', '3': 2, '4': 1, '5': 9, '10': 'remoteId'},
  104. const {'1': 'is_primary', '3': 3, '4': 1, '5': 8, '10': 'isPrimary'},
  105. const {'1': 'characteristics', '3': 4, '4': 3, '5': 11, '6': '.BluetoothCharacteristic', '10': 'characteristics'},
  106. const {'1': 'included_services', '3': 5, '4': 3, '5': 11, '6': '.BluetoothService', '10': 'includedServices'},
  107. ],
  108. };
  109. const BluetoothCharacteristic$json = const {
  110. '1': 'BluetoothCharacteristic',
  111. '2': const [
  112. const {'1': 'uuid', '3': 1, '4': 1, '5': 9, '10': 'uuid'},
  113. const {'1': 'serviceUuid', '3': 2, '4': 1, '5': 9, '10': 'serviceUuid'},
  114. const {'1': 'secondaryServiceUuid', '3': 3, '4': 1, '5': 9, '10': 'secondaryServiceUuid'},
  115. const {'1': 'descriptors', '3': 4, '4': 3, '5': 11, '6': '.BluetoothDescriptor', '10': 'descriptors'},
  116. const {'1': 'properties', '3': 5, '4': 1, '5': 11, '6': '.CharacteristicProperties', '10': 'properties'},
  117. const {'1': 'value', '3': 6, '4': 1, '5': 12, '10': 'value'},
  118. ],
  119. };
  120. const BluetoothDescriptor$json = const {
  121. '1': 'BluetoothDescriptor',
  122. '2': const [
  123. const {'1': 'uuid', '3': 1, '4': 1, '5': 9, '10': 'uuid'},
  124. const {'1': 'serviceUuid', '3': 2, '4': 1, '5': 9, '10': 'serviceUuid'},
  125. const {'1': 'characteristicUuid', '3': 3, '4': 1, '5': 9, '10': 'characteristicUuid'},
  126. const {'1': 'value', '3': 4, '4': 1, '5': 12, '10': 'value'},
  127. ],
  128. };
  129. const CharacteristicProperties$json = const {
  130. '1': 'CharacteristicProperties',
  131. '2': const [
  132. const {'1': 'broadcast', '3': 1, '4': 1, '5': 8, '10': 'broadcast'},
  133. const {'1': 'read', '3': 2, '4': 1, '5': 8, '10': 'read'},
  134. const {'1': 'write_without_response', '3': 3, '4': 1, '5': 8, '10': 'writeWithoutResponse'},
  135. const {'1': 'write', '3': 4, '4': 1, '5': 8, '10': 'write'},
  136. const {'1': 'notify', '3': 5, '4': 1, '5': 8, '10': 'notify'},
  137. const {'1': 'indicate', '3': 6, '4': 1, '5': 8, '10': 'indicate'},
  138. const {'1': 'authenticated_signed_writes', '3': 7, '4': 1, '5': 8, '10': 'authenticatedSignedWrites'},
  139. const {'1': 'extended_properties', '3': 8, '4': 1, '5': 8, '10': 'extendedProperties'},
  140. const {'1': 'notify_encryption_required', '3': 9, '4': 1, '5': 8, '10': 'notifyEncryptionRequired'},
  141. const {'1': 'indicate_encryption_required', '3': 10, '4': 1, '5': 8, '10': 'indicateEncryptionRequired'},
  142. ],
  143. };
  144. const DiscoverServicesResult$json = const {
  145. '1': 'DiscoverServicesResult',
  146. '2': const [
  147. const {'1': 'remote_id', '3': 1, '4': 1, '5': 9, '10': 'remoteId'},
  148. const {'1': 'services', '3': 2, '4': 3, '5': 11, '6': '.BluetoothService', '10': 'services'},
  149. ],
  150. };
  151. const ReadCharacteristicRequest$json = const {
  152. '1': 'ReadCharacteristicRequest',
  153. '2': const [
  154. const {'1': 'remote_id', '3': 1, '4': 1, '5': 9, '10': 'remoteId'},
  155. const {'1': 'characteristic_uuid', '3': 2, '4': 1, '5': 9, '10': 'characteristicUuid'},
  156. const {'1': 'service_uuid', '3': 3, '4': 1, '5': 9, '10': 'serviceUuid'},
  157. const {'1': 'secondary_service_uuid', '3': 4, '4': 1, '5': 9, '10': 'secondaryServiceUuid'},
  158. ],
  159. };
  160. const ReadCharacteristicResponse$json = const {
  161. '1': 'ReadCharacteristicResponse',
  162. '2': const [
  163. const {'1': 'remote_id', '3': 1, '4': 1, '5': 9, '10': 'remoteId'},
  164. const {'1': 'characteristic', '3': 2, '4': 1, '5': 11, '6': '.BluetoothCharacteristic', '10': 'characteristic'},
  165. ],
  166. };
  167. const ReadDescriptorRequest$json = const {
  168. '1': 'ReadDescriptorRequest',
  169. '2': const [
  170. const {'1': 'remote_id', '3': 1, '4': 1, '5': 9, '10': 'remoteId'},
  171. const {'1': 'descriptor_uuid', '3': 2, '4': 1, '5': 9, '10': 'descriptorUuid'},
  172. const {'1': 'service_uuid', '3': 3, '4': 1, '5': 9, '10': 'serviceUuid'},
  173. const {'1': 'secondary_service_uuid', '3': 4, '4': 1, '5': 9, '10': 'secondaryServiceUuid'},
  174. const {'1': 'characteristic_uuid', '3': 5, '4': 1, '5': 9, '10': 'characteristicUuid'},
  175. ],
  176. };
  177. const ReadDescriptorResponse$json = const {
  178. '1': 'ReadDescriptorResponse',
  179. '2': const [
  180. const {'1': 'request', '3': 1, '4': 1, '5': 11, '6': '.ReadDescriptorRequest', '10': 'request'},
  181. const {'1': 'value', '3': 2, '4': 1, '5': 12, '10': 'value'},
  182. ],
  183. };
  184. const WriteCharacteristicRequest$json = const {
  185. '1': 'WriteCharacteristicRequest',
  186. '2': const [
  187. const {'1': 'remote_id', '3': 1, '4': 1, '5': 9, '10': 'remoteId'},
  188. const {'1': 'characteristic_uuid', '3': 2, '4': 1, '5': 9, '10': 'characteristicUuid'},
  189. const {'1': 'service_uuid', '3': 3, '4': 1, '5': 9, '10': 'serviceUuid'},
  190. const {'1': 'secondary_service_uuid', '3': 4, '4': 1, '5': 9, '10': 'secondaryServiceUuid'},
  191. const {'1': 'write_type', '3': 5, '4': 1, '5': 14, '6': '.WriteCharacteristicRequest.WriteType', '10': 'writeType'},
  192. const {'1': 'value', '3': 6, '4': 1, '5': 12, '10': 'value'},
  193. ],
  194. '4': const [WriteCharacteristicRequest_WriteType$json],
  195. };
  196. const WriteCharacteristicRequest_WriteType$json = const {
  197. '1': 'WriteType',
  198. '2': const [
  199. const {'1': 'WITH_RESPONSE', '2': 0},
  200. const {'1': 'WITHOUT_RESPONSE', '2': 1},
  201. ],
  202. };
  203. const WriteCharacteristicResponse$json = const {
  204. '1': 'WriteCharacteristicResponse',
  205. '2': const [
  206. const {'1': 'request', '3': 1, '4': 1, '5': 11, '6': '.WriteCharacteristicRequest', '10': 'request'},
  207. const {'1': 'success', '3': 2, '4': 1, '5': 8, '10': 'success'},
  208. ],
  209. };
  210. const WriteDescriptorRequest$json = const {
  211. '1': 'WriteDescriptorRequest',
  212. '2': const [
  213. const {'1': 'remote_id', '3': 1, '4': 1, '5': 9, '10': 'remoteId'},
  214. const {'1': 'descriptor_uuid', '3': 2, '4': 1, '5': 9, '10': 'descriptorUuid'},
  215. const {'1': 'service_uuid', '3': 3, '4': 1, '5': 9, '10': 'serviceUuid'},
  216. const {'1': 'secondary_service_uuid', '3': 4, '4': 1, '5': 9, '10': 'secondaryServiceUuid'},
  217. const {'1': 'characteristic_uuid', '3': 5, '4': 1, '5': 9, '10': 'characteristicUuid'},
  218. const {'1': 'value', '3': 6, '4': 1, '5': 12, '10': 'value'},
  219. ],
  220. };
  221. const WriteDescriptorResponse$json = const {
  222. '1': 'WriteDescriptorResponse',
  223. '2': const [
  224. const {'1': 'request', '3': 1, '4': 1, '5': 11, '6': '.WriteDescriptorRequest', '10': 'request'},
  225. const {'1': 'success', '3': 2, '4': 1, '5': 8, '10': 'success'},
  226. ],
  227. };
  228. const SetNotificationRequest$json = const {
  229. '1': 'SetNotificationRequest',
  230. '2': const [
  231. const {'1': 'remote_id', '3': 1, '4': 1, '5': 9, '10': 'remoteId'},
  232. const {'1': 'service_uuid', '3': 2, '4': 1, '5': 9, '10': 'serviceUuid'},
  233. const {'1': 'secondary_service_uuid', '3': 3, '4': 1, '5': 9, '10': 'secondaryServiceUuid'},
  234. const {'1': 'characteristic_uuid', '3': 4, '4': 1, '5': 9, '10': 'characteristicUuid'},
  235. const {'1': 'enable', '3': 5, '4': 1, '5': 8, '10': 'enable'},
  236. ],
  237. };
  238. const SetNotificationResponse$json = const {
  239. '1': 'SetNotificationResponse',
  240. '2': const [
  241. const {'1': 'remote_id', '3': 1, '4': 1, '5': 9, '10': 'remoteId'},
  242. const {'1': 'characteristic', '3': 2, '4': 1, '5': 11, '6': '.BluetoothCharacteristic', '10': 'characteristic'},
  243. const {'1': 'success', '3': 3, '4': 1, '5': 8, '10': 'success'},
  244. ],
  245. };
  246. const OnNotificationResponse$json = const {
  247. '1': 'OnNotificationResponse',
  248. '2': const [
  249. const {'1': 'remote_id', '3': 1, '4': 1, '5': 9, '10': 'remoteId'},
  250. const {'1': 'characteristic', '3': 2, '4': 1, '5': 11, '6': '.BluetoothCharacteristic', '10': 'characteristic'},
  251. ],
  252. };
  253. const DeviceStateResponse$json = const {
  254. '1': 'DeviceStateResponse',
  255. '2': const [
  256. const {'1': 'remote_id', '3': 1, '4': 1, '5': 9, '10': 'remoteId'},
  257. const {'1': 'state', '3': 2, '4': 1, '5': 14, '6': '.DeviceStateResponse.BluetoothDeviceState', '10': 'state'},
  258. ],
  259. '4': const [DeviceStateResponse_BluetoothDeviceState$json],
  260. };
  261. const DeviceStateResponse_BluetoothDeviceState$json = const {
  262. '1': 'BluetoothDeviceState',
  263. '2': const [
  264. const {'1': 'DISCONNECTED', '2': 0},
  265. const {'1': 'CONNECTING', '2': 1},
  266. const {'1': 'CONNECTED', '2': 2},
  267. const {'1': 'DISCONNECTING', '2': 3},
  268. ],
  269. };