Closed topherCantrell closed 4 years ago
@topherCantrell thx for the pull request, I just updated the examples to match the user field
https://github.com/victordiaz/PHONK-examples/commit/8c79af2b85b04013307d8c56ef60d7cebb3ebf71
Oh man! Thank YOU for the awesome library! Sooooo great!
On Fri, Jul 3, 2020 at 3:43 PM Victor Diaz notifications@github.com wrote:
@topherCantrell https://github.com/topherCantrell thx for the pull request, I just updated the examples to match the user field
victordiaz/PHONK-examples@8c79af2 https://github.com/victordiaz/PHONK-examples/commit/8c79af2b85b04013307d8c56ef60d7cebb3ebf71
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/victordiaz/PHONK/pull/35#issuecomment-653672874, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKK6QOQROOOUNBDEI7XVWLRZY7F3ANCNFSM4OQA4QBA .
The cast to (char[]) will always fail for String. The String class has the method "toCharArray()" to do the conversion. Note that the MQTT example uses the key "username" instead of "user".