Part Number:CC2652R
此处的UpdateCallback,并没有在ti_device_composition.h自动生成对应的函数声明,导致无法通过编译。不知是否是ide的bug。或者需要用户自行修改zephyr源文件定义该函数声明?
Kevin Qiu1:
你使用的SDK和CCS版本是多少
,
Daoming Liu:
simplelink_cc13x2_26x2_sdk_5_20_00_52
ccs10.2
,
Kevin Qiu1:
Daoming Liu 说:不知是否是ide的bug。或者需要用户自行修改zephyr源文件定义该函数声明?
应该是后者,以下是关于这个的说明
The Model Publication state is a composite state that controls parameters of messages that are published by a model. The state includes a Publish Address, a Publish Period, a Publish AppKey Index, a Publish Friendship Credential Flag, a Publish TTL, a Publish Retransmission Count, and a Publish Retransmit Interval Steps. Within an element, each model has a separate instance of Model Publication state. It is highly recommended that models defined by higher layer specifications use instances of the Model Publication state to control the publishing of messages