Error status from tx_queue_send

Hello,
I am getting a returns status 9 from tx_queue_send(). Documentation says TX_QUEUE_ERROR with the description “Invalid message queue pointer”.

Is there anyone that could explain what a “Invalid message queue pointer” could be? Null pointer? Also if you have any general ideas what could cause an “Invalid message queue pointer”.

Thanks

Q:>Is there anyone that could explain what a “Invalid message queue pointer” could be? Null pointer? Also if you have any general ideas what could cause an “Invalid message queue pointer”.

It can be only one of two things as follows:

 You are passing in a NULL queue pointer or the queue already exists. If this is any API except create, I would guess your queue pointer got crunched somehow. IN the case of create you could be attempting to create a queue that already exists.