Skip to content

Commit

Permalink
ready to go
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmunoz86 committed May 2, 2017
1 parent 33d11a3 commit 0b12905
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions raspberry/at86rf215_defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0xC0),
(RG_RF09_TXDFE, 0x98),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F.
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F.
(RG_BBC0_IRQM, 0x12), # TXFE, RXFE, interrupts enabled
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x15), # // NO FCS FILTER in RX, FCS automatically added in TX, 32 bits FCS, FSK.
Expand All @@ -176,7 +176,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x83),
(RG_RF09_TXDFE, 0x94),
(RG_RF09_PAC, 0x62), # // Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F.//
(RG_RF09_PAC, 0x7F), # // Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F.//
(RG_BBC0_IRQM, 0x12), # // TXFE, RXEM, RXAM, RXFE, RXFS interrupts enabled
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x15), # // NO FCS FILTER in RX, FCS automatically added in TX, 32 bits FCS, FSK.
Expand All @@ -202,7 +202,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x83), #
(RG_RF09_TXDFE, 0x94), # //find the right values
(RG_RF09_PAC, 0x62), # // Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F.
(RG_RF09_PAC, 0x7F), # // Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F.
(RG_BBC0_IRQM, 0x12), # // TXFE, RXFE interrupts enabled. RXFS , RXEM, RXAM, disabled
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x15), # // NO FCS FILTER in RX, FCS automatically added in TX, 32 bits FCS, FSK.
Expand Down Expand Up @@ -232,7 +232,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0xC0),
(RG_RF09_TXDFE, 0x98),
(RG_RF09_PAC, 0x62), # // Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F.
(RG_RF09_PAC, 0x7F), # // Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F.
(RG_BBC0_IRQM, 0x12), # // TXFE, RXEM, RXAM, RXFE, RXFS interrupts enabled
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x15), # // NO FCS FILTER in RX, FCS automatically added in TX, 32 bits FCS, FSK.
Expand All @@ -258,7 +258,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x83),
(RG_RF09_TXDFE, 0x94),
(RG_RF09_PAC, 0x62), # // Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F.//
(RG_RF09_PAC, 0x7F), # // Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F.//
(RG_BBC0_IRQM, 0x12), # // TXFE, RXEM, RXAM, RXFE, RXFS interrupts enabled
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x15), # // NO FCS FILTER in RX, FCS automatically added in TX, 32 bits FCS, FSK.
Expand All @@ -284,7 +284,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x83), #
(RG_RF09_TXDFE, 0x94), #
(RG_RF09_PAC, 0x62), # // Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F.
(RG_RF09_PAC, 0x7F), # // Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F.
(RG_BBC0_IRQM, 0x12), # // TXFE, RXEM, RXAM, RXFE, RXFS interrupts enabled
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x15), # // NO FCS FILTER in RX, FCS automatically added in TX, 32 bits FCS, FSK.
Expand Down Expand Up @@ -321,7 +321,7 @@
(RG_RF09_AGCS, 0x77),
(RG_RF09_TXCUTC, 0xC7), # .PARAMP = 3, .LPFCUT = 7
(RG_RF09_TXDFE, 0x7A), # // .SR = 0xA, .RCUT = 3
(RG_RF09_PAC, 0x62)], # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. # 0x64 - 0dBm mettre 0x7F
(RG_RF09_PAC, 0x7F)], # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. # 0x64 - 0dBm mettre 0x7F

'oqpsk_rate1': [
(RG_BBC0_PC, 0x17),
Expand All @@ -341,7 +341,7 @@
(RG_RF09_AGCS, 0x77),
(RG_RF09_TXCUTC, 0xC7), # // .PARAMP = 3, .LPFCUT = 7
(RG_RF09_TXDFE, 0x7A), # // .SR = 0xA, .RCUT = 3
(RG_RF09_PAC, 0x62)], # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. # 0x64 - 0dBm mettre 0x7F
(RG_RF09_PAC, 0x7F)], # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. # 0x64 - 0dBm mettre 0x7F

