createOneSession static method
Implementation
static Future createOneSession(SessionConfig config) async {
final channel = await Channel.getOpenIoTHubChannel();
final stub = SessionManagerClient(channel);
final response = await stub.createOneSession(config);
print('createOneSession: ${response}');
channel.shutdown();
// 从服务器创建配置再同步,所以这里不需要保存到服务器
}