2020-12-28 05:12:14 +00:00
|
|
|
# options for nanopb
|
|
|
|
# https://jpa.kapsi.fi/nanopb/docs/reference.html#proto-file-options
|
|
|
|
|
|
|
|
# FIXME - max_count is actually 32 but we save/load this as one long string of preencoded MeshPacket bytes - not a big array in RAM
|
|
|
|
*DeviceState.receive_queue max_count:1
|
|
|
|
|
2021-03-11 05:01:22 +00:00
|
|
|
*ChannelFile.channels max_count:8
|
2020-12-28 05:12:14 +00:00
|
|
|
|
2023-06-07 14:46:37 +00:00
|
|
|
*DeviceState.node_remote_hardware_pins max_count:12
|
|
|
|
|
2024-03-02 14:00:26 +00:00
|
|
|
*NodeInfoLite.channel int_size:8
|
2024-03-21 15:42:19 +00:00
|
|
|
*NodeInfoLite.hops_away int_size:8
|
2024-11-18 17:41:27 +00:00
|
|
|
*NodeInfoLite.next_hop int_size:8
|
2024-08-11 14:22:27 +00:00
|
|
|
|
|
|
|
*UserLite.long_name max_size:40
|
|
|
|
*UserLite.short_name max_size:5
|
|
|
|
*UserLite.public_key max_size:32 # public key
|
2024-11-18 17:41:27 +00:00
|
|
|
*UserLite.macaddr max_size:6 fixed_length:true
|