h2zero

Results 299 comments of h2zero

@doudar Yeah, that's what I assumed, the terminology got me though. Sort of sounded like a Bluetooth classic reference.

Hi @miag676, the NimBLEAddress constructor takes a std::string parameter. If you change the code in the first post to std::string(value) instead of String(value) it should work.

There is no C++ API for this yet (soon). but you can use the lower level calls: ``` NimBLEAddress newAddress("AA:BB:CC:DD:EE:FF"); int rc = ble_hs_id_set_rnd(newAddress.getNative()); assert(rc == 0); ``` That should...

Were any BLE operation's active when you set this?

Strange... I'll see what I can do, thanks!

Out of curiosity, what is the purpose of doing this?

I see now, thanks! So for this we may need to do some tinkering as you will need a real random address with the type set correctly. This will be...

A real random address is basically one that is generated from a specified algorithm and has an address type of 1 in most cases (there are others). The first 6...

From what I can see I would suggest putting the delay after `pAdvertising->stop();` as it may not have stopped before the change. That said, I think there is something else...

Great! Thanks for the update!