gauteh / sfy

🌊 A lightweight wave buoy for near-shore deployments.
MIT License
45 stars 7 forks source link

precompiled standard binaries? #48

Closed jerabaul29 closed 1 month ago

jerabaul29 commented 2 years ago

@gauteh do you think you could provide some standard pre compiled binaries, that can be uploaded with the SF GUI tool, similar to what I do on the OMB? :) .

gauteh commented 2 years ago

Yes. The problem is that you need to specify the account the data is going to in the binary. So I haven't figure out how to do that yet.

jerabaul29 commented 2 years ago

Ah, ok. Would it be possible to have something like (of course this is only my 2 cents, may be naive / flawed, just thinking loud):

Then at each boot:

It could also be possible, at each boot, to allow for a "grace period" of 10s or so when the instruments just waits a bit and the USB-over-serial interface is activated, so that even already configured sensors can be re configured.

This way the user could "simply" upload over USB with the SF GUI tool your firmware, and then configure it over USB at the first following boot. Or am I missing something? :)

gauteh commented 2 years ago

That should work :)

gauteh commented 2 years ago

54 mitigates this issue somewhat, will make it easier to build the binaries independent of environment.

gauteh commented 2 years ago

One solution is to set the buoy-id and product through the notehub, but that requires a step similar to rockblock where you assign or register the device. Can maybe be made optional.

gauteh commented 1 year ago

https://discuss.blues.io/t/register-notecard-with-product-and-name-directly-in-the-notehub-or-outside-the-card/1690