joinGroup method
Joins an existing secure group.
If label
is given, then the group join request message is sent to that
particular address. Otherwise, the join request message is broadcasted.
Throws a DeviceFailureException if the Wi-Fi/Bluetooth adapter is not enabled.
Implementation
void joinGroup([String? label]) {
if (_datalinkManager.checkState() == 0) {
throw DeviceFailureException('No wifi and bluetooth connectivity');
}
_presentationManager.groupController.joinSecureGroup(label);
}