send-my icon indicating copy to clipboard operation
send-my copied to clipboard

Clarification about the Generated public key tested as invalid

Open beckmx opened this issue 2 years ago • 0 comments

Hello there, I compiled the esp32 project, and also ran the osx project, (just updated to xcode 14.x) both look to be running, however I have my doubts, i see that there are a lot of messages:

[0;32mI (1979) findmy_modem:   pub key to use (3. try): ba be 00 00 00 0d 00 00 00 00 81 81 81 81 00 00 00 02 00 00 00 00 00 00 00 00 00 … 01[0m
[0;32mI (2019) findmy_modem:   pub key to use (1. try): ba be 00 00 00 0e 00 00 00 00 81 81 81 81 00 00 00 00 00 00 00 00 00 00 00 00 00 … 00[0m
[0;33mW (2059) findmy_modem: Generated public key tested as invalid[0m
[0;33mW (2079) findmy_modem: Generated public key tested as invalid[0m

I noticed that in fact I get the "message" to the other side, so I am wondering this:

  1. the message is sent 1 byte at a time from what i can see in the code, right? so every adv key has let's say 1 letter and it continuously advertises several letters until it fully reads something on the other side?
  2. how come it test keys as invalid, does it need valid keys? (this is the part I didnt quite understand)

and finally thank you for your example, great work!

beckmx avatar Jun 22 '23 02:06 beckmx