@@ -1442,16 +1442,6 @@ def initParser():
14421442 "--reply" , help = "Reply to received messages" , action = "store_true"
14431443 )
14441444
1445- group .add_argument (
1446- "--gpio-wrb" , nargs = 2 , help = "Set a particular GPIO # to 1 or 0" , action = "append"
1447- )
1448-
1449- group .add_argument ("--gpio-rd" , help = "Read from a GPIO mask (ex: '0x10')" )
1450-
1451- group .add_argument (
1452- "--gpio-watch" , help = "Start watching a GPIO mask for changes (ex: '0x10')"
1453- )
1454-
14551445 group .add_argument (
14561446 "--no-time" ,
14571447 help = "Suppress sending the current time to the mesh" ,
@@ -1490,7 +1480,7 @@ def initParser():
14901480 "--pos-fields" ,
14911481 help = "Specify fields to send when sending a position. Use no argument for a list of valid values. "
14921482 "Can pass multiple values as a space separated list like "
1493- "this: '--pos-fields POS_ALTITUDE POS_ALT_MSL '" ,
1483+ "this: '--pos-fields ALTITUDE HEADING SPEED '" ,
14941484 nargs = "*" ,
14951485 action = "store" ,
14961486 )
@@ -1531,6 +1521,21 @@ def initParser():
15311521 action = "store_true" ,
15321522 )
15331523
1524+ remoteHardwareArgs = parser .add_argument_group ('Remote Hardware' , 'Arguments related to the Remote Hardware module' )
1525+
1526+ remoteHardwareArgs .add_argument (
1527+ "--gpio-wrb" , nargs = 2 , help = "Set a particular GPIO # to 1 or 0" , action = "append"
1528+ )
1529+
1530+ remoteHardwareArgs .add_argument (
1531+ "--gpio-rd" , help = "Read from a GPIO mask (ex: '0x10')"
1532+ )
1533+
1534+ remoteHardwareArgs .add_argument (
1535+ "--gpio-watch" , help = "Start watching a GPIO mask for changes (ex: '0x10')"
1536+ )
1537+
1538+
15341539 have_tunnel = platform .system () == "Linux"
15351540 if have_tunnel :
15361541 tunnelArgs = parser .add_argument_group ('Tunnel' , 'Arguments related to establishing a tunnel device over the mesh.' )
0 commit comments