bluetooth_mesh.messages¶
- bluetooth_mesh.messages.AccessMessage = <_AccessMessage>
Config¶
- bluetooth_mesh.messages.config.ConfigMessage = <SwitchStruct <Struct>>¶
opcode:
Uint32- params:
Switchby opcode ConfigOpcode.CONFIG_APPKEY_ADDapp_key_index:
Uint12net_key_index:
Uint12app_key:
bytes[16]
ConfigOpcode.CONFIG_APPKEY_DELETEapp_key_index:
Uint12net_key_index:
Uint12
ConfigOpcode.CONFIG_APPKEY_GETnet_key_index:
Uint12
ConfigOpcode.CONFIG_APPKEY_LISTstatus:
EnumofStatusCodeasUint8net_key_index:
Uint12app_key_indices:
RangeofUint12
ConfigOpcode.CONFIG_APPKEY_STATUSstatus:
EnumofStatusCodeasUint8app_key_index:
Uint12net_key_index:
Uint12
ConfigOpcode.CONFIG_APPKEY_UPDATEapp_key_index:
Uint12net_key_index:
Uint12app_key:
bytes[16]
ConfigOpcode.CONFIG_BEACON_GETConfigOpcode.CONFIG_BEACON_SETbeacon:
EnumofSecureNetworkBeaconasUint8
ConfigOpcode.CONFIG_BEACON_STATUSbeacon:
EnumofSecureNetworkBeaconasUint8
ConfigOpcode.CONFIG_COMPOSITION_DATA_GETpage:
EnumofCompositionDataPageasUint8
ConfigOpcode.CONFIG_COMPOSITION_DATA_STATUSpage:
EnumofCompositionDataPageasUint8- data:
Switchby page CompositionDataPage.ZEROcid:
Uint16pid:
Uint16vid:
Uint16crpl:
Uint16features:
Uint16- elements:
RangeofStructof location:
EnumofGATTNamespaceDescriptorasUint16sig_number:
Uint8vendor_number:
Uint8- sig_models:
Array[sig_number]ofStructof model_id:
Uint16
- sig_models:
- vendor_models:
Array[vendor_number]ofStructof vendor_id:
Uint16model_id:
Uint16
- vendor_models:
- elements:
CompositionDataPage.FIRST- element:
RangeofStructof number_s:
Uint8number_v:
Uint8- sig_models:
Array[number_s]ofStructof extended_items_count:
Uint6format:
EnumofExtendedModelsItemFormatasUint1corresponding_present:
Uint1corresponding_id: :
UNKNOWN- extended_models_items:
Switchby format ExtendedModelsItemFormat.SHORTmodel_item_index:
Uint5element_offset:
Int3
ExtendedModelsItemFormat.LONGmodel_item_index:
Uint8element_offset:
Int8
- extended_models_items:
- sig_models:
- vendor_models:
Array[number_v]ofStructof extended_items_count:
Uint6format:
EnumofExtendedModelsItemFormatasUint1corresponding_present:
Uint1corresponding_id: :
UNKNOWN- extended_models_items:
Switchby format ExtendedModelsItemFormat.SHORTmodel_item_index:
Uint5element_offset:
Int3
ExtendedModelsItemFormat.LONGmodel_item_index:
Uint8element_offset:
Int8
- extended_models_items:
- vendor_models:
- element:
CompositionDataPage.SECOND- record_list:
RangeofStructof mesh_profile_identifier:
Uint16- version:
Structof version_x:
Uint8version_y:
Uint8version_z:
Uint8
- version:
num_element_offsets:
Uint8element_offset_list:
Array[num_element_offsets]ofUint8additional_data_len:
Uint16additional_data:
Array[additional_data_len]ofUint8
- record_list:
CompositionDataPage.TWO_HUNDRED_AND_FIFTY_FIFTH
- data:
ConfigOpcode.CONFIG_DEFAULT_TTL_GETConfigOpcode.CONFIG_DEFAULT_TTL_SETttl:
Uint8
ConfigOpcode.CONFIG_DEFAULT_TTL_STATUSttl:
Uint8
ConfigOpcode.CONFIG_FRIEND_GETConfigOpcode.CONFIG_FRIEND_SETfriend:
EnumofFriendasUint8
ConfigOpcode.CONFIG_FRIEND_STATUSfriend:
EnumofFriendasUint8
ConfigOpcode.CONFIG_GATT_PROXY_GETConfigOpcode.CONFIG_GATT_PROXY_SETGATT_proxy:
EnumofGATTProxyasUint8
ConfigOpcode.CONFIG_GATT_PROXY_STATUSGATT_proxy:
EnumofGATTProxyasUint8
ConfigOpcode.CONFIG_HEARBEAT_PUBLICATION_GETConfigOpcode.CONFIG_HEARBEAT_PUBLICATION_SETdestination:
Uint16count:
Uint8period:
Uint8ttl:
Uint8features:
Array[16]ofUint1net_key_index:
Uint12
ConfigOpcode.CONFIG_HEARBEAT_PUBLICATION_STATUSstatus:
EnumofStatusCodeasUint8destination:
Uint16count:
Uint8period:
Uint8ttl:
Uint8features:
Array[16]ofUint1net_key_index:
Uint12
ConfigOpcode.CONFIG_HEARBEAT_SUBSCRIPTION_GETConfigOpcode.CONFIG_HEARBEAT_SUBSCRIPTION_SETsource:
Uint16destination:
Uint16period_log:
Uint8
ConfigOpcode.CONFIG_HEARBEAT_SUBSCRIPTION_STATUSstatus:
EnumofStatusCodeasUint8source:
Uint16destination:
Uint16period_log:
Uint8count:
Uint8min_hops:
Uint8max_hops:
Uint8
ConfigOpcode.CONFIG_KEY_REFRESH_PHASE_GETnet_key_index:
Uint12
ConfigOpcode.CONFIG_KEY_REFRESH_PHASE_SETnet_key_index:
Uint12transition:
EnumofKeyRefreshTransitionasUint8
ConfigOpcode.CONFIG_KEY_REFRESH_PHASE_STATUSstatus:
EnumofStatusCodeasUint8net_key_index:
Uint12phase:
EnumofKeyRefreshPhaseasUint8
ConfigOpcode.CONFIG_LOW_POWER_NODE_POLL_TIMEOUT_GETlpn_address:
Uint16
ConfigOpcode.CONFIG_LOW_POWER_NODE_POLL_TIMEOUT_STATUSlpn_address:
Uint16poll_timeout:
Uint24
ConfigOpcode.CONFIG_MODEL_APP_BINDelement_address:
Uint16app_key_index:
Uint12- model:
Selectfrom vendor:Structofvendor_id:
Uint16model_id:
Uint16
sig:Structofmodel_id:
Uint16
- model:
ConfigOpcode.CONFIG_MODEL_APP_STATUSstatus:
EnumofStatusCodeasUint8element_address:
Uint16app_key_index:
Uint12- model:
Selectfrom vendor:Structofvendor_id:
Uint16model_id:
Uint16
sig:Structofmodel_id:
Uint16
- model:
ConfigOpcode.CONFIG_MODEL_APP_UNBINDelement_address:
Uint16app_key_index:
Uint12- model:
Selectfrom vendor:Structofvendor_id:
Uint16model_id:
Uint16
sig:Structofmodel_id:
Uint16
- model:
ConfigOpcode.CONFIG_MODEL_PUBLICATION_GETelement_address:
Uint16- model:
Selectfrom vendor:Structofvendor_id:
Uint16model_id:
Uint16
sig:Structofmodel_id:
Uint16
- model:
ConfigOpcode.CONFIG_MODEL_PUBLICATION_SETelement_address:
Uint16publish_address:
Uint16rfu:
Uint3credential_flag:
EnumofPublishFriendshipCredentialsFlagasboolapp_key_index:
Uint12ttl:
Uint8- publish_period:
Structof step_resolution:
EnumofPublishPeriodStepResolutionasUint2number_of_steps:
Uint6
- publish_period:
- retransmit:
Structof interval_steps:
Uint5count:
Uint3
- retransmit:
- model:
Selectfrom vendor:Structofvendor_id:
Uint16model_id:
Uint16
sig:Structofmodel_id:
Uint16
- model:
ConfigOpcode.CONFIG_MODEL_PUBLICATION_STATUSstatus:
EnumofStatusCodeasUint8element_address:
Uint16publish_address:
Uint16rfu:
Uint3credential_flag:
EnumofPublishFriendshipCredentialsFlagasboolapp_key_index:
Uint12ttl:
Uint8- publish_period:
Structof step_resolution:
EnumofPublishPeriodStepResolutionasUint2number_of_steps:
Uint6
- publish_period:
- retransmit:
Structof interval_steps:
Uint5count:
Uint3
- retransmit:
- model:
Selectfrom vendor:Structofvendor_id:
Uint16model_id:
Uint16
sig:Structofmodel_id:
Uint16
- model:
ConfigOpcode.CONFIG_MODEL_PUBLICATION_VIRTUAL_ADDRESS_SETelement_address:
Uint16publish_address:
bytes[16]rfu:
Uint3credential_flag:
EnumofPublishFriendshipCredentialsFlagasboolapp_key_index:
Uint12ttl:
Uint8- publish_period:
Structof step_resolution:
EnumofPublishPeriodStepResolutionasUint2number_of_steps:
Uint6
- publish_period:
- retransmit:
Structof interval_steps:
Uint5count:
Uint3
- retransmit:
- model:
Selectfrom vendor:Structofvendor_id:
Uint16model_id:
Uint16
sig:Structofmodel_id:
Uint16
- model:
ConfigOpcode.CONFIG_MODEL_SUBSCRIPTION_ADDelement_address:
Uint16address:
Uint16- model:
Selectfrom vendor:Structofvendor_id:
Uint16model_id:
Uint16
sig:Structofmodel_id:
Uint16
- model:
ConfigOpcode.CONFIG_MODEL_SUBSCRIPTION_DELETEelement_address:
Uint16address:
Uint16- model:
Selectfrom vendor:Structofvendor_id:
Uint16model_id:
Uint16
sig:Structofmodel_id:
Uint16
- model:
ConfigOpcode.CONFIG_MODEL_SUBSCRIPTION_DELETE_ALLelement_address:
Uint16- model:
Selectfrom vendor:Structofvendor_id:
Uint16model_id:
Uint16
sig:Structofmodel_id:
Uint16
- model:
ConfigOpcode.CONFIG_MODEL_SUBSCRIPTION_OVERWRITEelement_address:
Uint16address:
Uint16- model:
Selectfrom vendor:Structofvendor_id:
Uint16model_id:
Uint16
sig:Structofmodel_id:
Uint16
- model:
ConfigOpcode.CONFIG_MODEL_SUBSCRIPTION_STATUSstatus:
EnumofStatusCodeasUint8element_address:
Uint16address:
Uint16- model:
Selectfrom vendor:Structofvendor_id:
Uint16model_id:
Uint16
sig:Structofmodel_id:
Uint16
- model:
ConfigOpcode.CONFIG_MODEL_SUBSCRIPTION_VIRTUAL_ADDRESS_ADDelement_address:
Uint16label:
bytes[16]- model:
Selectfrom vendor:Structofvendor_id:
Uint16model_id:
Uint16
sig:Structofmodel_id:
Uint16
- model:
ConfigOpcode.CONFIG_MODEL_SUBSCRIPTION_VIRTUAL_ADDRESS_DELETEelement_address:
Uint16label:
bytes[16]- model:
Selectfrom vendor:Structofvendor_id:
Uint16model_id:
Uint16
sig:Structofmodel_id:
Uint16
- model:
ConfigOpcode.CONFIG_MODEL_SUBSCRIPTION_VIRTUAL_ADDRESS_OVERWRITEelement_address:
Uint16label:
bytes[16]- model:
Selectfrom vendor:Structofvendor_id:
Uint16model_id:
Uint16
sig:Structofmodel_id:
Uint16
- model:
ConfigOpcode.CONFIG_NETKEY_ADDnet_key_index:
Uint12net_key:
bytes[16]
ConfigOpcode.CONFIG_NETKEY_DELETEnet_key_index:
Uint12
ConfigOpcode.CONFIG_NETKEY_GETConfigOpcode.CONFIG_NETKEY_LISTnet_key_indices:
RangeofUint12
ConfigOpcode.CONFIG_NETKEY_STATUSstatus:
EnumofStatusCodeasUint8net_key_index:
Uint12
ConfigOpcode.CONFIG_NETKEY_UPDATEnet_key_index:
Uint12net_key:
bytes[16]
ConfigOpcode.CONFIG_NETWORK_TRANSMIT_GETConfigOpcode.CONFIG_NETWORK_TRANSMIT_SETinterval_steps:
Uint5count:
Uint3
ConfigOpcode.CONFIG_NETWORK_TRANSMIT_STATUSinterval_steps:
Uint5count:
Uint3
ConfigOpcode.CONFIG_NODE_IDENTITY_GETnet_key_index:
Uint12
ConfigOpcode.CONFIG_NODE_IDENTITY_SETnet_key_index:
Uint12identity:
EnumofNodeIdentityasUint8
ConfigOpcode.CONFIG_NODE_IDENTITY_STATUSstatus:
EnumofStatusCodeasUint8net_key_index:
Uint12identity:
EnumofNodeIdentityasUint8
ConfigOpcode.CONFIG_NODE_RESETConfigOpcode.CONFIG_NODE_RESET_STATUSConfigOpcode.CONFIG_RELAY_GETConfigOpcode.CONFIG_RELAY_SETrelay:
EnumofRelayasUint8- retransmit:
Structof interval_steps:
Uint5count:
Uint3
- retransmit:
ConfigOpcode.CONFIG_RELAY_STATUSrelay:
EnumofRelayasUint8- retransmit:
Structof interval_steps:
Uint5count:
Uint3
- retransmit:
ConfigOpcode.CONFIG_SIG_MODEL_APP_GETelement_address:
Uint16- model:
Structof model_id:
Uint16
- model:
ConfigOpcode.CONFIG_SIG_MODEL_APP_LISTstatus:
EnumofStatusCodeasUint8element_address:
Uint16- model:
Structof model_id:
Uint16
- model:
app key indices:
RangeofUint12
ConfigOpcode.CONFIG_SIG_MODEL_SUBSCRIPTION_GETelement_address:
Uint16- model:
Structof model_id:
Uint16
- model:
ConfigOpcode.CONFIG_SIG_MODEL_SUBSCRIPTION_LISTstatus:
EnumofStatusCodeasUint8element_address:
Uint16- model:
Structof model_id:
Uint16
- model:
addresses:
RangeofUint16
ConfigOpcode.CONFIG_VENDOR_MODEL_APP_GETelement_address:
Uint16- model:
Structof vendor_id:
Uint16model_id:
Uint16
- model:
ConfigOpcode.CONFIG_VENDOR_MODEL_APP_LISTstatus:
EnumofStatusCodeasUint8element_address:
Uint16- model:
Structof vendor_id:
Uint16model_id:
Uint16
- model:
app_key_indices:
RangeofUint12
ConfigOpcode.CONFIG_VENDOR_MODEL_SUBSCRIPTION_GETelement_address:
Uint16- model:
Structof vendor_id:
Uint16model_id:
Uint16
- model:
ConfigOpcode.CONFIG_VENDOR_MODEL_SUBSCRIPTION_LISTstatus:
EnumofStatusCodeasUint8element_address:
Uint16- model:
Structof vendor_id:
Uint16model_id:
Uint16
- model:
addresses:
RangeofUint16
- params:
Health¶
- bluetooth_mesh.messages.health.HealthMessage = <SwitchStruct <Struct>>¶
opcode:
Uint32- params:
Switchby opcode HealthOpcode.HEALTH_ATTENTION_GETHealthOpcode.HEALTH_ATTENTION_SETattention:
Uint8
HealthOpcode.HEALTH_ATTENTION_SET_UNACKNOWLEDGEDattention:
Uint8
HealthOpcode.HEALTH_ATTENTION_STATUSattention:
Uint8
HealthOpcode.HEALTH_CURRENT_STATUStest_id:
Uint8company_id:
Uint16fault_array:
RangeofUint8
HealthOpcode.HEALTH_FAULT_CLEARcompany_id:
Uint16
HealthOpcode.HEALTH_FAULT_CLEAR_UNACKNOWLEDGEDcompany_id:
Uint16
HealthOpcode.HEALTH_FAULT_GETcompany_id:
Uint16
HealthOpcode.HEALTH_FAULT_STATUStest_id:
Uint8company_id:
Uint16fault_array:
RangeofUint8
HealthOpcode.HEALTH_FAULT_TESTtest_id:
Uint8company_id:
Uint16
HealthOpcode.HEALTH_FAULT_TEST_UNACKNOWLEDGEDtest_id:
Uint8company_id:
Uint16
HealthOpcode.HEALTH_PERIOD_GETHealthOpcode.HEALTH_PERIOD_SETfast_period_divisor:
Uint8
HealthOpcode.HEALTH_PERIOD_SET_UNACKNOWLEDGEDfast_period_divisor:
Uint8
HealthOpcode.HEALTH_PERIOD_STATUSfast_period_divisor:
Uint8
- params:
Generic Level¶
- bluetooth_mesh.messages.generic.level.GenericLevelMessage = <SwitchStruct <Struct>>¶
opcode:
Uint32- params:
Switchby opcode GenericLevelOpcode.GENERIC_LEVEL_GETGenericLevelOpcode.GENERIC_LEVEL_SEToptional:Structoflevel:
Int16tid:
Uint8- transition_time:
Structof resolution:
Uint2steps:
Uint6
- transition_time:
delay:
Uint8
minimal:Structoflevel:
Int16tid:
Uint8
GenericLevelOpcode.GENERIC_LEVEL_SET_UNACKNOWLEDGEDoptional:Structoflevel:
Int16tid:
Uint8- transition_time:
Structof resolution:
Uint2steps:
Uint6
- transition_time:
delay:
Uint8
minimal:Structoflevel:
Int16tid:
Uint8
GenericLevelOpcode.GENERIC_LEVEL_STATUSoptional:Structofpresent_level:
Int16target_level:
Int16- remaining_time:
Structof resolution:
Uint2steps:
Uint6
- remaining_time:
minimal:Structofpresent_level:
Int16
GenericLevelOpcode.GENERIC_DELTA_SEToptional:Structofdelta_level:
Int32tid:
Uint8- transition_time:
Structof resolution:
Uint2steps:
Uint6
- transition_time:
delay:
Uint8
minimal:Structofdelta_level:
Int32tid:
Uint8
GenericLevelOpcode.GENERIC_DELTA_SET_UNACKNOWLEDGEDoptional:Structofdelta_level:
Int32tid:
Uint8- transition_time:
Structof resolution:
Uint2steps:
Uint6
- transition_time:
delay:
Uint8
minimal:Structofdelta_level:
Int32tid:
Uint8
GenericLevelOpcode.GENERIC_MOVE_SEToptional:Structofdelta_level:
Int16tid:
Uint8- transition_time:
Structof resolution:
Uint2steps:
Uint6
- transition_time:
delay:
Uint8
minimal:Structofdelta_level:
Int16tid:
Uint8
GenericLevelOpcode.GENERIC_MOVE_SET_UNACKNOWLEDGEDoptional:Structofdelta_level:
Int16tid:
Uint8- transition_time:
Structof resolution:
Uint2steps:
Uint6
- transition_time:
delay:
Uint8
minimal:Structofdelta_level:
Int16tid:
Uint8
- params:
Generic OnOff¶
- bluetooth_mesh.messages.generic.onoff.GenericOnOffMessage = <SwitchStruct <Struct>>¶
opcode:
Uint32- params:
Switchby opcode GenericOnOffOpcode.GENERIC_ONOFF_GETGenericOnOffOpcode.GENERIC_ONOFF_SEToptional:Structofonoff:
Uint8tid:
Uint8- transition_time:
Structof resolution:
Uint2steps:
Uint6
- transition_time:
delay:
Uint8
minimal:Structofonoff:
Uint8tid:
Uint8
GenericOnOffOpcode.GENERIC_ONOFF_SET_UNACKNOWLEDGEDoptional:Structofonoff:
Uint8tid:
Uint8- transition_time:
Structof resolution:
Uint2steps:
Uint6
- transition_time:
delay:
Uint8
minimal:Structofonoff:
Uint8tid:
Uint8
GenericOnOffOpcode.GENERIC_ONOFF_STATUSoptional:Structofpresent_onoff:
Uint8target_onoff:
Uint8- remaining_time:
Structof resolution:
Uint2steps:
Uint6
- remaining_time:
minimal:Structofpresent_onoff:
Uint8
- params:
Generic Battery¶
- bluetooth_mesh.messages.generic.battery.GenericBatteryMessage = <SwitchStruct <Struct>>¶
opcode:
Uint32- params:
Switchby opcode GenericBatteryOpcode.GENERIC_BATTERY_GETGenericBatteryOpcode.GENERIC_BATTERY_STATUSbattery_level:
Uint8time_to_discharge:
Uint24time_to_charge:
Uint24- flags:
Structof battery_serviceability_flags:
EnumofGenericBatteryFlagsServiceabilityasUint2battery_charging_flags:
EnumofGenericBatteryFlagsChargingasUint2battery_indicator_flags:
EnumofGenericBatteryFlagsIndicatorasUint2battery_presence_flags:
EnumofGenericBatteryFlagsPresenceasUint2
- flags:
- params:
Light Lightness¶
Server¶
- class bluetooth_mesh.messages.generic.light.lightness.LightLightnessOpcode(value)[source]¶
An enumeration.
- bluetooth_mesh.messages.generic.light.lightness.LightLightnessMessage = <SwitchStruct <Struct>>¶
opcode:
Uint32- params:
Switchby opcode LightLightnessOpcode.LIGHT_LIGHTNESS_GETLightLightnessOpcode.LIGHT_LIGHTNESS_SEToptional:Structoflightness:
Uint16tid:
Uint8- transition_time:
Structof resolution:
Uint2steps:
Uint6
- transition_time:
delay:
Uint8
minimal:Structoflightness:
Uint16tid:
Uint8
LightLightnessOpcode.LIGHT_LIGHTNESS_SET_UNACKNOWLEDGEDoptional:Structoflightness:
Uint16tid:
Uint8- transition_time:
Structof resolution:
Uint2steps:
Uint6
- transition_time:
delay:
Uint8
minimal:Structoflightness:
Uint16tid:
Uint8
LightLightnessOpcode.LIGHT_LIGHTNESS_STATUSoptional:Structofpresent_lightness:
Uint16target_lightness:
Uint16- remaining_time:
Structof resolution:
Uint2steps:
Uint6
- remaining_time:
minimal:Structofpresent_lightness:
Uint16
LightLightnessOpcode.LIGHT_LIGHTNESS_LINEAR_GETLightLightnessOpcode.LIGHT_LIGHTNESS_LINEAR_SEToptional:Structoflightness:
Uint16tid:
Uint8- transition_time:
Structof resolution:
Uint2steps:
Uint6
- transition_time:
delay:
Uint8
minimal:Structoflightness:
Uint16tid:
Uint8
LightLightnessOpcode.LIGHT_LIGHTNESS_LINEAR_SET_UNACKNOWLEDGEDoptional:Structoflightness:
Uint16tid:
Uint8- transition_time:
Structof resolution:
Uint2steps:
Uint6
- transition_time:
delay:
Uint8
minimal:Structoflightness:
Uint16tid:
Uint8
LightLightnessOpcode.LIGHT_LIGHTNESS_LINEAR_STATUSoptional:Structofpresent_lightness:
Uint16target_lightness:
Uint16- remaining_time:
Structof resolution:
Uint2steps:
Uint6
- remaining_time:
minimal:Structofpresent_lightness:
Uint16
LightLightnessOpcode.LIGHT_LIGHTNESS_LAST_GETLightLightnessOpcode.LIGHT_LIGHTNESS_LAST_STATUSlightness:
Uint16
LightLightnessOpcode.LIGHT_LIGHTNESS_DEFAULT_GETLightLightnessOpcode.LIGHT_LIGHTNESS_DEFAULT_STATUSlightness:
Uint16
LightLightnessOpcode.LIGHT_LIGHTNESS_RANGE_GETLightLightnessOpcode.LIGHT_LIGHTNESS_RANGE_STATUSstatus:
EnumofStatusCodeasUint8range_min:
Uint16range_max:
Uint16
- params:
Setup Server¶
- class bluetooth_mesh.messages.generic.light.lightness.LightLightnessSetupOpcode(value)[source]¶
An enumeration.
- bluetooth_mesh.messages.generic.light.lightness.LightLightnessSetupMessage = <SwitchStruct <Struct>>¶
opcode:
Uint32- params:
Switchby opcode LightLightnessSetupOpcode.LIGHT_LIGHTNESS_SETUP_DEFAULT_SETlightness:
Uint16
LightLightnessSetupOpcode.LIGHT_LIGHTNESS_SETUP_DEFAULT_SET_UNACKNOWLEDGEDlightness:
Uint16
LightLightnessSetupOpcode.LIGHT_LIGHTNESS_SETUP_RANGE_SETrange_min:
Uint16range_max:
Uint16
LightLightnessSetupOpcode.LIGHT_LIGHTNESS_SETUP_RANGE_SET_UNACKNOWLEDGEDrange_min:
Uint16range_max:
Uint16
- params:
Light CTL¶
Server¶
- bluetooth_mesh.messages.generic.light.ctl.LightCTLMessage = <SwitchStruct <Struct>>¶
opcode:
Uint32- params:
Switchby opcode LightCTLOpcode.LIGHT_CTL_GETLightCTLOpcode.LIGHT_CTL_SEToptional:Structofctl_lightness:
Uint16ctl_temperature:
Uint16ctl_delta_uv:
Uint16tid:
Uint8- transition_time:
Structof resolution:
Uint2steps:
Uint6
- transition_time:
delay:
Uint8
minimal:Structofctl_lightness:
Uint16ctl_temperature:
Uint16ctl_delta_uv:
Uint16tid:
Uint8
LightCTLOpcode.LIGHT_CTL_SET_UNACKNOWLEDGEDoptional:Structofctl_lightness:
Uint16ctl_temperature:
Uint16ctl_delta_uv:
Uint16tid:
Uint8- transition_time:
Structof resolution:
Uint2steps:
Uint6
- transition_time:
delay:
Uint8
minimal:Structofctl_lightness:
Uint16ctl_temperature:
Uint16ctl_delta_uv:
Uint16tid:
Uint8
LightCTLOpcode.LIGHT_CTL_STATUSoptional:Structofpresent_ctl_lightness:
Uint16present_ctl_temperature:
Uint16target_ctl_lightness:
Uint16target_ctl_temperature:
Uint16- remaining_time:
Structof resolution:
Uint2steps:
Uint6
- remaining_time:
minimal:Structofpresent_ctl_lightness:
Uint16present_ctl_temperature:
Uint16
LightCTLOpcode.LIGHT_CTL_TEMPERATURE_GETLightCTLOpcode.LIGHT_CTL_TEMPERATURE_RANGE_GETLightCTLOpcode.LIGHT_CTL_TEMPERATURE_RANGE_STATUSstatus:
EnumofStatusCodeasUint8range_min:
Uint16range_max:
Uint16
LightCTLOpcode.LIGHT_CTL_TEMPERATURE_SEToptional:Structofctl_temperature:
Uint16ctl_delta_uv:
Uint16tid:
Uint8- transition_time:
Structof resolution:
Uint2steps:
Uint6
- transition_time:
delay:
Uint8
minimal:Structofctl_temperature:
Uint16ctl_delta_uv:
Uint16tid:
Uint8
LightCTLOpcode.LIGHT_CTL_TEMPERATURE_SET_UNACKNOWLEDGEDoptional:Structofctl_temperature:
Uint16ctl_delta_uv:
Uint16tid:
Uint8- transition_time:
Structof resolution:
Uint2steps:
Uint6
- transition_time:
delay:
Uint8
minimal:Structofctl_temperature:
Uint16ctl_delta_uv:
Uint16tid:
Uint8
LightCTLOpcode.LIGHT_CTL_TEMPERATURE_STATUSoptional:Structofpresent_ctl_temperature:
Uint16present_ctl_delta_uv:
Uint16target_ctl_temperature:
Uint16target_ctl_delta_uv:
Uint16- remaining_time:
Structof resolution:
Uint2steps:
Uint6
- remaining_time:
minimal:Structofpresent_ctl_temperature:
Uint16present_ctl_delta_uv:
Uint16
LightCTLOpcode.LIGHT_CTL_TEMPERATURE_DEFAULT_GETLightCTLOpcode.LIGHT_CTL_TEMPERATURE_DEFAULT_STATUSctl_lightness:
Uint16ctl_temperature:
Uint16ctl_delta_uv:
Uint16
- params:
Setup Server¶
- bluetooth_mesh.messages.generic.light.ctl.LightCTLSetupMessage = <SwitchStruct <Struct>>¶
opcode:
Uint32- params:
Switchby opcode LightCTLSetupOpcode.LIGHT_CTL_SETUP_TEMPERATURE_DEFAULT_SETctl_lightness:
Uint16ctl_temperature:
Uint16ctl_delta_uv:
Uint16
LightCTLSetupOpcode.LIGHT_CTL_SETUP_TEMPERATURE_DEFAULT_SET_UNACKNOWLEDGEDctl_lightness:
Uint16ctl_temperature:
Uint16ctl_delta_uv:
Uint16
LightCTLSetupOpcode.LIGHT_CTL_SETUP_TEMPERATURE_RANGE_SETrange_min:
Uint16range_max:
Uint16
LightCTLSetupOpcode.LIGHT_CTL_SETUP_TEMPERATURE_RANGE_SET_UNACKNOWLEDGEDrange_min:
Uint16range_max:
Uint16
- params:
Scene Server¶
- bluetooth_mesh.messages.scene.SceneMessage = <SwitchStruct <Struct>>¶
opcode:
Uint32- params:
Switchby opcode SceneOpcode.SCENE_GETSceneOpcode.SCENE_RECALLoptional:Structofscene_number:
Uint16tid:
Uint8- transition_time:
Structof resolution:
Uint2steps:
Uint6
- transition_time:
delay:
Uint8
minimal:Structofscene_number:
Uint16tid:
Uint8
SceneOpcode.SCENE_RECALL_UNACKNOWLEDGEDoptional:Structofscene_number:
Uint16tid:
Uint8- transition_time:
Structof resolution:
Uint2steps:
Uint6
- transition_time:
delay:
Uint8
minimal:Structofscene_number:
Uint16tid:
Uint8
SceneOpcode.SCENE_STATUSoptional:Structofstatus_code:
EnumofSceneStatusCodeasUint8current_scene:
Uint16target_scene:
Uint16- remaining_time:
Structof resolution:
Uint2steps:
Uint6
- remaining_time:
minimal:Structofstatus_code:
EnumofSceneStatusCodeasUint8current_scene:
Uint16
SceneOpcode.SCENE_REGISTER_GETSceneOpcode.SCENE_REGISTER_STATUSstatus_code:
EnumofSceneStatusCodeasUint8current_scene:
Uint16scenes:
RangeofUint16
SceneOpcode.SCENE_STOREscene_number:
Uint16
SceneOpcode.SCENE_STORE_UNACKNOWLEDGEDscene_number:
Uint16
SceneOpcode.SCENE_DELETEscene_number:
Uint16
SceneOpcode.SCENE_DELETE_UNACKNOWLEDGEDscene_number:
Uint16
- params:
Sensor¶
Server¶
- bluetooth_mesh.messages.sensor.SensorMessage = <SwitchStruct <Struct>>¶
opcode:
Uint32- params:
Switchby opcode SensorOpcode.SENSOR_DESCRIPTOR_GEToptional:Structof- property_id:
Selectfrom EnumofPropertyIDasUint16Uint16
- property_id:
minimal:Structof
SensorOpcode.SENSOR_DESCRIPTOR_STATUSoptional:Structof- sensor_property_id:
Selectfrom EnumofPropertyIDasUint16Uint16
- sensor_property_id:
sensor_positive_tolerance:
Uint12sensor_negative_tolerance:
Uint12sensor_sampling_funcion:
Uint8sensor_measurement_period:
Uint8sensor_update_interval:
Uint8
minimal:Structof- sensor_property_id:
Selectfrom EnumofPropertyIDasUint16Uint16
- sensor_property_id:
SensorOpcode.SENSOR_GEToptional:Structof- property_id:
Selectfrom EnumofPropertyIDasUint16Uint16
- property_id:
minimal:Structof
SensorOpcode.SENSOR_STATUS
- params:
Setup Server¶
- bluetooth_mesh.messages.sensor.SensorSetupMessage = <SwitchStruct <Struct>>¶
opcode:
Uint32- params:
Switchby opcode SensorSetupOpcode.SENSOR_CADENCE_GET- property_id:
Selectfrom EnumofPropertyIDasUint16Uint16
- property_id:
SensorSetupOpcode.SENSOR_SETTINGS_GET- sensor_property_id:
Selectfrom EnumofPropertyIDasUint16Uint16
- sensor_property_id:
SensorSetupOpcode.SENSOR_SETTINGS_STATUS- sensor_property_id:
Selectfrom EnumofPropertyIDasUint16Uint16
- sensor_property_id:
- sensor_setting_property_ids:
RangeofSelectfrom EnumofPropertyIDasUint16Uint16
- sensor_setting_property_ids:
SensorSetupOpcode.SENSOR_SETTING_GET- sensor_property_id:
Selectfrom EnumofPropertyIDasUint16Uint16
- sensor_property_id:
- sensor_setting_property_id:
Selectfrom EnumofPropertyIDasUint16Uint16
- sensor_setting_property_id:
SensorSetupOpcode.SENSOR_SETTING_SETSensorSetupOpcode.SENSOR_SETTING_SET_UNACKNOWLEDGEDSensorSetupOpcode.SENSOR_SETTING_STATUS
- params:
Time¶
- bluetooth_mesh.messages.time.TimeMessage = <SwitchStruct <Struct>>¶
opcode:
Uint32- params:
Switchby opcode TimeOpcode.TIME_GETTimeOpcode.TIME_SEToptional:Structoftai_seconds:
Uint40subsecond:
Uint8uncertainty:
Uint8tai_utc_delta:
Uint15time_authority:
booltime_zone_offset:
Uint8
minimal:Structoftai_seconds:
Uint40
TimeOpcode.TIME_STATUSoptional:Structoftai_seconds:
Uint40subsecond:
Uint8uncertainty:
Uint8tai_utc_delta:
Uint15time_authority:
booltime_zone_offset:
Uint8
minimal:Structoftai_seconds:
Uint40
TimeOpcode.TIME_ZONE_GETTimeOpcode.TIME_ZONE_SETtime_zone_offset_new:
Uint8tai_of_zone_change:
Uint40
TimeOpcode.TIME_ZONE_STATUStime_zone_offset_current:
Uint8time_zone_offset_new:
Uint8tai_of_zone_change:
Uint40
TimeOpcode.TAI_UTC_DELTA_GETTimeOpcode.TAI_UTC_DELTA_SETtai_utc_delta_new:
Uint15tai_of_delta_change:
Uint40
TimeOpcode.TAI_UTC_DELTA_STATUStai_utc_delta_current:
Uint15tai_utc_delta_new:
Uint15tai_of_delta_change:
Uint40
TimeOpcode.TIME_ROLE_GETTimeOpcode.TIME_ROLE_SETtime_role:
EnumofTimeRoleasUint8
TimeOpcode.TIME_ROLE_STATUStime_role:
EnumofTimeRoleasUint8
- params:
Silvair Debug¶
- bluetooth_mesh.messages.silvair.debug.DebugMessage = <SwitchStruct <Struct>>¶
opcode:
Uint32- params:
Switchby opcode DebugOpcode.SILVAIR_DEBUGsubopcode:
EnumofDebugSubOpcodeasUint8- payload:
Switchby subopcode DebugSubOpcode.RSSI_THRESHOLD_GETDebugSubOpcode.RSSI_THRESHOLD_SETrssi_threshold:
Uint8
DebugSubOpcode.RSSI_THRESHOLD_STATUSrssi_threshold:
Uint8
DebugSubOpcode.RADIO_TESTpacket_counter:
Uint8
DebugSubOpcode.UPTIME_GETDebugSubOpcode.UPTIME_STATUSuptime:
Uint32
DebugSubOpcode.LAST_SW_FAULT_GETDebugSubOpcode.LAST_SW_FAULT_CLEARDebugSubOpcode.LAST_SW_FAULT_STATUStime:
Uint32fault:
bytes
DebugSubOpcode.SYSTEM_STATS_GETDebugSubOpcode.SYSTEM_STATS_STATUS- stats:
RangeofStructof name:
byteshigh_water_mark:
Uint32
- stats:
DebugSubOpcode.LAST_MALLOC_FAULT_GETDebugSubOpcode.LAST_MALLOC_FAULT_CLEARDebugSubOpcode.LAST_MALLOC_FAULT_STATUStime:
Uint32fault:
bytes
DebugSubOpcode.LAST_FDS_FAULT_GETDebugSubOpcode.LAST_FDS_FAULT_CLEARDebugSubOpcode.LAST_FDS_FAULT_STATUStime:
Uint32fault:
bytes
DebugSubOpcode.BYTES_BEFORE_GARBAGE_COLLECTOR_GETDebugSubOpcode.BYTES_BEFORE_GARBAGE_COLLECTOR_STATUSbytes_left:
Uint16
DebugSubOpcode.PROVISIONED_APP_VERSION_GETDebugSubOpcode.PROVISIONED_APP_VERSION_STATUSversion:
Uint16
DebugSubOpcode.FULL_FIRMWARE_VERSION_GETDebugSubOpcode.FULL_FIRMWARE_VERSION_STATUSversion:
bytes
DebugSubOpcode.IV_INDEX_GETDebugSubOpcode.IV_INDEX_STATUSivindex:
Uint32
DebugSubOpcode.GARBAGE_COLLECTOR_COUNTER_GETDebugSubOpcode.GARBAGE_COLLECTOR_COUNTER_STATUScounter:
Uint16
DebugSubOpcode.ARAP_LIST_SIZE_GETDebugSubOpcode.ARAP_LIST_SIZE_STATUSnew:Structofcapacity:
Uint16size:
Uint16
old:Structofcapacity:
Uint8size:
Uint8
DebugSubOpcode.ARAP_LIST_CONTENT_GETpage:
Uint8
DebugSubOpcode.ARAP_LIST_CONTENT_STATUScurrent_page:
Uint8last_page:
Uint8- nodes:
RangeofStructof sequence:
Uint24ivi:
Uint1address:
Uint15
- nodes:
- payload:
- params:
Network Diagnostic¶
Server¶
- class bluetooth_mesh.messages.silvair.network_diagnostic_server.NetworkDiagnosticServerOpcode(value)[source]¶
An enumeration.
- class bluetooth_mesh.messages.silvair.network_diagnostic_server.NetworkDiagnosticServerSubOpcode(value)[source]¶
An enumeration.
- bluetooth_mesh.messages.silvair.network_diagnostic_server.NetworkDiagnosticServerMessage = <SwitchStruct <Struct>>¶
opcode:
Uint32- params:
Switchby opcode NetworkDiagnosticServerOpcode.SILVAIR_NDSsubopcode:
EnumofNetworkDiagnosticServerSubOpcodeasUint8- payload:
Switchby subopcode NetworkDiagnosticServerSubOpcode.SUBSCRIPTION_GETNetworkDiagnosticServerSubOpcode.SUBSCRIPTION_SETdestination:
Uint16period:
Uint16
NetworkDiagnosticServerSubOpcode.SUBSCRIPTION_SET_UNACKNOWLEDGEDdestination:
Uint16period:
Uint16
NetworkDiagnosticServerSubOpcode.SUBSCRIPTION_STATUSdestination:
Uint16period:
Uint16max_record_count:
Uint8- record:
RangeofStructof source:
Uint16count:
Uint16min_hops:
Uint8max_hops:
Uint8
- record:
NetworkDiagnosticServerSubOpcode.RADIO_STAT_GET
- payload:
- params:
Setup Server¶
- class bluetooth_mesh.messages.silvair.network_diagnostic_server.NetworkDiagnosticSetupServerOpcode(value)[source]¶
An enumeration.
- class bluetooth_mesh.messages.silvair.network_diagnostic_server.NetworkDiagnosticSetupServerSubOpcode(value)[source]¶
An enumeration.
- bluetooth_mesh.messages.silvair.network_diagnostic_server.NetworkDiagnosticSetupServerMessage = <SwitchStruct <Struct>>¶
opcode:
Uint32- params:
Switchby opcode NetworkDiagnosticSetupServerOpcode.SILVAIR_NDS_SETUPsubopcode:
EnumofNetworkDiagnosticSetupServerSubOpcodeasUint8- payload:
Switchby subopcode NetworkDiagnosticSetupServerSubOpcode.PUBLICATION_GETNetworkDiagnosticSetupServerSubOpcode.PUBLICATION_SEToptional:Structofdestination:
Uint16count:
Uint16- period:
Structof resolution:
Uint2steps:
Uint6
- period:
ttl:
Uint8net_key_index:
Uint16features:
Uint16
minimal:Structofdestination:
Uint16count:
Uint16- period:
Structof resolution:
Uint2steps:
Uint6
- period:
ttl:
Uint8net_key_index:
Uint16
NetworkDiagnosticSetupServerSubOpcode.PUBLICATION_STATUSoptional:Structofdestination:
Uint16count:
Uint16- period:
Structof resolution:
Uint2steps:
Uint6
- period:
ttl:
Uint8net_key_index:
Uint16features:
Uint16
minimal:Structofdestination:
Uint16count:
Uint16- period:
Structof resolution:
Uint2steps:
Uint6
- period:
ttl:
Uint8net_key_index:
Uint16
- payload:
- params: