BGS5T: continuously reading on ASC0 | Telit Cinterion IoT Developer Community
June 19, 2015 - 8:43am, 2279 views
Hi,
I am building an application where I will be receiving some data on ASC0 almost continuously. What would be better, that I listen to it all time or just check it every 10mins if values change? Could this be any problem for modules buffer?
I already had once a problem where device would send me some data every 2 seconds and when module would start up, some of the data were interpreted as AT command and module would crash.Even thoue that data was not AT comamnd. Here will be a lot more data in shorter time could this raise any problems like overheating or failing ASC0 in some period of time like half a year?
So what are the things that I should be cautious about?
Regards,
Jure
Hello,
Usually you have to send the request to the device to get the response. Does your device send data continuously without request? You should then open the connection and read everything that is coming.
How about the flow control does the device use hardware flow control? With the flow control the device will not send anything until you want to receive. With no flow control the device will send constantly and if you not read the buffer may be overwritten.
If the data will be coming really fast and without any break and your application will need to process it constantly there may be an impact on the overall performance - but you need to test it.
Generally it would be probably better if the device would not send any data until initialized by your application. In other case there may be like you have described that the data will be coming before the application starts and received by the AT commands interpreter.
Another question would be if the device is configurable anyhow and how frequent communication is really needed for your solution.
The hardware is designed and tested so there should not be any overheating. But this probably depends also on the whole solution hardware design - not only the module.
Regards,
Bartłomiej
Hello,
I don't have to send request, because it's sending continuously. and I can't configure how fast intervals are. Currently I am reading whole time and from time to time I seend something back and it looks that it will work.
I am not awere that it has hardware flow control, but I will check about it.
Soon we will have 5 modules in the field and we will se how it works out.
Thank you for you response.
Regards,
Jure