You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current implementation to set manufacturer data void NimBLEAdvertising::setManufacturerData(const std::string &data)
Issue: Trying to set the first two bytes of the manufacturer data to Manufacturer ID from Bluetooth SIG list (Nordic Semi ASA - 0x0059) results in no manufacturer data shown in advertisement
Current implementation to set manufacturer data
void NimBLEAdvertising::setManufacturerData(const std::string &data)
Issue: Trying to set the first two bytes of the manufacturer data to Manufacturer ID from Bluetooth SIG list (Nordic Semi ASA - 0x0059) results in no manufacturer data shown in advertisement
Current implementation:
My example where it breaks:
m_mfgData.size() returns zero since the first byte in dataToAdvertise array is a null-character (0)
Proposed Alternative:
We can overload the setManufacturerData function with the uint8_t* type and a length parameter to update the advertising vector
The text was updated successfully, but these errors were encountered: