bitcraze / lps-node-firmware

GNU Lesser General Public License v3.0
82 stars 79 forks source link

Implement way to set node address with more than 1 digit #23

Closed ataffanel closed 6 years ago

ataffanel commented 6 years ago

Currently the USB serial protocol only allows to set the node address from 0 to 9. There should be a way to set addresses up to 255, the maximum possible address in the current implementation.

A proposal is to implement a "i" command that waits for the address then enter key. For example, to set address 42, one would type:

i
4
2
<enter>