[riot-notifications] [RIOT-OS/RIOT] drivers/cc110x: add power off (sleep) functions (#16232)

benpicco notifications at github.com
Tue Jun 8 18:38:35 CEST 2021


Thank you, with that config it's working.
But the device does not properly wake up from sleep when using `ifconfig`:

```
2021-06-08 18:37:05,508 # ping ff02::1
2021-06-08 18:37:05,518 # 12 bytes from fe80::ff:fe00:5b%5: icmp_seq=0 ttl=64 rssi=-38 dBm time=3.122 ms
2021-06-08 18:37:06,519 # 12 bytes from fe80::ff:fe00:5b%5: icmp_seq=1 ttl=64 rssi=-38 dBm time=3.122 ms
2021-06-08 18:37:07,520 # 12 bytes from fe80::ff:fe00:5b%5: icmp_seq=2 ttl=64 rssi=-38 dBm time=3.122 ms
2021-06-08 18:37:07,521 # 
2021-06-08 18:37:07,523 # --- ff02::1 PING statistics ---
2021-06-08 18:37:07,529 # 3 packets transmitted, 3 packets received, 0% packet loss
2021-06-08 18:37:07,533 # round-trip min/avg/max = 3.122/3.122/3.122 ms
ifconfig 5 set state sleep
2021-06-08 18:37:12,061 # ifconfig 5 set state sleep
2021-06-08 18:37:12,065 # success: set state of interface 5 to SLEEP
ping ff02::1ep
2021-06-08 18:37:13,436 # ping ff02::1
2021-06-08 18:37:16,439 # 
2021-06-08 18:37:16,441 # --- ff02::1 PING statistics ---
2021-06-08 18:37:16,447 # 3 packets transmitted, 0 packets received, 100% packet loss
ifconfig 5 set state idle
2021-06-08 18:37:18,885 # ifconfig 5 set state idle
2021-06-08 18:37:18,889 # success: set state of interface 5 to IDLE
ping ff02::1le
2021-06-08 18:37:21,260 # ping ff02::1
2021-06-08 18:37:24,263 # 
2021-06-08 18:37:24,265 # --- ff02::1 PING statistics ---
2021-06-08 18:37:24,271 # 3 packets transmitted, 0 packets received, 100% packet loss
cc110x
2021-06-08 18:37:28,931 # cc110x
2021-06-08 18:37:28,932 # CC110x #0:
2021-06-08 18:37:28,937 #   GDO0: 0 (High while frame is incoming / outgoing)
2021-06-08 18:37:28,942 #   GDO2: 0 (High when frame received or RX FIFO needs draining)
2021-06-08 18:37:28,945 #   Receiving: 0, CCA: 1, CS: 0
2021-06-08 18:37:28,948 #   RSSI: -91.5dBm, TX power: -30dBm
2021-06-08 18:37:28,953 #   L2 addr: aa, physical channel: 0, virtual channel: 0
2021-06-08 18:37:28,958 #   Driver state: RX mode, transceiver state: RX mode
2021-06-08 18:37:28,959 #   TX FIFO: 0B
2021-06-08 18:37:28,960 #   RX FIFO: 0B
```

-- 
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/16232#issuecomment-856922867
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210608/3a9b8583/attachment.htm>


More information about the notifications mailing list