KW41Z control bridge example serial Tx data generate

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

KW41Z control bridge example serial Tx data generate

1,278件の閲覧回数
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,233件の閲覧回数
gustcool2
Contributor II

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

0 件の賞賛
返信

1,233件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi JunTae,

Please let me know if you have any further questions.

Regards,

Mario

0 件の賞賛
返信