[riot-notifications] [RIOT-OS/RIOT] tests/ieee802154_hal: check error codes and improve error reporting (#16556)

José Alamos notifications at github.com
Tue Sep 7 17:19:30 CEST 2021


rebased. It still seems to work:
```
2021-09-07 17:16:26,605 # Trying to register cc2538_rf.
2021-09-07 17:16:26,606 # Success
2021-09-07 17:16:26,607 # Initialization successful - starting the shell now
txtsnd de823e9637072133
2021-09-07 17:17:07,516 # txtsnd de823e9637072133
2021-09-07 17:17:07,518 # Usage: txtsnd <long_addr> <len>
> txtsnd de823e9637072133 10
2021-09-07 17:17:09,338 # txtsnd de823e9637072133 10
2021-09-07 17:17:09,350 # Transmission succeeded
2021-09-07 17:17:09,350 # 
2021-09-07 17:17:09,350 # 
2021-09-07 17:17:09,351 # Received valid ACK with sqn 0
2021-09-07 17:17:09,351 # 
2021-09-07 17:17:09,352 # LQI: 238, RSSI: 127
2021-09-07 17:17:09,352 # 
> txtsnd de823e9637072133 10
2021-09-07 17:17:10,005 # txtsnd de823e9637072133 10
2021-09-07 17:17:10,012 # Transmission succeeded
2021-09-07 17:17:10,013 # 
2021-09-07 17:17:10,013 # 
2021-09-07 17:17:10,015 # Received valid ACK with sqn 1
2021-09-07 17:17:10,015 # 
2021-09-07 17:17:10,017 # LQI: 242, RSSI: 127
2021-09-07 17:17:10,018 # 
> cca
2021-09-07 17:17:13,318 # cca
2021-09-07 17:17:13,318 # CLEAR
> cca
2021-09-07 17:17:19,000 # cca
2021-09-07 17:17:19,001 # CLEAR
2021-09-07 17:17:19,661 # cca
2021-09-07 17:17:19,662 # CLEAR
2021-09-07 17:17:19,704 # cca
2021-09-07 17:17:19,704 # CLEAR
2021-09-07 17:17:19,741 # cca
2021-09-07 17:17:19,742 # CLEAR
2021-09-07 17:17:19,782 # cca
2021-09-07 17:17:19,783 # CLEAR
2021-09-07 17:17:19,821 # cca
2021-09-07 17:17:19,822 # CLEAR
2021-09-07 17:17:19,861 # cca
2021-09-07 17:17:19,862 # CLEAR
2021-09-07 17:17:19,901 # cca
2021-09-07 17:17:19,902 # CLEAR
2021-09-07 17:17:19,941 # cca
2021-09-07 17:17:19,941 # CLEAR
> 

021-09-07 17:16:06,742 # Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type '/exit' to exit.
help
2021-09-07 17:16:54,856 # help
2021-09-07 17:16:54,859 # Command              Description
2021-09-07 17:16:54,863 # ---------------------------------------
2021-09-07 17:16:54,867 # config_phy           Set channel and TX power
2021-09-07 17:16:54,871 # print_addr           Print IEEE802.15.4 addresses
2021-09-07 17:16:54,875 # txtsnd               Send IEEE 802.15.4 packet
2021-09-07 17:16:54,878 # test_states          Test state changes
2021-09-07 17:16:54,881 # cca                  Perform CCA
2021-09-07 17:16:54,885 # config_cca           Config CCA parameters
2021-09-07 17:16:54,890 # promisc              Set promiscuos mode
2021-09-07 17:16:54,894 # tx_mode              Enable CSMA-CA, CCA or direct transmission
2021-09-07 17:16:54,900 # caps                 Get a list of caps supported by the device
> print_addr
2021-09-07 17:16:58,020 # print_addr
2021-09-07 17:16:58,021 # de823e9637072133
> 2021-09-07 17:17:09,344 # Packet received:
2021-09-07 17:17:09,352 # 61 dc 00 23 00 33 21 07 37 96 3e 82 de c4 37 89 60 e1 fe 8d ae 4c 6f 72 65 6d 20 69 70 73 75 
2021-09-07 17:17:09,354 # LQI: 196, RSSI: 6
2021-09-07 17:17:09,354 # 
2021-09-07 17:17:10,007 # Packet received:
2021-09-07 17:17:10,015 # 61 dc 01 23 00 33 21 07 37 96 3e 82 de c4 37 89 60 e1 fe 8d ae 4c 6f 72 65 6d 20 69 70 73 75 
2021-09-07 17:17:10,017 # LQI: 196, RSSI: 6
2021-09-07 17:17:10,018 # 
cca
2021-09-07 17:17:12,097 # cca
2021-09-07 17:17:12,097 # CLEAR
> cca
2021-09-07 17:17:21,222 # cca
2021-09-07 17:17:21,223 # CLEAR
2021-09-07 17:17:21,883 # cca
2021-09-07 17:17:21,884 # CLEAR
2021-09-07 17:17:21,922 # cca
2021-09-07 17:17:21,923 # CLEAR
2021-09-07 17:17:21,962 # cca
2021-09-07 17:17:21,963 # CLEAR
2021-09-07 17:17:22,003 # cca
2021-09-07 17:17:22,003 # CLEAR
2021-09-07 17:17:22,043 # cca
2021-09-07 17:17:22,043 # BUSY
```

-- 
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/16556#issuecomment-914399639
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210907/f0069367/attachment-0001.htm>


More information about the notifications mailing list