ReadUplink reads an uplink MACCommand from r into cmd and returns any errors encountered.
(phy band.Band, r io.Reader, cmd *ttnpb.MACCommand)
| 1525 | |
| 1526 | // ReadUplink reads an uplink MACCommand from r into cmd and returns any errors encountered. |
| 1527 | func (spec MACCommandSpec) ReadUplink(phy band.Band, r io.Reader, cmd *ttnpb.MACCommand) error { |
| 1528 | return spec.read(phy, r, true, cmd) |
| 1529 | } |
| 1530 | |
| 1531 | // ReadDownlink reads a downlink MACCommand from r into cmd and returns any errors encountered. |
| 1532 | func (spec MACCommandSpec) ReadDownlink(phy band.Band, r io.Reader, cmd *ttnpb.MACCommand) error { |
no test coverage detected