'oqpsk_rate2': [
(RG_BBC0_PC, 0x17),
Expand All @@ -361,7 +361,7 @@
(RG_RF09_AGCS, 0x77),
(RG_RF09_TXCUTC, 0xC7), # # .PARAMP = 3, .LPFCUT = 7
(RG_RF09_TXDFE, 0x7A), # # .SR = 0xA, .RCUT = 3
(RG_RF09_PAC, 0x62)], # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. # 0x64 - 0dBm mettre 0x7F
(RG_RF09_PAC, 0x7F)], # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. # 0x64 - 0dBm mettre 0x7F

'oqpsk_rate3': [
(RG_BBC0_PC, 0x17),
Expand All @@ -381,7 +381,7 @@
(RG_RF09_AGCS, 0x77),
(RG_RF09_TXCUTC, 0xC7), # # .PARAMP = 3, .LPFCUT = 7
(RG_RF09_TXDFE, 0x7A), # # .SR = 0xA, .RCUT = 3
(RG_RF09_PAC, 0x62)], # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. # 0x64 - 0dBm mettre 0x7F
(RG_RF09_PAC, 0x7F)], # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. # 0x64 - 0dBm mettre 0x7F

'ofdm_1_mcs0': [
(RG_RF09_CMD, 0x02),
Expand All @@ -393,7 +393,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x0A), # recommended value (0x0B)
(RG_RF09_TXDFE, 0x83),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. # 0x64 - 0dBm mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. # 0x64 - 0dBm mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -410,7 +410,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x0A), # recommended value (0x0B)
(RG_RF09_TXDFE, 0x83),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. # 0x64 - 0dBm mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. # 0x64 - 0dBm mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -427,7 +427,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x0A), # recommended value (0x0B)
(RG_RF09_TXDFE, 0x83),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -444,7 +444,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x0A), # recommended value (0x0B)
(RG_RF09_TXDFE, 0x83),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -461,7 +461,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x08), # recommended value ()
(RG_RF09_TXDFE, 0x63),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -478,7 +478,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x08), # recommended value ()
(RG_RF09_TXDFE, 0x63),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -495,7 +495,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x08), # recommended value ()
(RG_RF09_TXDFE, 0x63),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -512,7 +512,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x08), # recommended value ()
(RG_RF09_TXDFE, 0x63),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -529,7 +529,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x08), # recommended value ()
(RG_RF09_TXDFE, 0x63),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -546,7 +546,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x08), # recommended value ()
(RG_RF09_TXDFE, 0x63),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -563,7 +563,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x05), # recommended value ()
(RG_RF09_TXDFE, 0x66),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -580,7 +580,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x05), # recommended value ()
(RG_RF09_TXDFE, 0x66),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -597,7 +597,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x05), # recommended value ()
(RG_RF09_TXDFE, 0x66),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -614,7 +614,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x05), # recommended value ()
(RG_RF09_TXDFE, 0x66),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -631,7 +631,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x05), # recommended value ()
(RG_RF09_TXDFE, 0x66),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -648,7 +648,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x05), # recommended value ()
(RG_RF09_TXDFE, 0x66),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -665,7 +665,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x03), # recommended value ()
(RG_RF09_TXDFE, 0x46),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -682,7 +682,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x03), # recommended value ()
(RG_RF09_TXDFE, 0x46),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -699,7 +699,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x03), # recommended value ()
(RG_RF09_TXDFE, 0x46),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -716,7 +716,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x03), # recommended value ()
(RG_RF09_TXDFE, 0x46),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand All @@ -733,7 +733,7 @@
(RG_RF09_EDD, 0x7A),
(RG_RF09_TXCUTC, 0x03), # recommended value ()
(RG_RF09_TXDFE, 0x46),
(RG_RF09_PAC, 0x62), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_RF09_PAC, 0x7F), # Tx Power 5 bits >>. 0x64 = txPwr=>0x04, max: 0x1F. mettre 0x7F
(RG_BBC0_IRQM, 0x12),
(RG_BBC1_IRQM, 0x00),
(RG_BBC0_PC, 0x16), # NO FCS FILTER in RX, FCS automatically added in TX
Expand Down

0 comments on commit 0b12905

Please sign in to comment.