I am trying to implement the application as given in diagram below:
1. Can you please guide me on creating UART ISR?
2. I tried to use UART non blocking example code. When i call UART_read() function, it come out of this function after timeout period. Then it wait for semaphore which is expected to be set in callback function. But as there is no data from external MCU, it keep waiting from semaphore and callback function is never called. I am not sure if this is the right way of using this example code for above application.
3. If I use UART blocking code example then when UART_readPolling() is called, it blocks the UART task as well as cloud task.
Please suggest, how should i proceed implementing above application.