NimBLE-Arduino icon indicating copy to clipboard operation
NimBLE-Arduino copied to clipboard

Two kinds of passkey spelling in version 2.1.3. passkey or pass key?

Open asukiaaa opened this issue 1 year ago • 3 comments

Thank you for updating the library.

I found that passkey are written in two kinds spelling. Which do you want to use? passkey or passKey, pass_key, passKey,

For example, onConfirmPasskey is passkey style. On the other hand, onPassKeyEntry is passKey style.

asukiaaa avatar Jan 06 '25 21:01 asukiaaa

Thanks, looks like I missed that one. I was intending to have them all formatted as passkey, oops.

h2zero avatar Jan 07 '25 14:01 h2zero

Thank you for replying. I see, I expect to use formatted functions in future version. There is pass_key style so I want you to format it together.

asukiaaa avatar Jan 07 '25 14:01 asukiaaa

Some other occurrences https://github.com/h2zero/NimBLE-Arduino/blob/master/src/NimBLEServer.h#L175 https://github.com/h2zero/NimBLE-Arduino/blob/master/src/NimBLEDevice.h#L166

thekurtovic avatar Jan 10 '25 17:01 thekurtovic