Hi,
My app has to send some data to the network. These data are collected from a component (A) and send to another (B) in order to be sent to the network.
The component in charge of the sending to the remote server provides following API:
FUNCTION int connect
(
string url[32] IN,
int port IN,
string deviceId[32] IN,
string username[32] IN,
string password[32] IN
);
FUNCTION int publish
(
string payload[MAX_BUFFER_SIZE] IN,
int payloadlength IN
);
I noticed that when the MAX_BUFFER_SIZE is set to a value > 1000 the value of payloadlength is not correct in my server.
For exemple if A called the publish service with a buffer size equals to 4900 bytes and as a consequence the payloadlength equals 4900 the payloadlength received into my component B is not equal to 4900 (As an example I just had 1853212).
[]Is this a legato limitation ?[/]
[]What can you advise me to send big buffer through an IPC ? should I use file to log my data and read them from the service function[/]
Note: I have to acquired about 500 bytes of data per seconds.
Thanks for your help !
David