2020-12-28 13:12:14 +08: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 13:01:22 +08:00
|
|
|
*ChannelFile.channels max_count:8
|
2020-12-28 13:12:14 +08:00
|
|
|
|
2023-06-07 09:46:37 -05:00
|
|
|
*DeviceState.node_remote_hardware_pins max_count:12
|
|
|
|
|
|
2024-03-02 08:00:26 -06:00
|
|
|
*NodeInfoLite.channel int_size:8
|
2024-03-21 10:42:19 -05:00
|
|
|
*NodeInfoLite.hops_away int_size:8
|
2024-11-18 18:41:27 +01:00
|
|
|
*NodeInfoLite.next_hop int_size:8
|
2024-08-11 09:22:27 -05:00
|
|
|
|
|
|
|
|
*UserLite.long_name max_size:40
|
|
|
|
|
*UserLite.short_name max_size:5
|
|
|
|
|
*UserLite.public_key max_size:32 # public key
|
2024-11-18 18:41:27 +01:00
|
|
|
*UserLite.macaddr max_size:6 fixed_length:true
|