-
Code: |
AS + 608 |
Symbolic: |
bccNetInfo |
This command will try to query connected network device information. Request has no parameters.
On success, a bccAck is received with following data:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
TYPE |
Network device type: 0x00000000 Generic network device 0x00000001 NET.INT. expansion board 0x00000002 TCP server/BCC library |
4 |
U32 |
VERS |
Network device version (nvMake format) |
... |
... |
... |
More optional data according TYPE value. |
On failure, a bccNack is received. Specific errors:
NACK code |
Description |
Extra data |
---|---|---|
nackNotFound |
User does not exist in configuration |
|
For type 0x000000001 (NET.INT. expansion board) following extra data area provided:
Offset |
Type |
Label |
Description |
---|---|---|---|
8 |
U32 |
STSF |
Status flags: 0x00000001 running verbose mode 0x00000002 running debug mode 0x00000004 running no authorization mode 0x00000008 running RTAI mode 0x00000010 computing statistics 0x00000020 DP interface active 0x00000040 TCP interface active |
12 |
U32 |
MAXC |
Maximum number of TCP clients |
16 |
U32 |
DPV |
DP driver version (nvMake format) |
For type 0x00000002 (TCP server/BCC library) following extra data are provided:
Offset |
Type |
Label |
Description |
---|---|---|---|
8 |
U32 |
STSF |
Status flags: 0x00000001 running no authorization mode
|
12 |
U32 |
MAXC |
Maximum number of TCP clients |
16 |
U32 |
HSWV |
Host software versione |
20 |
U8[32] |
HSWN |
Host software name |