KW41Z control bridge example serial Tx data generate

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

KW41Z control bridge example serial Tx data generate

1,266 次查看
gustcool2
Contributor II

Hi

I am studying KW41Z control bridge code.

and I understand how the 'control bridge' receives and parses serial data.

What I want to know is the data generation process of 'nxp test tool 12'.

For example, I enter 11 and click 'Set CMSK' button.

'nxp test tool 12' generates TX DATA(01 02 10 21 02 10 02 14 2D 02 10 02 10 02 18 02 10 03  )

It means 

data type: 0x21 (E_SL_MSG_SET_CHANNELMASK)

data len : 4

data : [00 00 08 00]

   channel mask : 0x800 ( 1 << 11 )

I think I have to use 'vSL_WriteMessage(uint16 u16Type, uint16 u16Length, uint8 *pu8Data)' function to generate message.

but I don't know 'uint8 *pu8Data' structure.

Is there any code that 'nxp test tool 12' generates serial data?

or others?

thank you.

            

0 项奖励
回复
2 回复数

1,221 次查看
gustcool2
Contributor II

sorry;; I found Message Characteristics in 'AN12063-MKW41Z-AN-ZigBee-3-0-ControlBridge.pdf'

0 项奖励
回复

1,221 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi JunTae,

Please let me know if you have any further questions.

Regards,

Mario

0 项奖励
回复