79710962

Date: 2025-07-22 19:20:27
Score: 1.5
Natty:
Report link

You are expecting a boolean back from writeCharacteristic as success, but the function returns a status code where BluetoothStatusCodes.SUCCESS means it worked, but also has a value of 0. So would incorrectly show it failed based on your code.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Birdsoft