AnsweredAssumed Answered

RTCS_create() returns "RTCSERR_CREATE_POOL_FAILED"

Question asked by panpwr on Dec 12, 2012
Latest reply on Dec 13, 2012 by panpwr

Hello,

 

When I am trying to use RTCS_create(), I am receiving "RTCSERR_CREATE_POOL_FAILED". I understand that it is somehow related to lack of message pool memory, but I don't know how to configure RTCS to overcome this porblem.

 

I've tried playing with the following values, and even with the following high values - the error persists:

_RTCS_msgpool_init   = 300;   //default = 32

_RTCS_msgpool_grow = 100;  //default = 16

_RTCS_msgpool_max  = 400;  //default = 160

 


My system has 2 message pools I've explicitly created by using _msgpool_create():

The first pool:

message_size = 9 bytes

num_messages = 10

grow_number = 0

grow_limit = 0 (unlimited)

 

The second pool:

message_size = 13 bytes

num_messages = 10

grow_number = 0

grow_limit = 0 (unlimited)

 

Please advise.

Thanks,

Lior.

Outcomes