Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Unexpectedly found nil while unwrapping an Optional value #139

Open
kiranigeektech opened this issue Jan 3, 2023 · 3 comments

Comments

@kiranigeektech
Copy link

Hi

I'm trying to use writeValue() function to write binary code and i'm using following code.

 var value = Uint8List.fromList(hex.decode(binaryCode.text));
 QuickBlue.writeValue(
  widget.deviceId, 'e5f5f000-c0ec-46ba-bd1f-b4c9f0da4208', 'e5f50001-c0ec-46ba-bd1f-b4c9f0da4208',
  value, BleOutputProperty.withResponse);

But i'm getting following error.

quick_blue_macos/QuickBlueMacosPlugin.swift:32: Fatal error: Unexpectedly found nil while unwrapping an Optional value

Can you please help me to sort out this issue.

Thank you in advance.

@Bhaveshsen29
Copy link

We are also facing same error? any resolution for this

@JozehanGrobler
Copy link

Did support for this repo die,
Deep into an inherited project, where I get the same error as above
Anyone have any luck with getting arround this
Or have a good suggestion on how to replace Quick_Blue

@LucaTrip
Copy link

I've the same problem with the version quick_blue: 0.5.0-dev.2. Some ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants