adhoc_plugin library Null safety

Classes

AdHocDevice
Class representing a generic ad hoc device. It represents a remote device with the Wi-Fi Direct, Bluetooth Low Energy, or both technology enabled.
Config
Class allowing to modify the library's behaviour via parameters.
Event
Class encapsulating the data received from lower layers of the library.
Identifier
Class allowing to have a distinct MAC address for BLE and Wi-Fi enabled simultaneously.
TransferManager
Class providing high-Level APIs to manage ad hoc networks and network communications.

Constants

MAX_PORT → const int
Maximum value allowed for the socket port (Wi-Fi Direct)
65535
MIN_PORT → const int
Minimum value allowed for the socket port (Wi-Fi Direct)
1023

Enums

AdHocType
Enum defining the type of events

Exceptions / Errors

BadDurationException
Class signaling that a Bad Duration exception has been triggered due to invalid duration given.
BadServerPortException
Class signaling that an bad server port value exception has occurred.
DestinationUnreachableException
Class signaling that a group member is not reachable
DeviceFailureException
Class signaling that a Device Failure exception has been triggered due to invalid state of the device.
DeviceNotFoundException
Class signaling that a Device Not Found exception has been triggered due to not finding the AdHocDevice object of a remote peer.
GroupNotFormedException
Class signaling a secure group does not exits.
NoConnectionException
Class signaling that a No Connection exception has been triggered due to invalid connection state with a remote peer.
VerificationFailedException
Class signaling that verification of a certificae chain exception has occurred.