jpconstantineau / BlueMicro_HID_Arduino_Library

Universal BLE/USB HID Library
Other
21 stars 0 forks source link

BLE naming options disabled. #6

Open bobsupercow opened 2 years ago

bobsupercow commented 2 years ago

Currently the following methods don't work as intended:

bluemicro_hid.setBLEManufacturer(DEVICE_MANUFACTURER);
bluemicro_hid.setBLEModel(DEVICE_MODEL_NAME);
bluemicro_hid.setBLETxPower(4);

Issue is with bluetooth.cpp Not currently setup to do a pull request.

Following code is commented. Verified that uncommenting fixes behavior on my local build.

// Bluefruit.setTxPower(power);    // Check bluefruit.h for supported values
 // bledis.setManufacturer(manufacturer);
//  Bluefruit.setName(model);
//  bledis.setModel(model);
jpconstantineau commented 2 years ago

That's a leftover of the troubleshooting I had to do. These can be removed without any issue.

jpconstantineau commented 2 years ago

I just did a release that should address this issue. Let me know if it works. Arduino should pull it in a few hours.