Split getTXPayloadAndRemainingFromQueue into two functions.
Split getTXPayloadAndRemainingFromQueue into two functions.

brocaar/loraserver,brocaar/loraserver,ymkins/brocaar-loraserver,ymkins/brocaar-loraserver