Code: |
AS + 903 |
Symbolic: |
bccFbWriteLocalNmt |
This command will write the NMT command to the device Local Interface. Request parameters are the following:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
FLAGS |
Request flags: (none) |
4 |
U32 |
NODE |
Node address |
8 |
U32 |
CMD |
NMT command: 0=Request Init 1=Request PreOperational 2=Request Operational |
On success, a bccAck is received with following data:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
FLAGS |
Reply flags: (none) |
4 |
U32 |
NODE |
Node address (echo) |
8 |
U32 |
PSTATUS |
Previous NMT status: 0=Init 1=PreOperational 2=Operational |
12 |
U32 |
CMD |
NMT command (echo) |
On failure, a bccNack is received. Specific errors:
NACK code |
Description |
Extra data |
---|---|---|
nackMissingArgs |
Missing arguments |
|
nackIllegalArgs |
Illegal arguments
|
U16 What illegal: 1=Flags 2=Node address 3=NMT Command |
nackInterfaceNotFound |
Local interface not present |
|
nackInterfaceNotReady |
Local interface not running |
|