cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Bluetooth

Anonymous
Not applicable

Hi Sir,

I saw a callback function in puart.h.

extern void (*puart_rxIntCb)(void);

What's this for? And can we use it?

0 Likes
1 Solution
VikramR_26
Employee

This is used in WICED sense app

    // Set callback function to app callback function.

    // Callback function is assigned to whatever Function was passed into App_Puart_Init, in this case 'puart_interrupt_callback'

    puart_rxCb = puart_rx_callback;

HTH

vik86

View solution in original post

0 Likes
2 Replies
Anonymous
Not applicable

Hello Fran,

Please see the uart_firmware_upgrade sample in the SDK 2.2

Thanks

JT

0 Likes
VikramR_26
Employee

This is used in WICED sense app

    // Set callback function to app callback function.

    // Callback function is assigned to whatever Function was passed into App_Puart_Init, in this case 'puart_interrupt_callback'

    puart_rxCb = puart_rx_callback;

HTH

vik86

View solution in original post

0 Likes