KW41Z control bridge example serial Tx data generate

cancel
Showing results for 
Search instead for 
Did you mean: 

KW41Z control bridge example serial Tx data generate

80 Views
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 Kudos
2 Replies

35 Views
gustcool2
Contributor II

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

0 Kudos

35 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi JunTae,

Please let me know if you have any further questions.

Regards,

Mario

0 Kudos