Q2686 UART Buffer size


#1

Hai,

Module :: Q2686G.
The firmware version is :: R74_00gg.Q2686G
Application OS :: 06.21
Boot loader version :: V08b0e

                        In ADL user guide[v6.30] ,  they mentioned , UART receive buffer can receive maximum 120bytes.  But, by  default, it is receiving 56 bytes. If we are sending to UART, we can mention the size of data in adl_fcmSendData/Ext. But, while receiving, where we need to change the maximum level to 120 from 56.
                        I gone through the previous posts related to almost same question, like
   viewtopic.php?f=109&t=4843&p=19774&hilit=fcm#p19774

                     But, can not get where to mention the maximum bytes.

                                 thank you,

#2

Where, exactly, in the ADL USer Guide did you read that?

I think you are confusing the UART (hardware) with the Flow Control Manager (FCM) - an ADL service?

This has nothing to do with the UART hardware - it is in the nature of how FCM gathers received bytes to be delivered to the Data Handler.

It would be very inefficient if FCM were to make a Data Handler call on every single received byte…!

No, you do not need to - and you can’t, anyhow!

You must write your code to receive the data in whatever arbitrarily-sized “chunks” FCM decides to deliver it in!

When referencing a post, you need to post the full URL - it is the forum that abbreviates it when it automatically converts it to a clickable link. (in MS IE, right-click the link, and choose ‘Copy Shortcut’).
I take it you mean this: https://forum.sierrawireless.com/t/fcm-and-wip/4407/10

Isn’t it clear in that post:

Again, You must write your code to receive the data in whatever arbitrarily-sized “chunks” FCM decides to deliver it to you!

See also: https://forum.sierrawireless.com/t/send-data-fromq2686-to-microncontroller-through-uart2/4728/6

And: https://forum.sierrawireless.com/t/fcm-newby/4115/5


#3

hai awneil,

                 now I understood the concept . thank you. In further posts I will correct the mistakes, which  I made this time[URL thing] when posted the question. thank you very much