22 lines
801 B
Markdown
22 lines
801 B
Markdown
# Off Grid Talkies
|
|
|
|
Soon to be followed by off grid walkies.
|
|
|
|
## References
|
|
|
|
### antennae stuff
|
|
|
|
<https://learn.adafruit.com/adafruit-feather-m0-radio-with-lora-radio-module/antenna-options>
|
|
|
|
### Code Practices
|
|
|
|
- All macros and constants in caps: `MAX_BUFFER_SIZE`, `TRACKING_ID_PREFIX`.
|
|
- Struct names and typedef's in camelcase: `GtkWidget`, `TrackingOrder`.
|
|
- Functions that operate on structs: classic C style: `gtk_widget_show()`,
|
|
`tracking_order_process()`.
|
|
- Pointers: nothing fancy here: `GtkWidget *foo`, `TrackingOrder *bar`.
|
|
- Global variables: just don't use global variables. They are evil.
|
|
- Functions that are there, but shouldn't be called directly, or have obscure uses, or
|
|
whatever: one or more underscores at the beginning: `_refrobnicate_data_tables()`,
|
|
`_destroy_cache()`.
|