The neighbor table is maintained by receiving Link Status sent from nearby devices, where the Incoming Cost and Outgoing Cost in the Link Status indicate the signal strength of receiving from and sending to the neighbor devices, respectively.
0 indicates unreachable, and 1~7 indicate decreasing signal strength, with 1 being the strongest and 7 being the weakest.
The Outgoing Cost in the above image is0, indicating that it can receive the signal from the other party, but the other party cannot receive its signal. This often occurs whenthe two parties are relatively far apart and the transmission power is not equal or whenthe other party has poor reception performance.
An Incoming Cost of0 may be caused by the NWK Frame Counter decreasing during the operation of the device. To prevent replay attacks, neighbors will consider the device abnormal once the counter decreases.Tuya does not allow a device to be re-flashed with authorization while it is connected to the network during normal operation, as this would cause the NWK Frame Counter to start recounting from0. If necessary, the device can be removed from the network before re-flashing with authorization.