nn::Result DisallowToConnect( bool isDisallowToReconnect = false );
| Name | Description | |
|---|---|---|
| in | isDisallowToReconnect | When false, clients that have connected to the master once can re-connect. |
Result values listed below. | Value | Description |
|---|---|
ResultSuccess |
Process was successful. |
ResultNotInitialized |
The library is not initialized. Execute the nn::uds::Initialize function. |
| ResultInvalidState | Not in an executable state. Returned when executed in a state other than master. |
| ResultWirelessOff | Transitioned to wireless OFF mode. Re-initialization is required. |
| A value other than the above. | Failed for reasons other than those given above. |
Disallows client nodes to connect to the network. Does not effect clients currently connected.
This connection denying feature was assumed for use when you want to deny new competing clients from connecting. When you want to allow connections once again, execute the AllowToConnect function. Only the master can run this function.
CONFIDENTIAL