# Sending a MAC Command to a device using 'ttnctl downlink'

**URL:** <https://www.thethingsnetwork.org/forum/t/sending-a-mac-command-to-a-device-using-ttnctl-downlink/8321>\
**Category:** v2 Backend\
**Created:** [July 6, 2017, 9:55am UTC](https://www.thethingsnetwork.org/forum/t/sending-a-mac-command-to-a-device-using-ttnctl-downlink/8321 "2017-07-06T09:55:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![hoonppark](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/hoonppark/32/7999_2.png) [@hoonppark](https://www.thethingsnetwork.org/forum/u/hoonppark)\
**Post date:** [July 6, 2017, 12:29pm UTC](https://www.thethingsnetwork.org/forum/t/sending-a-mac-command-to-a-device-using-ttnctl-downlink/8321/2 "2017-07-06T12:29:34Z")

</div>

I found this issue was filed as [a bug](https://github.com/TheThingsNetwork/ttn/issues/570) and was reported as [fixed](https://github.com/TheThingsNetwork/ttn/commit/70de104fdc8ef9c2dc78c7500cc51d4326a67fa7) on May 1st, 2017.

But, the result shows the bug hasn’t been fixed yet as of ttn v2.7.1. The ‘fport=0’ is still changed to ‘fport=1’ in the downlink message process.

See [this posting](https://www.thethingsnetwork.org/forum/t/rak811-lora-module-connecting-to-ttn/6805/16) for reference on filing this issue as a bug.

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/sending-a-mac-command-to-a-device-using-ttnctl-downlink/8321)._
