Ticket #86 (new bug report)

Opened 17 months ago

Last modified 7 months ago

Linux 64 Bit - SendKeepAlive does not work sometimes

Reported by: staas Owned by: staas
Priority: low Milestone: vNext
Component: Toolbox Function Keywords:
Cc:

Description

Opening a BT connection on Linux 64 Bit fails at the "SendKeepAlive?" in the "COM_OpenNXTEx". A Fix would be to do this only for PC (and maybe MAC).

Attachments

COM_OpenNXTEx.m Download (48.3 KB) - added by staas 17 months ago.
Patch

Change History

Changed 17 months ago by staas

Patch

Changed 17 months ago by atorf

Are there any specific error messages? Can the error be reproduced?

If I remember correctly, SendKeepAlive is the first "real direct command" sent to the NXT after a connection has been established. If that fails, other commands might fail too. That SendKeepAlive is a convenient check to see if a connection really works…

Changed 17 months ago by staas

Hey Linus,

there are no Error Messages at all. Matlab just hangs up. On my Laptop i can reproduce the Error, it happen every time ;-)

I havent had the chance to test this on any other Linux 64 Bit PC.

I can use the NXT when i dont send the KeepAlive? without any problems, but i see that this is kind of risky for everyday use because we havent checked the connection.

I will look further into this next Year. ;-)

Cheers

Martin

Changed 16 months ago by staas

Had no chance to test this yet.

I will not change anything as long as this Error is not reproduced on another PC.

If someone encounters this Problem please Report here.

Quick and Dirty Fix for this is to Comment out Line 325 in COM_OpenNXTEx. ( status = NXT_SendKeepAlive('reply', h);) and add "status = 0;"

Changed 7 months ago by atorf

  • priority changed from high to low

Add/Change #86 (Linux 64 Bit - SendKeepAlive does not work sometimes)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from staas. Next status will be 'assigned'
The owner will change from staas to anonymous. Next status will be 'accepted'
 
Note: See TracTickets for help on using tickets.