root/tags/version-4.02/RWTHMindstormsNXT/doc/functions/help/NXT_GetFirmwareVersion.html @ 823

Revision 823, 3.3 KB (checked in by atorf, 4 years ago)

/!\ Create tag for version-4.02

Line 
1
2<!DOCTYPE html
3  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4<html><head>
5      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6   <!--
7This HTML is auto-generated from an M-file.
8To make changes, update the M-file and republish this document.
9      --><title>NXT_GetFirmwareVersion</title><meta name="generator" content="MATLAB 7.9"><meta name="date" content="2009-10-07"><meta name="m-file" content="script_NXT_GetFirmwareVersion">
10<link type="text/css" rel="stylesheet" href="../../style.css">
11  </head><body><div class="content"><h1>NXT_GetFirmwareVersion</h1><!--introduction--><p>Returns the protocol and firmware version of the NXT</p><!--/introduction--><h2>Contents</h2><div><ul><li><a href="#2">Syntax</a></li><li><a href="#5">Description</a></li><li><a href="#9">Examples</a></li><li><a href="#12">See also</a></li><li><a href="#14">Signature</a></li></ul></div><h2>Syntax<a name="2"></a></h2><p><tt>[protocol_version firmware_version] = NXT_GetFirmwareVersion()</tt></p><p><tt>[protocol_version firmware_version] = NXT_GetFirmwareVersion(handle)</tt></p><h2>Description<a name="5"></a></h2><p><tt>[protocol_version firmware_version] = NXT_GetFirmwareVersion()</tt> returns the protocol and firmware version of the NXT as strings.</p><p><tt>[protocol_version firmware_version] = NXT_GetFirmwareVersion(handle)</tt> uses the given NXT connection <tt>handle</tt>. This should be a struct containing a serial handle on a PC system and a file handle on a Linux system.</p><p>If no NXT <tt>handle</tt> is specified the default one (<tt>COM_GetDefaultNXT</tt>) is used.</p><h2>Examples<a name="9"></a></h2><pre class="codeinput">   [protocol_version firmware_version] = NXT_GetFirmwareVersion();
12</pre><pre class="codeinput">   handle = COM_OpenNXT(<span class="string">'bluetooth.ini'</span>);
13   [protocol_version firmware_version] = NXT_GetFirmwareVersion(handle);
14</pre><h2>See also<a name="12"></a></h2><p>COM_GetDefaultNXT</p><h2>Signature<a name="14"></a></h2><div><ul><li><b>Author:</b> Alexander Behrens (see AUTHORS)</li><li><b>Date:</b> 2008/05/22</li><li><b>Copyright:</b> 2007-2009, RWTH Aachen University</li></ul></div><p class="footer"><br>
15</p></div><!--
16##### SOURCE BEGIN #####
17%% NXT_GetFirmwareVersion
18% Returns the protocol and firmware version of the NXT
19%%
20%% Syntax
21% |[protocol_version firmware_version] = NXT_GetFirmwareVersion()|
22%%
23% |[protocol_version firmware_version] = NXT_GetFirmwareVersion(handle)|
24%%
25%% Description
26% |[protocol_version firmware_version] = NXT_GetFirmwareVersion()| returns the protocol and
27% firmware version of the NXT as strings.
28%%
29% |[protocol_version firmware_version] = NXT_GetFirmwareVersion(handle)| uses the given
30% NXT connection |handle|. This should be a struct containing a serial handle on a PC system and a file handle on a Linux system.
31%%
32% If no NXT |handle| is specified the default one (|COM_GetDefaultNXT|) is used.
33%%
34%% Examples
35   [protocol_version firmware_version] = NXT_GetFirmwareVersion();
36%%
37   handle = COM_OpenNXT('bluetooth.ini');
38   [protocol_version firmware_version] = NXT_GetFirmwareVersion(handle);
39%%
40%% See also
41% COM_GetDefaultNXT
42%%
43%% Signature
44%%
45% * *Author:* Alexander Behrens (see AUTHORS)
46% * *Date:* 2008/05/22
47% * *Copyright:* 2007-2009, RWTH Aachen University
48%
49
50##### SOURCE END #####
51--></body></html>
Note: See TracBrowser for help on using the browser.