Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Smart Bluetooth Forum Discussions

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
10 sign-ins 10 comments on KBA 5 comments on KBA
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
10 sign-ins 10 comments on KBA 5 comments on KBA
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

0 Likes