mirror of
https://github.com/meshtastic/firmware.git
synced 2025-05-02 03:56:47 +00:00
1 index channel index
This commit is contained in:
parent
989f52494d
commit
63e0b53054
@ -21,7 +21,7 @@ You probably don't care about this section - skip to the next one.
|
|||||||
* implement 'get channels' Admin plugin operation
|
* implement 'get channels' Admin plugin operation
|
||||||
* use get-channels from python
|
* use get-channels from python
|
||||||
* use set-channel from python
|
* use set-channel from python
|
||||||
* combine acks and responses in a single message if possible
|
* combine acks and responses in a single message if possible (do routing plugin LAST and drop ACK if someone else has already replied)
|
||||||
* use portuino TCP connection to debug with python API
|
* use portuino TCP connection to debug with python API
|
||||||
* make python tests more exhaustive
|
* make python tests more exhaustive
|
||||||
* document the relationship between want_response (indicating remote node received it) and want_ack (indicating that this message should be sent reliably - and also get acks from the first rx node and naks if it is never delivered)
|
* document the relationship between want_response (indicating remote node received it) and want_ack (indicating that this message should be sent reliably - and also get acks from the first rx node and naks if it is never delivered)
|
||||||
|
2
proto
2
proto
@ -1 +1 @@
|
|||||||
Subproject commit fa40a9389bc910b6291fabe148260070e393600f
|
Subproject commit 83e00e564d3973b594a46e786b62eed2823e02ed
|
@ -33,7 +33,6 @@ class SinglePortPlugin : public MeshPlugin
|
|||||||
// Update our local node info with our position (even if we don't decide to update anyone else)
|
// Update our local node info with our position (even if we don't decide to update anyone else)
|
||||||
MeshPacket *p = router->allocForSending();
|
MeshPacket *p = router->allocForSending();
|
||||||
p->decoded.portnum = ourPortNum;
|
p->decoded.portnum = ourPortNum;
|
||||||
p->which_payloadVariant = MeshPacket_decoded_tag;
|
|
||||||
|
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
@ -49,8 +49,8 @@ bool AdminPlugin::handleReceivedProtobuf(const MeshPacket &mp, const AdminMessag
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case AdminMessage_get_channel_request_tag:
|
case AdminMessage_get_channel_request_tag:
|
||||||
DEBUG_MSG("Client is getting channel %d\n", r->get_channel_request);
|
DEBUG_MSG("Client is getting channel %d\n", r->get_channel_request - 1);
|
||||||
handleGetChannel(mp, r->get_channel_request);
|
handleGetChannel(mp, r->get_channel_request - 1);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AdminMessage_get_radio_request_tag:
|
case AdminMessage_get_radio_request_tag:
|
||||||
|
Loading…
Reference in New Issue
Block a user