HomeiOS Developmentios - Not in a position to uncover gadgets on native community...

ios – Not in a position to uncover gadgets on native community utilizing “startNetworkSearch”?


I’m working with under configurations.

Xcode 14.3 and iOS 16.6.1(Swift language) and Brother SDK 4.6.4.Added SDK and plist keys as documented.

I’m able to print the label with the above configurations(Manually added the printer IPAddress in code, examined in each situations with Printer Wifi direct and Native Wifi community). However not in a position to uncover printer utilizing the under code?

let possibility = BRLMNetworkSearchOption()
possibility.searchDuration = 15
 let end result = BRLMPrinterSearcher.startNetworkSearch(possibility) { channel in
 let modelName = channel.extraInfo?.worth(forKey: BRLMChannelExtraInfoKeyModelName) as? String ?? ""
 let ipaddress = channel.channelInfo
 print("Channel : (channel.description)")
 print("Channel Additional data: (channel.extraInfo)")
 print("Mannequin : (modelName), IP Handle: (ipaddress)")
 }

Please give any ideas to find printer over native wifi community.
Thanks upfront.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments