Hi Guys,
First off, I wanted to ask if in ZigBee you're actually allowed to use any MAC I want, randomly generated, or do they have to be assigned at manufacturing and require the few upper bytes to denote the company that its associated too?
E.g.
I noticed that when sniffing many ZigBee products in Australia, I have found things like:
[Extended Source: SilverSp_03:00:0b:1d:2f (00:13:50:03:00:0b:1d:2f)]
Meaning the upper 3 bytes have been reserved for silver springs, a Smart Meter company.
Do I have to follow the IEEE unique standard?
EDIT: Can now get a randomly generated extended address by calling RF_RegReadReq(®Req); 32 times (2 bits at a time) with the PHY_RSSI reg. Would be awesome if I could confirm the above though!
Nonetheless, I have been trying to use the RNG feature on the SAMR21 and have been having a bit of trouble. I am unsure if I can actually access the register directly, or maybe I should be doing it through the stack somehow as the datasheet seems to lead me to believe that I should be using SPI to access the registers.
I am trying to access the registers on the AT86RF233 RND_VALUE from the (register 0x06, PHY_RSSI) on the chip, but I am not 100% sure how to access this correctly.
I have tried the following:
uint8_t randNum = phyReadRegister(PHY_RSSI_REG);
It seems to come back with random stuff sometimes, but that might just be general access to the main SAMR21 register that was changing at that time :|Any tips would be awesome