[riot-notifications] [RIOT-OS/RIOT] tests/pkg_semtech-loramac: don't init the mac from main (#11777)

Francisco notifications at github.com
Thu Jul 4 17:12:10 CEST 2019


fjmolinas approved this pull request.

Testes on `b-l072z-lrwan1` on master:

```
2019-07-04 17:06:48,299 - INFO #  reboot
2019-07-04 17:06:48,313 - INFO # [semtech-loramac] initializing loramac
2019-07-04 17:06:48,377 - INFO # [semtech-loramac] reading configuration from EEPROM
2019-07-04 17:06:48,381 - INFO # [semtech-loramac] reading uplink counter: 0 
2019-07-04 17:06:48,385 - INFO # [semtech-loramac] reading rx2 freq: 869525000
2019-07-04 17:06:48,389 - INFO # [semtech-loramac] reading rx2 dr: 0
2019-07-04 17:06:48,392 - INFO # [semtech-loramac] set join state ? 0
2019-07-04 17:06:48,397 - INFO # main(): This is RIOT! (Version: 2019.07-devel-893-g1d7b8-HEAD)
2019-07-04 17:06:48,401 - INFO # [semtech-loramac] initializing loramac
2019-07-04 17:06:48,464 - INFO # [semtech-loramac] reading configuration from EEPROM
2019-07-04 17:06:48,469 - INFO # [semtech-loramac] reading uplink counter: 0 
2019-07-04 17:06:48,474 - INFO # [semtech-loramac] reading rx2 freq: 869525000
2019-07-04 17:06:48,477 - INFO # [semtech-loramac] reading rx2 dr: 0
2019-07-04 17:06:48,480 - INFO # [semtech-loramac] set join state ? 0
2019-07-04 17:06:48,483 - INFO # All up, running the shell now
```
On this PR:

```
2019-07-04 17:09:52,587 - INFO # reboot
2019-07-04 17:09:52,601 - INFO # [semtech-loramac] initializing loramac
2019-07-04 17:09:52,664 - INFO # [semtech-loramac] reading configuration from EEPROM
2019-07-04 17:09:52,668 - INFO # [semtech-loramac] reading uplink counter: 0 
2019-07-04 17:09:52,673 - INFO # [semtech-loramac] reading rx2 freq: 869525000
2019-07-04 17:09:52,676 - INFO # [semtech-loramac] reading rx2 dr: 0
2019-07-04 17:09:52,680 - INFO # [semtech-loramac] set join state ? 0
2019-07-04 17:09:52,686 - INFO # main(): This is RIOT! (Version: 2019.07-devel-894-g660b3-pr-11777)
2019-07-04 17:09:52,688 - INFO # All up, running the shell now

```

I was still able to send and receive messages.

Although unrelated to this PR when reception starts I get an unhandled event that is a `NETDEV_EVENT_RX_STARTED`, maybe it should be added to application debug messages.

```

2019-07-04 17:06:25,887 - INFO # [semtech-loramac] MAC timer timeout
2019-07-04 17:06:26,149 - INFO # [semtech-loramac] MAC timer timeout
2019-07-04 17:06:26,898 - INFO # [semtech-loramac] MAC timer timeout
2019-07-04 17:06:27,000 - INFO # [semtech-loramac] unexpected netdev event received: 1
2019-07-04 17:06:27,907 - INFO # [semtech-loramac] MAC timer timeout
2019-07-04 17:06:28,148 - INFO # [semtech-loramac] MLME confirm event
2019-07-04 17:06:28,152 - INFO # [semtech-loramac] MLME confirm msg received
2019-07-04 17:06:28,155 - INFO # [semtech-loramac] join succeeded
2019-07-04 17:06:28,157 - INFO # Join procedure succeeded!

```



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11777#pullrequestreview-258095302
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190704/b398dfff/attachment.html>


More information about the notifications mailing list