I need my watchOS-only (independent) app BLE to advertise data to other BLE devices. For this i'm trying to use custom services and characteristics in CBPeripheralManager to publish in watch's local database. But CBMutableService and CBMutableCharacteristic init method's are prohibited for watchOS, See below.
Is there any alternative for this to use in watchOS-only app?
Code Block - (instancetype)initWithDelegate:(nullable id<CBPeripheralManagerDelegate>)delegate queue:(nullable dispatch_queue_t)queue options:(nullable NSDictionary<NSString *, id> *)options - (instancetype)initWithType:(CBUUID *)UUID primary:(BOOL)isPrimary - (instancetype)initWithType:(CBUUID *)UUID properties:(CBCharacteristicProperties)properties value:(nullable NSData *)value permissions:(CBAttributePermissions)permissions
Is there any alternative for this to use in watchOS-only app?