X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fnrf24l01%2Fpd.py;h=06755ff3495b75f7beb27ba6aa320a7b4abf9d39;hb=50207d809ae7181e6bb96f1611b599a1f78d27c5;hp=221b968ea2ac0db672e2a5a30761120b16f86f3b;hpb=10aeb8ea8b183394cebc0033f048f49f4262b57d;p=libsigrokdecode.git diff --git a/decoders/nrf24l01/pd.py b/decoders/nrf24l01/pd.py index 221b968..06755ff 100644 --- a/decoders/nrf24l01/pd.py +++ b/decoders/nrf24l01/pd.py @@ -62,25 +62,26 @@ class Decoder(srd.Decoder): api_version = 3 id = 'nrf24l01' name = 'nRF24L01(+)' - longname = 'Nordic Semiconductor nRF24L01/nRF24L01+' - desc = '2.4GHz transceiver chip.' + longname = 'Nordic Semiconductor nRF24L01(+)' + desc = '2.4GHz RF transceiver chip.' license = 'gplv2+' inputs = ['spi'] - outputs = ['nrf24l01'] + outputs = [] + tags = ['IC', 'Wireless/RF'] options = ( {'id': 'chip', 'desc': 'Chip type', 'default': 'nrf24l01', 'values': ('nrf24l01', 'xn297')}, ) annotations = ( # Sent from the host to the chip. - ('cmd', 'Commands sent to the device'), - ('tx-data', 'Payload sent to the device'), + ('cmd', 'Command'), + ('tx-data', 'Payload'), # Returned by the chip. - ('register', 'Registers read from the device'), - ('rx-data', 'Payload read from the device'), + ('register', 'Register read'), + ('rx-data', 'Payload read'), - ('warning', 'Warnings'), + ('warning', 'Warning'), ) ann_cmd = 0 ann_tx = 1