NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char RemoteGetFirmwareVersion ( byte  conn,
byte &  pmin,
byte &  pmaj,
byte &  fmin,
byte &  fmaj 
)
inline

Send a GetFirmwareVersion message.

This method sends a GetFirmwareVersion system command to the device on the specified connection.

Warning
This function requires the enhanced NBC/NXC firmware version 1.28+.
Parameters
connThe connection slot (0..4). Connections 0 through 3 are for bluetooth connections. Connection 4 refers to the RS485 hi-speed port. See Remote connection constants.
pminThe protocol minor version byte.
pmajThe protocol major version byte.
fminThe firmware minor version byte.
fmajThe firmware major version byte.
Returns
A char value indicating whether the function call succeeded or not.
Examples:
ex_RemoteGetFirmwareVersion.nxc.