Skip to content

Instantly share code, notes, and snippets.

@oberstet
Created November 16, 2020 02:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oberstet/57723ff4bb07c2ea0b71a67ef3e5bd5d to your computer and use it in GitHub Desktop.
Save oberstet/57723ff4bb07c2ea0b71a67ef3e5bd5d to your computer and use it in GitHub Desktop.
(cpy390_1) oberstet@intel-nuci7:~/scm/crossbario/zlmdb$ clear && python tests/test_fbs_reflection.py
processing schema /tmp/test/bfbs/climate.bfbs (2464 bytes) ..
{'enums': {},
'objects': {'Void': {'attrs': {}, 'bytesize': 0, 'docs': '', 'fields': {}, 'is_struct': False, 'min_align': 1, 'name': 'Void'},
'io.crossbar.crossbarfxmarkets.schema.climate.Climate': {'attrs': {},
'bytesize': 0,
'docs': 'A single climate sample.',
'fields': {'entity': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Persistent (static) ID of the entity (device owned by person) tracking its surrounding climate.',
'id': 0,
'name': 'entity',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'humidity': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Surrounding environment relative humidity (in %).',
'id': 4,
'name': 'humidity',
'offset': 12,
'required': False,
'type': {'basetype': 'Double', 'element': 'None', 'index': -1}},
'pressure': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Surrounding environment atmospheric pressure (in hPa).',
'id': 3,
'name': 'pressure',
'offset': 10,
'required': False,
'type': {'basetype': 'Double', 'element': 'None', 'index': -1}},
'temperature': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Surrounding environment ambient temperature (in degrees Celsius).',
'id': 2,
'name': 'temperature',
'offset': 8,
'required': False,
'type': {'basetype': 'Double', 'element': 'None', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Sample: point in time (UTC) when sample was measured, in Unix time (ns precision).',
'id': 1,
'name': 'timestamp',
'offset': 6,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.climate.Climate'},
'io.crossbar.crossbarfxmarkets.schema.climate.ClimateSeries': {'attrs': {},
'bytesize': 0,
'docs': 'A series of climate samples.',
'fields': {'entity': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Persistent (static) ID of the entity (device owned by person) tracking its surrounding climate.',
'id': 0,
'name': 'entity',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'humidity': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: surrounding environment relative humidity (in %).',
'id': 4,
'name': 'humidity',
'offset': 12,
'required': False,
'type': {'basetype': 'Vector', 'element': 'Double', 'index': -1}},
'pressure': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: surrounding environment atmospheric pressure (in hPa).',
'id': 3,
'name': 'pressure',
'offset': 10,
'required': False,
'type': {'basetype': 'Vector', 'element': 'Double', 'index': -1}},
'temperature': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: surrounding environment ambient temperature (in degrees Celsius).',
'id': 2,
'name': 'temperature',
'offset': 8,
'required': False,
'type': {'basetype': 'Vector', 'element': 'Double', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: point in time (UTC) when sample was measured, in Unix time (ns precision).',
'id': 1,
'name': 'timestamp',
'offset': 6,
'required': False,
'type': {'basetype': 'Vector', 'element': 'ULong', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.climate.ClimateSeries'}},
'root_table': None,
'schema': {'enums': 0, 'ext': '', 'ident': '', 'name': 'climate.bfbs', 'objects': 3, 'services': 1, 'sha256': 'b187f0046566a67296523d8a0130998de86593adeedf235938d1b6d14319314f', 'size': 2464},
'services': {'io.crossbar.crossbarfxmarkets.schema.climate.Climate': {'attrs': {'type': 'interface', 'uuid': 'fcd4d873-e24b-4239-a5fc-7ff1de027538'},
'calls': {'get_climate': {'attrs': {'type': 'procedure'},
'docs': 'Retrieve the current (latest) climate sensor readings.',
'name': 'get_climate',
'request': {'attrs': {}, 'bytesize': 0, 'docs': '', 'fields': {}, 'is_struct': False, 'min_align': 1, 'name': 'Void'},
'response': {'attrs': {},
'bytesize': 0,
'docs': 'A single climate sample.',
'fields': {'entity': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Persistent (static) ID of the entity (device owned by person) tracking its surrounding climate.',
'id': 0,
'name': 'entity',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'humidity': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Surrounding environment relative humidity (in %).',
'id': 4,
'name': 'humidity',
'offset': 12,
'required': False,
'type': {'basetype': 'Double', 'element': 'None', 'index': -1}},
'pressure': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Surrounding environment atmospheric pressure (in hPa).',
'id': 3,
'name': 'pressure',
'offset': 10,
'required': False,
'type': {'basetype': 'Double', 'element': 'None', 'index': -1}},
'temperature': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Surrounding environment ambient temperature (in degrees Celsius).',
'id': 2,
'name': 'temperature',
'offset': 8,
'required': False,
'type': {'basetype': 'Double', 'element': 'None', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Sample: point in time (UTC) when sample was measured, in Unix time (ns precision).',
'id': 1,
'name': 'timestamp',
'offset': 6,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.climate.Climate'}},
'on_climate_series': {'attrs': {'type': 'topic'},
'docs': 'Event published for a new ClimateSeries.',
'name': 'on_climate_series',
'request': {'attrs': {},
'bytesize': 0,
'docs': 'A series of climate samples.',
'fields': {'entity': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Persistent (static) ID of the entity (device owned by person) tracking its surrounding climate.',
'id': 0,
'name': 'entity',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'humidity': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: surrounding environment relative humidity (in %).',
'id': 4,
'name': 'humidity',
'offset': 12,
'required': False,
'type': {'basetype': 'Vector', 'element': 'Double', 'index': -1}},
'pressure': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: surrounding environment atmospheric pressure (in hPa).',
'id': 3,
'name': 'pressure',
'offset': 10,
'required': False,
'type': {'basetype': 'Vector', 'element': 'Double', 'index': -1}},
'temperature': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: surrounding environment ambient temperature (in degrees Celsius).',
'id': 2,
'name': 'temperature',
'offset': 8,
'required': False,
'type': {'basetype': 'Vector', 'element': 'Double', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: point in time (UTC) when sample was measured, in Unix time (ns precision).',
'id': 1,
'name': 'timestamp',
'offset': 6,
'required': False,
'type': {'basetype': 'Vector', 'element': 'ULong', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.climate.ClimateSeries'},
'response': {'attrs': {}, 'bytesize': 0, 'docs': '', 'fields': {}, 'is_struct': False, 'min_align': 1, 'name': 'Void'}}},
'docs': '',
'name': 'io.crossbar.crossbarfxmarkets.schema.climate.Climate'}}}
processing schema /tmp/test/bfbs/network.bfbs (13856 bytes) ..
{'enums': {'io.crossbar.crossbarfxmarkets.schema.network.CellularSignalStrength': {'attrs': {},
'docs': 'Cellular signal strength (abstract).\n See also: https://developer.android.com/reference/android/telephony/CellSignalStrength#summary',
'is_union': False,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.CellularSignalStrength',
'underlying_type': None,
'values': {'SIGNAL_STRENGTH_GOOD': {'attrs': {}, 'docs': '', 'name': 'SIGNAL_STRENGTH_GOOD'},
'SIGNAL_STRENGTH_GREAT': {'attrs': {}, 'docs': '', 'name': 'SIGNAL_STRENGTH_GREAT'},
'SIGNAL_STRENGTH_MODERATE': {'attrs': {}, 'docs': '', 'name': 'SIGNAL_STRENGTH_MODERATE'},
'SIGNAL_STRENGTH_NONE': {'attrs': {}, 'docs': '', 'name': 'SIGNAL_STRENGTH_NONE'},
'SIGNAL_STRENGTH_NONE_OR_UNKNOWN': {'attrs': {}, 'docs': '', 'name': 'SIGNAL_STRENGTH_NONE_OR_UNKNOWN'},
'SIGNAL_STRENGTH_POOR': {'attrs': {}, 'docs': '', 'name': 'SIGNAL_STRENGTH_POOR'}}},
'io.crossbar.crossbarfxmarkets.schema.network.IcmpReplyStatus': {'attrs': {},
'docs': '',
'is_union': False,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.IcmpReplyStatus',
'underlying_type': None,
'values': {'ICMP_REPLY_NONE': {'attrs': {}, 'docs': '', 'name': 'ICMP_REPLY_NONE'},
'ICMP_REPLY_SUCCESS': {'attrs': {}, 'docs': '', 'name': 'ICMP_REPLY_SUCCESS'},
'ICMP_REPLY_UNREACHABLE': {'attrs': {}, 'docs': '', 'name': 'ICMP_REPLY_UNREACHABLE'}}},
'io.crossbar.crossbarfxmarkets.schema.network.WifiChannelWidth': {'attrs': {},
'docs': 'Wifi channel widths.',
'is_union': False,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.WifiChannelWidth',
'underlying_type': None,
'values': {'CHANNEL_WIDTH_160MHZ': {'attrs': {}, 'docs': '', 'name': 'CHANNEL_WIDTH_160MHZ'},
'CHANNEL_WIDTH_20MHZ': {'attrs': {}, 'docs': '', 'name': 'CHANNEL_WIDTH_20MHZ'},
'CHANNEL_WIDTH_40MHZ': {'attrs': {}, 'docs': '', 'name': 'CHANNEL_WIDTH_40MHZ'},
'CHANNEL_WIDTH_80MHZ': {'attrs': {}, 'docs': '', 'name': 'CHANNEL_WIDTH_80MHZ'},
'CHANNEL_WIDTH_80MHZ_PLUS_MHZ': {'attrs': {}, 'docs': '', 'name': 'CHANNEL_WIDTH_80MHZ_PLUS_MHZ'},
'CHANNEL_WIDTH_NONE': {'attrs': {}, 'docs': '', 'name': 'CHANNEL_WIDTH_NONE'}}}},
'objects': {'Void': {'attrs': {}, 'bytesize': 0, 'docs': '', 'fields': {}, 'is_struct': False, 'min_align': 1, 'name': 'Void'},
'io.crossbar.crossbarfxmarkets.schema.network.CellInfoCdma': {'attrs': {}, 'bytesize': 0, 'docs': '', 'fields': {}, 'is_struct': False, 'min_align': 1, 'name': 'io.crossbar.crossbarfxmarkets.schema.network.CellInfoCdma'},
'io.crossbar.crossbarfxmarkets.schema.network.CellInfoGsm': {'attrs': {}, 'bytesize': 0, 'docs': '', 'fields': {}, 'is_struct': False, 'min_align': 1, 'name': 'io.crossbar.crossbarfxmarkets.schema.network.CellInfoGsm'},
'io.crossbar.crossbarfxmarkets.schema.network.CellInfoLte': {'attrs': {},
'bytesize': 0,
'docs': 'LTE (4G) cell dynamic information.\n'
' See also:\n'
' * https://developer.android.com/reference/android/telephony/CellInfoLte\n'
' * https://developer.android.com/reference/android/telephony/CellSignalStrengthLte',
'fields': {'asu_level': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'The RSRP in ASU.',
'id': 3,
'name': 'asu_level',
'offset': 10,
'required': False,
'type': {'basetype': 'UInt', 'element': 'None', 'index': -1}},
'cid': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '28-bit Cell Identity.',
'id': 1,
'name': 'cid',
'offset': 6,
'required': False,
'type': {'basetype': 'UInt', 'element': 'None', 'index': -1}},
'cqi': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Channel quality indicator',
'id': 4,
'name': 'cqi',
'offset': 12,
'required': False,
'type': {'basetype': 'UInt', 'element': 'None', 'index': -1}},
'dbm': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Signal strength in dBm.',
'id': 5,
'name': 'dbm',
'offset': 14,
'required': False,
'type': {'basetype': 'UInt', 'element': 'None', 'index': -1}},
'entity': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Persistent (static) ID of the entity tracking cells.',
'id': 0,
'name': 'entity',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'level': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Abstract level value for the overall signal quality.',
'id': 6,
'name': 'level',
'offset': 16,
'required': False,
'type': {'basetype': 'UInt', 'element': 'None', 'index': -1}},
'rsrp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Reference signal received power in dBm.',
'id': 7,
'name': 'rsrp',
'offset': 18,
'required': False,
'type': {'basetype': 'UInt', 'element': 'None', 'index': -1}},
'rsrq': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Reference signal received quality.',
'id': 8,
'name': 'rsrq',
'offset': 20,
'required': False,
'type': {'basetype': 'UInt', 'element': 'None', 'index': -1}},
'rssi': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Received Signal Strength Indication (RSSI) in dBm The value range is [-113, -51] inclusively or CellInfo#UNAVAILABLE if unavailable.',
'id': 9,
'name': 'rssi',
'offset': 22,
'required': False,
'type': {'basetype': 'UInt', 'element': 'None', 'index': -1}},
'rssnr': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Reference signal signal-to-noise ratio',
'id': 10,
'name': 'rssnr',
'offset': 24,
'required': False,
'type': {'basetype': 'UInt', 'element': 'None', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Sample: point in time (UTC) when sample was measured, in Unix time (ns precision).',
'id': 2,
'name': 'timestamp',
'offset': 8,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}},
'timing_advance': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'The timing advance value for LTE, as a value in range of 0..1282.',
'id': 11,
'name': 'timing_advance',
'offset': 26,
'required': False,
'type': {'basetype': 'UInt', 'element': 'None', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.CellInfoLte'},
'io.crossbar.crossbarfxmarkets.schema.network.CellInfoTdscdma': {'attrs': {}, 'bytesize': 0, 'docs': '', 'fields': {}, 'is_struct': False, 'min_align': 1, 'name': 'io.crossbar.crossbarfxmarkets.schema.network.CellInfoTdscdma'},
'io.crossbar.crossbarfxmarkets.schema.network.CellInfoWcdma': {'attrs': {}, 'bytesize': 0, 'docs': '', 'fields': {}, 'is_struct': False, 'min_align': 1, 'name': 'io.crossbar.crossbarfxmarkets.schema.network.CellInfoWcdma'},
'io.crossbar.crossbarfxmarkets.schema.network.CellLte': {'attrs': {},
'bytesize': 0,
'docs': 'LTE (4G) cell static information.\n See also: https://developer.android.com/reference/android/telephony/CellIdentityLte',
'fields': {'bands': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Bands of the cell. Reference: 3GPP TS 36.101 section 5.5.',
'id': 7,
'name': 'bands',
'offset': 18,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UShort', 'index': -1}},
'bandwidth': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Cell bandwidth in kHz.',
'id': 8,
'name': 'bandwidth',
'offset': 20,
'required': False,
'type': {'basetype': 'UInt', 'element': 'None', 'index': -1}},
'cid': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '28-bit Cell Identity.',
'id': 1,
'name': 'cid',
'offset': 6,
'required': False,
'type': {'basetype': 'UInt', 'element': 'None', 'index': -1}},
'earfcn': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '18-bit Absolute RF Channel Number.',
'id': 9,
'name': 'earfcn',
'offset': 22,
'required': False,
'type': {'basetype': 'UInt', 'element': 'None', 'index': -1}},
'entity': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Persistent (static) ID of the entity tracking cells.',
'id': 0,
'name': 'entity',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'mcc': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '3-digit Mobile Country Code, 0..999.',
'id': 3,
'name': 'mcc',
'offset': 10,
'required': False,
'type': {'basetype': 'String', 'element': 'None', 'index': -1}},
'mnc': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '2 or 3-digit Mobile Network Code, 0..999.',
'id': 4,
'name': 'mnc',
'offset': 12,
'required': False,
'type': {'basetype': 'String', 'element': 'None', 'index': -1}},
'pci': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Physical Cell Id 0..503.',
'id': 5,
'name': 'pci',
'offset': 14,
'required': False,
'type': {'basetype': 'UShort', 'element': 'None', 'index': -1}},
'tac': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '16-bit Tracking Area Code',
'id': 6,
'name': 'tac',
'offset': 16,
'required': False,
'type': {'basetype': 'UShort', 'element': 'None', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Sample: point in time (UTC) when the cell information was first seen, in Unix time (ns precision).',
'id': 2,
'name': 'timestamp',
'offset': 8,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.CellLte'},
'io.crossbar.crossbarfxmarkets.schema.network.CellularScan': {'attrs': {},
'bytesize': 0,
'docs': '',
'fields': {'scan': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 0,
'name': 'scan',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'started': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 1,
'name': 'started',
'offset': 6,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.CellularScan'},
'io.crossbar.crossbarfxmarkets.schema.network.CellularScanResult': {'attrs': {},
'bytesize': 0,
'docs': '',
'fields': {'entity': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Persistent (static) ID of the entity tracking its location.',
'id': 0,
'name': 'entity',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Sample: point in time (UTC) when sample was measured, in Unix time (ns precision).',
'id': 1,
'name': 'timestamp',
'offset': 6,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.CellularScanResult'},
'io.crossbar.crossbarfxmarkets.schema.network.CellularScanResults': {'attrs': {},
'bytesize': 0,
'docs': 'A series of location samples.',
'fields': {'entity': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Persistent (static) ID of the entity tracking its location.',
'id': 0,
'name': 'entity',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: point in time (UTC) when sample was measured, in Unix time (ns precision).',
'id': 1,
'name': 'timestamp',
'offset': 6,
'required': False,
'type': {'basetype': 'Vector', 'element': 'ULong', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.CellularScanResults'},
'io.crossbar.crossbarfxmarkets.schema.network.CellularScanToken': {'attrs': {},
'bytesize': 0,
'docs': '',
'fields': {'created': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 1,
'name': 'created',
'offset': 6,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}},
'expires': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 2,
'name': 'expires',
'offset': 8,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}},
'token': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 0,
'name': 'token',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.CellularScanToken'},
'io.crossbar.crossbarfxmarkets.schema.network.HostPingRequest': {'attrs': {},
'bytesize': 0,
'docs': '',
'fields': {'delay': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Delay between rounds of pings being sent in ms.',
'id': 3,
'name': 'delay',
'offset': 10,
'required': False,
'type': {'basetype': 'UShort', 'element': 'None', 'index': -1}},
'delay_jitter': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Random jitter of delay between rounds of pings.',
'id': 4,
'name': 'delay_jitter',
'offset': 12,
'required': False,
'type': {'basetype': 'UShort', 'element': 'None', 'index': -1}},
'host': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'DNS hostname or IPv4/v6 host address of the host to be probed with ICMP pings.',
'id': 0,
'name': 'host',
'offset': 4,
'required': False,
'type': {'basetype': 'String', 'element': 'None', 'index': -1}},
'parallel': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Parallel ping requests being sent (while the probing is running).',
'id': 2,
'name': 'parallel',
'offset': 8,
'required': False,
'type': {'basetype': 'UShort', 'element': 'None', 'index': -1}},
'total': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Total number of ping requests sent.',
'id': 1,
'name': 'total',
'offset': 6,
'required': False,
'type': {'basetype': 'UShort', 'element': 'None', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.HostPingRequest'},
'io.crossbar.crossbarfxmarkets.schema.network.HostPingResult': {'attrs': {},
'bytesize': 0,
'docs': '',
'fields': {'code': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'If status is ICMP_REPLY_UNREACHABLE, the ICMP error code.',
'id': 4,
'name': 'code',
'offset': 12,
'required': False,
'type': {'basetype': 'UByte', 'element': 'None', 'index': -1}},
'rtt': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'If status is ICMP_REPLY_SUCCESS, the round-trip time in ns.',
'id': 2,
'name': 'rtt',
'offset': 8,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}},
'status': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'ICMP reply message status.',
'id': 3,
'name': 'status',
'offset': 10,
'required': False,
'type': {'basetype': 'UByte', 'element': 'None', 'index': 1}},
'task': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'The task for which this ICMP ping result is for.',
'id': 0,
'name': 'task',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Point in time (UTC) when ICMP ping request was sent, in Unix time (ns precision).',
'id': 1,
'name': 'timestamp',
'offset': 6,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.HostPingResult'},
'io.crossbar.crossbarfxmarkets.schema.network.HostPingResults': {'attrs': {},
'bytesize': 0,
'docs': '',
'fields': {'code': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: If status is ICMP_REPLY_UNREACHABLE, the ICMP error code.',
'id': 4,
'name': 'code',
'offset': 12,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'rtt': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: If status is ICMP_REPLY_SUCCESS, the round-trip time in ns.',
'id': 2,
'name': 'rtt',
'offset': 8,
'required': False,
'type': {'basetype': 'Vector', 'element': 'ULong', 'index': -1}},
'status': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: ICMP reply message status.',
'id': 3,
'name': 'status',
'offset': 10,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': 1}},
'task': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'The task for which this ICMP ping result is for.',
'id': 0,
'name': 'task',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: Point in time (UTC) when ICMP ping request was sent, in Unix time (ns precision).',
'id': 1,
'name': 'timestamp',
'offset': 6,
'required': False,
'type': {'basetype': 'Vector', 'element': 'ULong', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.HostPingResults'},
'io.crossbar.crossbarfxmarkets.schema.network.HostPingTask': {'attrs': {},
'bytesize': 0,
'docs': '',
'fields': {'started': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 1,
'name': 'started',
'offset': 6,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}},
'task': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 0,
'name': 'task',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.HostPingTask'},
'io.crossbar.crossbarfxmarkets.schema.network.WifiScanResult': {'attrs': {},
'bytesize': 0,
'docs': 'A single location sample (mostly for on_tile_enter/on_tile_leave).\n See also: https://developer.android.com/reference/android/net/wifi/ScanResult',
'fields': {'bssid': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'The address of the access point.',
'id': 2,
'name': 'bssid',
'offset': 8,
'required': False,
'type': {'basetype': 'String', 'element': 'None', 'index': -1}},
'channel_frequency': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'The primary 20 MHz frequency (in MHz) of the channel over which the client is communicating with the access point.',
'id': 4,
'name': 'channel_frequency',
'offset': 12,
'required': False,
'type': {'basetype': 'UInt', 'element': 'None', 'index': -1}},
'channel_width': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'AP Channel bandwidth.',
'id': 5,
'name': 'channel_width',
'offset': 14,
'required': False,
'type': {'basetype': 'UByte', 'element': 'None', 'index': 2}},
'entity': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Persistent (static) ID of the entity tracking its location.',
'id': 0,
'name': 'entity',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'passpoint_operator': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Indicates Passpoint operator name published by access point; only available on Passpoint network and if published by access point.',
'id': 7,
'name': 'passpoint_operator',
'offset': 18,
'required': False,
'type': {'basetype': 'String', 'element': 'None', 'index': -1}},
'passpoint_venue': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': "Indicates venue name (such as 'San Francisco Airport') published by access point; only available on Passpoint network and if published "
'by access point.',
'id': 8,
'name': 'passpoint_venue',
'offset': 20,
'required': False,
'type': {'basetype': 'String', 'element': 'None', 'index': -1}},
'rssi': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'The detected signal level in dBm.',
'id': 6,
'name': 'rssi',
'offset': 16,
'required': False,
'type': {'basetype': 'UShort', 'element': 'None', 'index': -1}},
'ssid': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'The network name.',
'id': 3,
'name': 'ssid',
'offset': 10,
'required': False,
'type': {'basetype': 'String', 'element': 'None', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Sample: point in time (UTC) when sample was measured, in Unix time (ns precision).',
'id': 1,
'name': 'timestamp',
'offset': 6,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.WifiScanResult'},
'io.crossbar.crossbarfxmarkets.schema.network.WifiScanResults': {'attrs': {},
'bytesize': 0,
'docs': 'A series of location samples.',
'fields': {'bssid': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'The address of the access point.',
'id': 2,
'name': 'bssid',
'offset': 8,
'required': False,
'type': {'basetype': 'Vector', 'element': 'String', 'index': -1}},
'channel_frequency': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'The primary 20 MHz frequency (in MHz) of the channel over which the client is communicating with the access point.',
'id': 4,
'name': 'channel_frequency',
'offset': 12,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UInt', 'index': -1}},
'channel_width': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'AP Channel bandwidth.',
'id': 5,
'name': 'channel_width',
'offset': 14,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': 2}},
'entity': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Persistent (static) ID of the entity tracking its location.',
'id': 0,
'name': 'entity',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'passpoint_operator': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Indicates Passpoint operator name published by access point; only available on Passpoint network and if published by access point.',
'id': 7,
'name': 'passpoint_operator',
'offset': 18,
'required': False,
'type': {'basetype': 'Vector', 'element': 'String', 'index': -1}},
'passpoint_venue': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': "Indicates venue name (such as 'San Francisco Airport') published by access point; only available on Passpoint network and if published "
'by access point.',
'id': 8,
'name': 'passpoint_venue',
'offset': 20,
'required': False,
'type': {'basetype': 'Vector', 'element': 'String', 'index': -1}},
'rssi': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'The detected signal level in dBm.',
'id': 6,
'name': 'rssi',
'offset': 16,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UShort', 'index': -1}},
'ssid': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'The network name.',
'id': 3,
'name': 'ssid',
'offset': 10,
'required': False,
'type': {'basetype': 'Vector', 'element': 'String', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: point in time (UTC) when sample was measured, in Unix time (ns precision).',
'id': 1,
'name': 'timestamp',
'offset': 6,
'required': False,
'type': {'basetype': 'Vector', 'element': 'ULong', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.WifiScanResults'}},
'root_table': None,
'schema': {'enums': 3, 'ext': '', 'ident': '', 'name': 'network.bfbs', 'objects': 17, 'services': 1, 'sha256': '6a735f0fbc208bbbd2c6fa311219b4f224e2f1488ee655b93f76fc06a74a4987', 'size': 13856},
'services': {'io.crossbar.crossbarfxmarkets.schema.network.Network': {'attrs': {'type': 'interface', 'uuid': '52947dc1-b59c-4859-942e-cedefcda6435'},
'calls': {'get_cellular_scan_results': {'attrs': {'type': 'procedure'},
'docs': '////////////////////////////////////////////////////////////////////////\n'
' Return a list of mobile network cells found in the most recent scan.',
'name': 'get_cellular_scan_results',
'request': {'attrs': {}, 'bytesize': 0, 'docs': '', 'fields': {}, 'is_struct': False, 'min_align': 1, 'name': 'Void'},
'response': {'attrs': {},
'bytesize': 0,
'docs': 'A series of location samples.',
'fields': {'entity': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Persistent (static) ID of the entity tracking its location.',
'id': 0,
'name': 'entity',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: point in time (UTC) when sample was measured, in Unix time (ns precision).',
'id': 1,
'name': 'timestamp',
'offset': 6,
'required': False,
'type': {'basetype': 'Vector', 'element': 'ULong', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.CellularScanResults'}},
'get_ping_host_results': {'attrs': {'type': 'procedure'},
'docs': 'Used to retrieve ICMP ping results (after an ICMP ping task has finished). The result\n'
' is encrypted using the same key as used for encrypting the (initially returned) HostPingTask.',
'name': 'get_ping_host_results',
'request': {'attrs': {},
'bytesize': 0,
'docs': '',
'fields': {'started': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 1,
'name': 'started',
'offset': 6,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}},
'task': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 0,
'name': 'task',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.HostPingTask'},
'response': {'attrs': {},
'bytesize': 0,
'docs': '',
'fields': {'code': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: If status is ICMP_REPLY_UNREACHABLE, the ICMP error code.',
'id': 4,
'name': 'code',
'offset': 12,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'rtt': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: If status is ICMP_REPLY_SUCCESS, the round-trip time in ns.',
'id': 2,
'name': 'rtt',
'offset': 8,
'required': False,
'type': {'basetype': 'Vector', 'element': 'ULong', 'index': -1}},
'status': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: ICMP reply message status.',
'id': 3,
'name': 'status',
'offset': 10,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': 1}},
'task': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'The task for which this ICMP ping result is for.',
'id': 0,
'name': 'task',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: Point in time (UTC) when ICMP ping request was sent, in Unix time (ns precision).',
'id': 1,
'name': 'timestamp',
'offset': 6,
'required': False,
'type': {'basetype': 'Vector', 'element': 'ULong', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.HostPingResults'}},
'get_wifi_scan_results': {'attrs': {'type': 'procedure'},
'docs': '////////////////////////////////////////////////////////////////////////\n'
' Return a list of Wifi access points found in the most recent scan.\n'
' See also: https://developer.android.com/reference/android/net/wifi/WifiManager#getScanResults()',
'name': 'get_wifi_scan_results',
'request': {'attrs': {}, 'bytesize': 0, 'docs': '', 'fields': {}, 'is_struct': False, 'min_align': 1, 'name': 'Void'},
'response': {'attrs': {},
'bytesize': 0,
'docs': 'A series of location samples.',
'fields': {'bssid': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'The address of the access point.',
'id': 2,
'name': 'bssid',
'offset': 8,
'required': False,
'type': {'basetype': 'Vector', 'element': 'String', 'index': -1}},
'channel_frequency': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'The primary 20 MHz frequency (in MHz) of the channel over which the client is communicating '
'with the access point.',
'id': 4,
'name': 'channel_frequency',
'offset': 12,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UInt', 'index': -1}},
'channel_width': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'AP Channel bandwidth.',
'id': 5,
'name': 'channel_width',
'offset': 14,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': 2}},
'entity': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Persistent (static) ID of the entity tracking its location.',
'id': 0,
'name': 'entity',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'passpoint_operator': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Indicates Passpoint operator name published by access point; only available on Passpoint '
'network and if published by access point.',
'id': 7,
'name': 'passpoint_operator',
'offset': 18,
'required': False,
'type': {'basetype': 'Vector', 'element': 'String', 'index': -1}},
'passpoint_venue': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': "Indicates venue name (such as 'San Francisco Airport') published by access point; only "
'available on Passpoint network and if published by access point.',
'id': 8,
'name': 'passpoint_venue',
'offset': 20,
'required': False,
'type': {'basetype': 'Vector', 'element': 'String', 'index': -1}},
'rssi': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'The detected signal level in dBm.',
'id': 6,
'name': 'rssi',
'offset': 16,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UShort', 'index': -1}},
'ssid': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'The network name.',
'id': 3,
'name': 'ssid',
'offset': 10,
'required': False,
'type': {'basetype': 'Vector', 'element': 'String', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: point in time (UTC) when sample was measured, in Unix time (ns precision).',
'id': 1,
'name': 'timestamp',
'offset': 6,
'required': False,
'type': {'basetype': 'Vector', 'element': 'ULong', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.WifiScanResults'}},
'request_cellular_scan': {'attrs': {'type': 'procedure'},
'docs': 'Request running a full scan for cellular networks currently in range for the device.\n'
' A buyer will need to buy the decryption key for a token to actually start the cellular scan.',
'name': 'request_cellular_scan',
'request': {'attrs': {}, 'bytesize': 0, 'docs': '', 'fields': {}, 'is_struct': False, 'min_align': 1, 'name': 'Void'},
'response': {'attrs': {},
'bytesize': 0,
'docs': '',
'fields': {'created': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 1,
'name': 'created',
'offset': 6,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}},
'expires': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 2,
'name': 'expires',
'offset': 8,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}},
'token': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 0,
'name': 'token',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.CellularScanToken'}},
'request_ping_host': {'attrs': {'type': 'procedure'},
'docs': '////////////////////////////////////////////////////////////////////////\n'
' Probe the specified host using ICMP ping requests, tracking ICMP responses.',
'name': 'request_ping_host',
'request': {'attrs': {},
'bytesize': 0,
'docs': '',
'fields': {'delay': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Delay between rounds of pings being sent in ms.',
'id': 3,
'name': 'delay',
'offset': 10,
'required': False,
'type': {'basetype': 'UShort', 'element': 'None', 'index': -1}},
'delay_jitter': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Random jitter of delay between rounds of pings.',
'id': 4,
'name': 'delay_jitter',
'offset': 12,
'required': False,
'type': {'basetype': 'UShort', 'element': 'None', 'index': -1}},
'host': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'DNS hostname or IPv4/v6 host address of the host to be probed with ICMP pings.',
'id': 0,
'name': 'host',
'offset': 4,
'required': False,
'type': {'basetype': 'String', 'element': 'None', 'index': -1}},
'parallel': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Parallel ping requests being sent (while the probing is running).',
'id': 2,
'name': 'parallel',
'offset': 8,
'required': False,
'type': {'basetype': 'UShort', 'element': 'None', 'index': -1}},
'total': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Total number of ping requests sent.',
'id': 1,
'name': 'total',
'offset': 6,
'required': False,
'type': {'basetype': 'UShort', 'element': 'None', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.HostPingRequest'},
'response': {'attrs': {},
'bytesize': 0,
'docs': '',
'fields': {'started': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 1,
'name': 'started',
'offset': 6,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}},
'task': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 0,
'name': 'task',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.HostPingTask'}},
'start_cellular_scan': {'attrs': {'type': 'procedure'},
'docs': 'After buying the key to decrypt the ceullular scan token, a call of this procedure\n will then actually start the scan.',
'name': 'start_cellular_scan',
'request': {'attrs': {},
'bytesize': 0,
'docs': '',
'fields': {'created': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 1,
'name': 'created',
'offset': 6,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}},
'expires': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 2,
'name': 'expires',
'offset': 8,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}},
'token': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 0,
'name': 'token',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.CellularScanToken'},
'response': {'attrs': {},
'bytesize': 0,
'docs': '',
'fields': {'scan': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 0,
'name': 'scan',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'started': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': '',
'id': 1,
'name': 'started',
'offset': 6,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.network.CellularScan'}}},
'docs': '',
'name': 'io.crossbar.crossbarfxmarkets.schema.network.Network'}}}
processing schema /tmp/test/bfbs/location.bfbs (2508 bytes) ..
{'enums': {},
'objects': {'Void': {'attrs': {}, 'bytesize': 0, 'docs': '', 'fields': {}, 'is_struct': False, 'min_align': 1, 'name': 'Void'},
'io.crossbar.crossbarfxmarkets.schema.location.Location': {'attrs': {},
'bytesize': 0,
'docs': 'A single location sample (mostly for on_tile_enter/on_tile_leave).',
'fields': {'entity': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Persistent (static) ID of the entity tracking its location.',
'id': 0,
'name': 'entity',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'lat': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Sample: WGS84 latitude, rounded to 7 decimals.',
'id': 3,
'name': 'lat',
'offset': 10,
'required': False,
'type': {'basetype': 'Double', 'element': 'None', 'index': -1}},
'lon': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Sample: WGS84 longitude, rounded to 7 decimals.',
'id': 2,
'name': 'lon',
'offset': 8,
'required': False,
'type': {'basetype': 'Double', 'element': 'None', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Sample: point in time (UTC) when sample was measured, in Unix time (ns precision).',
'id': 1,
'name': 'timestamp',
'offset': 6,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.location.Location'},
'io.crossbar.crossbarfxmarkets.schema.location.LocationSeries': {'attrs': {},
'bytesize': 0,
'docs': 'A series of location samples.',
'fields': {'entity': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Persistent (static) ID of the entity tracking its location.',
'id': 0,
'name': 'entity',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'lat': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: WGS84 latitude, rounded to 7 decimals.',
'id': 3,
'name': 'lat',
'offset': 10,
'required': False,
'type': {'basetype': 'Vector', 'element': 'Double', 'index': -1}},
'lon': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: WGS84 longitude, rounded to 7 decimals.',
'id': 2,
'name': 'lon',
'offset': 8,
'required': False,
'type': {'basetype': 'Vector', 'element': 'Double', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: point in time (UTC) when sample was measured, in Unix time (ns precision).',
'id': 1,
'name': 'timestamp',
'offset': 6,
'required': False,
'type': {'basetype': 'Vector', 'element': 'ULong', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.location.LocationSeries'}},
'root_table': None,
'schema': {'enums': 0, 'ext': '', 'ident': '', 'name': 'location.bfbs', 'objects': 3, 'services': 1, 'sha256': '8a960aa142cd1e00f937baa25d83e64282745240eb4d21969fe49ddcc0318f67', 'size': 2508},
'services': {'io.crossbar.crossbarfxmarkets.schema.location.Location': {'attrs': {'type': 'interface', 'uuid': '4b740947-31d5-4a10-b7ce-4149bbc9ee1e'},
'calls': {'on_location_series': {'attrs': {'type': 'topic'},
'docs': 'Event published for a new LocationSeries (effective topic URI is PREFIX/<zoom>.<xtile>.<ytile>/on_location_series)',
'name': 'on_location_series',
'request': {'attrs': {},
'bytesize': 0,
'docs': 'A series of location samples.',
'fields': {'entity': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Persistent (static) ID of the entity tracking its location.',
'id': 0,
'name': 'entity',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'lat': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: WGS84 latitude, rounded to 7 decimals.',
'id': 3,
'name': 'lat',
'offset': 10,
'required': False,
'type': {'basetype': 'Vector', 'element': 'Double', 'index': -1}},
'lon': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: WGS84 longitude, rounded to 7 decimals.',
'id': 2,
'name': 'lon',
'offset': 8,
'required': False,
'type': {'basetype': 'Vector', 'element': 'Double', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Samples: point in time (UTC) when sample was measured, in Unix time (ns precision).',
'id': 1,
'name': 'timestamp',
'offset': 6,
'required': False,
'type': {'basetype': 'Vector', 'element': 'ULong', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.location.LocationSeries'},
'response': {'attrs': {}, 'bytesize': 0, 'docs': '', 'fields': {}, 'is_struct': False, 'min_align': 1, 'name': 'Void'}},
'on_tile_enter': {'attrs': {'type': 'topic'},
'docs': 'Event published when the tracked entity entered the respective tile (effective topic URI is PREFIX/<zoom>.<xtile>.<ytile>/on_location_series)',
'name': 'on_tile_enter',
'request': {'attrs': {},
'bytesize': 0,
'docs': 'A single location sample (mostly for on_tile_enter/on_tile_leave).',
'fields': {'entity': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Persistent (static) ID of the entity tracking its location.',
'id': 0,
'name': 'entity',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'lat': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Sample: WGS84 latitude, rounded to 7 decimals.',
'id': 3,
'name': 'lat',
'offset': 10,
'required': False,
'type': {'basetype': 'Double', 'element': 'None', 'index': -1}},
'lon': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Sample: WGS84 longitude, rounded to 7 decimals.',
'id': 2,
'name': 'lon',
'offset': 8,
'required': False,
'type': {'basetype': 'Double', 'element': 'None', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Sample: point in time (UTC) when sample was measured, in Unix time (ns precision).',
'id': 1,
'name': 'timestamp',
'offset': 6,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.location.Location'},
'response': {'attrs': {}, 'bytesize': 0, 'docs': '', 'fields': {}, 'is_struct': False, 'min_align': 1, 'name': 'Void'}},
'on_tile_leave': {'attrs': {'type': 'topic'},
'docs': 'Event published when the tracked entity left the respective tile (effective topic URI is PREFIX/<zoom>.<xtile>.<ytile>/on_location_series)',
'name': 'on_tile_leave',
'request': {'attrs': {},
'bytesize': 0,
'docs': 'A single location sample (mostly for on_tile_enter/on_tile_leave).',
'fields': {'entity': {'attrs': {'uuid': '0'},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Persistent (static) ID of the entity tracking its location.',
'id': 0,
'name': 'entity',
'offset': 4,
'required': False,
'type': {'basetype': 'Vector', 'element': 'UByte', 'index': -1}},
'lat': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Sample: WGS84 latitude, rounded to 7 decimals.',
'id': 3,
'name': 'lat',
'offset': 10,
'required': False,
'type': {'basetype': 'Double', 'element': 'None', 'index': -1}},
'lon': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Sample: WGS84 longitude, rounded to 7 decimals.',
'id': 2,
'name': 'lon',
'offset': 8,
'required': False,
'type': {'basetype': 'Double', 'element': 'None', 'index': -1}},
'timestamp': {'attrs': {},
'default_int': 0,
'default_real': 0.0,
'deprecated': False,
'docs': 'Sample: point in time (UTC) when sample was measured, in Unix time (ns precision).',
'id': 1,
'name': 'timestamp',
'offset': 6,
'required': False,
'type': {'basetype': 'ULong', 'element': 'None', 'index': -1}}},
'is_struct': False,
'min_align': 1,
'name': 'io.crossbar.crossbarfxmarkets.schema.location.Location'},
'response': {'attrs': {}, 'bytesize': 0, 'docs': '', 'fields': {}, 'is_struct': False, 'min_align': 1, 'name': 'Void'}}},
'docs': '',
'name': 'io.crossbar.crossbarfxmarkets.schema.location.Location'}}}
(cpy390_1) oberstet@intel-nuci7:~/scm/crossbario/zlmdb$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment