================ rvDebuggerClient::SendCommand ================ */
| 667 | ================ |
| 668 | */ |
| 669 | void rvDebuggerClient::SendCommand( const char *cmdStr ) |
| 670 | { |
| 671 | idBitMsg msg; |
| 672 | byte buffer[MAX_MSGLEN]; |
| 673 | |
| 674 | if ( !mConnected ) { |
| 675 | return; |
| 676 | } |
| 677 | |
| 678 | msg.Init( buffer, sizeof( buffer ) ); |
| 679 | msg.BeginWriting( ); |
| 680 | msg.WriteShort( ( short ) DBMSG_EXECCOMMAND ); |
| 681 | msg.WriteString( cmdStr ); // FIXME: this implies make7bit ?! |
| 682 | |
| 683 | SendPacket( msg.GetData( ), msg.GetSize( ) ); |
| 684 | } |
| 685 |
no test coverage detected