I want to check that can we advertise simple string like "ttfgpV5hm8Z4mMlD" at the time of peripheral advertising I'm trying to pass this string into CBUUID string but whenever central scan for peripheral it gives an error like _C.CBUUID.CreationError.invalidString:
I write down code which I use in peripheral and central.
Peripheral side :
Peripheral(configuration: configuration, advertisementData: [.localName("Test"), .servicesUUIDs("ttfgpV5hm8Z4mMlD")])
Central side :
let configuration = try! Configuration(services: [service], advertisement: "ttfgpV5hm8Z4mMlD")
please give me a guideline for how to pass a simple string at the time of scanning and advertising.