BJHenry:
That is really strange- the debug printout shouldn't be anything like that. The fact that you're getting invalid characters printed out make me wonder if the library hasn't installed correctly?
What do you get if you try radio.printDetails with the NRF module unplugged?
THANKS!!!
I pulled RF24 the library from github instead of arduino's library manager. Now it oututs:
STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1 = 0x6b7d9171 0xc2c2c2c2
RX_ADDR_P2-5 = 0xc3 0xc4 0xc5 0xc6
TX_ADDR = 0x6b7d9171
RX_PW_P0-6 = 0x20 0x00 0x00 0x00 0x00 0x00
EN_AA = 0x00
EN_RXADDR = 0x03
RF_CH = 0x02
RF_SETUP = 0x07
CONFIG = 0x06
DYNPD/FEATURE = 0x00 0x00
Data Rate = 1MBPS
Model = nRF24L01+
CRC Length = Disabled
PA Power = PA_MAX
So it looks like the module works alright.
Still the BTLE library doesn't make the module show up as a BT device.
Using serial debug for the send.ino example it prints:
BTLE advertisement sender
write_register(00,0c)
write_register(04,5f)
write_register(06,27)
write_register(06,07)
write_register(1d,00)
write_register(1c,00)
write_register(07,70)
write_register(05,4c)
write_register(00,0e)
write_register(00,0e)
write_register(01,00)
write_register(06,07)
write_register(00,06)
write_register(05,02)
write_register(04,00)
write_register(06,07)
write_register(03,02)
write_register(11,20)
write_register(02,03)
write_register(11,20)
STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1 = 0x6b7d9171 0xc2c2c2c2
RX_ADDR_P2-5 = 0xc3 0xc4 0xc5 0xc6
TX_ADDR = 0x6b7d9171
RX_PW_P0-6 = 0x20 0x00 0x00 0x00 0x00 0x00
EN_AA = 0x00
EN_RXADDR = 0x03
RF_CH = 0x02
RF_SETUP = 0x07
CONFIG = 0x06
DYNPD/FEATURE = 0x00 0x00
Data Rate = 1MBPS
Model = nRF24L01+
CRC Length = Disabled
PA Power = PA_MAX
write_register(00,06)
write_register(02,03)
[Writing 20 bytes 12 blanks]
write_register(07,70)
write_register(05,1a)
write_register(00,06)
write_register(02,03)
[Writing 20 bytes 12 blanks]
write_register(07,70)
write_register(05,50)
write_register(00,06)
write_register(02,03)
[Writing 20 bytes 12 blanks]
write_register(07,70)
write_register(05,02)
...