mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-17 18:53:30 +00:00
cleanup dev docs a bit more
This commit is contained in:
parent
2d3bb4bb75
commit
5def6a66e6
20
README.md
20
README.md
@ -86,23 +86,5 @@ After our rate of change slows a bit, we will make beta builds available here (w
|
|||||||
[](https://play.google.com/store/apps/details?id=com.geeksville.mesh&referrer=utm_source%3Dgithub%26utm_medium%3Desp32-readme%26utm_campaign%3Dmeshtastic-esp32%2520readme%26anid%3Dadmob&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1)
|
[](https://play.google.com/store/apps/details?id=com.geeksville.mesh&referrer=utm_source%3Dgithub%26utm_medium%3Desp32-readme%26utm_campaign%3Dmeshtastic-esp32%2520readme%26anid%3Dadmob&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1)
|
||||||
|
|
||||||
# Development
|
# Development
|
||||||
The following sections are probably only interesting if you want to join us in developing the software.
|
|
||||||
|
|
||||||
## Power measurements
|
We'd love to have you join us on this merry little project. Please see our [development documents](./docs/software/sw-design.md)
|
||||||
Since one of the main goals of this project is long battery life, it is important to consider that in our software/protocol design. Based on initial measurements it seems that the current code should run about three days between charging, and with a bit more software work (see the [TODO list](TODO.md)) a battery life of eight days should be quite doable. Our current power measurements/model is in [this spreadsheet](https://docs.google.com/spreadsheets/d/1ft1bS3iXqFKU8SApU8ZLTq9r7QQEGESYnVgdtvdT67k/edit?usp=sharing).
|
|
||||||
|
|
||||||
## Build instructions
|
|
||||||
This project uses the simple PlatformIO build system. You can use the IDE, but for brevity
|
|
||||||
in these instructions I describe use of their command line tool.
|
|
||||||
|
|
||||||
1. Purchase a suitable radio (see above)
|
|
||||||
2. Install [PlatformIO](https://platformio.org/platformio-ide)
|
|
||||||
3. Download this git repo and cd into it
|
|
||||||
4. Edit configuration.h and comment out *one* of the following two lines (depending on which board you are using):
|
|
||||||
```
|
|
||||||
// #define T_BEAM_V10
|
|
||||||
#define HELTEC_LORA32
|
|
||||||
```
|
|
||||||
5. Plug the radio into your USB port
|
|
||||||
6. Type "pio run -t upload" (This command will fetch dependencies, build the project and install it on the board via USB)
|
|
||||||
7. Platform IO also installs a very nice VisualStudio Code based IDE, see their [tutorial](https://docs.platformio.org/en/latest/tutorials/espressif32/arduino_debugging_unit_testing.html) if you'd like to use it
|
|
@ -24,7 +24,7 @@ a phone connects to the device should be the following:
|
|||||||
* Read that new packet from "fromradio"
|
* Read that new packet from "fromradio"
|
||||||
* Whenever the phone has a packet to send write to "toradio"
|
* Whenever the phone has a packet to send write to "toradio"
|
||||||
|
|
||||||
For definitions (and documentation) of FromRadio, ToRadio, MyNodeInfo, NodeInfo and User protocol buffers see [mesh.proto](https://github.com/meshtastic/Meshtastic-protobufs/blob/master/mesh.proto)
|
For definitions (and documentation) on FromRadio, ToRadio, MyNodeInfo, NodeInfo and User protocol buffers see [mesh.proto](https://github.com/meshtastic/Meshtastic-protobufs/blob/master/mesh.proto)
|
||||||
|
|
||||||
UUID for the service: 6ba1b218-15a8-461f-9fa8-5dcae273eafd
|
UUID for the service: 6ba1b218-15a8-461f-9fa8-5dcae273eafd
|
||||||
|
|
||||||
|
16
docs/software/build-instructions.md
Normal file
16
docs/software/build-instructions.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# Build instructions
|
||||||
|
|
||||||
|
This project uses the simple PlatformIO build system. You can use the IDE, but for brevity
|
||||||
|
in these instructions I describe use of their command line tool.
|
||||||
|
|
||||||
|
1. Purchase a suitable radio (see above)
|
||||||
|
2. Install [PlatformIO](https://platformio.org/platformio-ide)
|
||||||
|
3. Download this git repo and cd into it
|
||||||
|
4. Edit configuration.h and comment out *one* of the following two lines (depending on which board you are using):
|
||||||
|
```
|
||||||
|
// #define T_BEAM_V10
|
||||||
|
#define HELTEC_LORA32
|
||||||
|
```
|
||||||
|
5. Plug the radio into your USB port
|
||||||
|
6. Type "pio run -t upload" (This command will fetch dependencies, build the project and install it on the board via USB)
|
||||||
|
7. Platform IO also installs a very nice VisualStudio Code based IDE, see their [tutorial](https://docs.platformio.org/en/latest/tutorials/espressif32/arduino_debugging_unit_testing.html) if you'd like to use it
|
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
i.e. sleep behavior
|
i.e. sleep behavior
|
||||||
|
|
||||||
|
## Power measurements
|
||||||
|
|
||||||
|
Since one of the main goals of this project is long battery life, it is important to consider that in our software/protocol design. Based on initial measurements it seems that the current code should run about three days between charging, and with a bit more software work (see the [TODO list](TODO.md)) a battery life of eight days should be quite doable. Our current power measurements/model is in [this spreadsheet](https://docs.google.com/spreadsheets/d/1ft1bS3iXqFKU8SApU8ZLTq9r7QQEGESYnVgdtvdT67k/edit?usp=sharing).
|
||||||
|
|
||||||
## States
|
## States
|
||||||
|
|
||||||
From lower to higher power consumption.
|
From lower to higher power consumption.
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
This is a mini design doc for various core behaviors...
|
This is a mini design doc for various core behaviors...
|
||||||
|
|
||||||
|
* [Build instructions](build-instructions.md)
|
||||||
* [Power Management](power.md)
|
* [Power Management](power.md)
|
||||||
* [Mesh algorithm](mesh-alg.md)
|
* [Mesh algorithm](mesh-alg.md)
|
||||||
* [Bluetooth API](bluetooth-api.md) and porting guide for new clients (iOS, python, etc...)
|
* [Bluetooth API](bluetooth-api.md) and porting guide for new clients (iOS, python, etc...)
|
||||||
|
Loading…
Reference in New Issue
Block a user