Part 1
요약·해설
Client context parameter와 primary element instance 제약을 설명합니다.
Fault read
Attention
NetKey · AppKey · address
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
07483DCE432CC4DB452A2D53816C652E5F540C30C3DE819A0420B99D41E5FEF8
.. _bluetooth_mesh_models_health_cli:
Health Client
#############
The Health Client model interacts with a Health Server model to read out
diagnostics and control the node's attention state.
All message passing functions in the Health Client API have ``cli`` as
their first parameter. This is a pointer to the client model instance to be
used in this function call. The second parameter is the ``ctx`` or message
context. Message context contains netkey index, appkey index and unicast
address that the target node uses.
The Health Client model is optional, and may be instantiated on any element.
However, if a Health Client model is instantiated on an element other than the
primary, an instance must also be present on the primary element.
See :ref:`bluetooth_mesh_health_faults` for a list of specification defined
fault values.
API reference
*************
.. doxygengroup:: bt_mesh_health_cli
Part 3
한국어 전문 번역
Health Client
Health Client model은 Health Server와 상호작용해 diagnostic 정보를 읽고 node의 attention state를 제어합니다.
Message API context
Health Client API의 모든 message 전송 function은 첫 parameter로 cli를 받습니다. 이번 호출에 사용할 Client model instance pointer입니다.
두 번째 parameter는 ctx, 즉 message context입니다. Target node가 사용하는 NetKey index, AppKey index와 unicast address를 담습니다.
Element 배치
Health Client model은 optional이며 어떤 element에도 instance화할 수 있습니다. 다만 primary가 아닌 element에 instance를 둔다면 primary element에도 Health Client instance가 반드시 있어야 합니다.
Specification이 정의한 fault value는 Health faults API reference에서 확인할 수 있습니다.
API Reference
공식 bt_mesh_health_cli Doxygen group이 Health Client diagnostic·attention 제어 API를 생성합니다.
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.