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

benpicco notifications at github.com
Tue Jun 8 19:02:58 CEST 2021


I did not set it, the behavior is not consistent though

```
2021-06-08 19:01:35,844 # cc110x
2021-06-08 19:01:35,845 # CC110x #0:
2021-06-08 19:01:35,850 #   GDO0: 0 (High while frame is incoming / outgoing)
2021-06-08 19:01:35,855 #   GDO2: 0 (High when frame received or RX FIFO needs draining)
2021-06-08 19:01:35,858 #   Receiving: 0, CCA: 1, CS: 1
2021-06-08 19:01:35,861 #   RSSI: -90.5dBm, TX power: 0dBm
2021-06-08 19:01:35,866 #   L2 addr: 5b, physical channel: 0, virtual channel: 0
2021-06-08 19:01:35,870 #   Driver state: RX mode, transceiver state: RX mode
2021-06-08 19:01:35,871 #   TX FIFO: 0B
2021-06-08 19:01:35,873 #   RX FIFO: 0B
> ifconfig 5 set statsleep 
2021-06-08 19:01:40,854 # ifconfig 5 set state sleep
2021-06-08 19:01:40,858 # success: set state of interface 5 to SLEEP
cc110x
2021-06-08 19:01:42,581 # cc110x
2021-06-08 19:01:42,581 # CC110x #0:
2021-06-08 19:01:42,583 # Device in SLEEP mode
ifconfig 5 set state idle
2021-06-08 19:01:48,142 # ifconfig 5 set state idle
2021-06-08 19:01:48,146 # success: set state of interface 5 to IDLE
cc110x
2021-06-08 19:01:50,733 # cc110x
2021-06-08 19:01:50,733 # CC110x #0:
2021-06-08 19:01:50,736 #   GDO0: 0 (Constant low)
2021-06-08 19:01:50,738 #   GDO2: 0 (Constant low)
2021-06-08 19:01:50,740 #   Receiving: 0, CCA: 1, CS: 0
2021-06-08 19:01:50,743 #   RSSI: -138.0dBm, TX power: 0dBm
2021-06-08 19:01:50,748 #   L2 addr: 5b, physical channel: 0, virtual channel: 0
2021-06-08 19:01:50,752 #   Driver state: RX mode, transceiver state: IDLE
2021-06-08 19:01:50,757 #   WARNING: Transceiver and device state don't match!
2021-06-08 19:01:50,758 #   TX FIFO: 0B
2021-06-08 19:01:50,759 #   RX FIFO: 0B
ping ff02::1
2021-06-08 19:01:54,501 # ping ff02::1
2021-06-08 19:01:57,501 # 
2021-06-08 19:01:57,504 # --- ff02::1 PING statistics ---
2021-06-08 19:01:57,509 # 3 packets transmitted, 0 packets received, 100% packet loss
```

-- 
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-856939454
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210608/01e3543f/attachment.htm>


More information about the notifications mailing list