Contiki 2.6

m25p16_rdid Struct Reference

Device Identifier. More...

#include <platform/sensinode/dev/m25p16.h>

Data Fields

uint8_t mem_type
 Manufacturer ID.
uint8_t mem_size
 Memory Type.
uint8_t uid_len
 Memory Size.
uint8_t uid [16]
 Unique ID length.

Detailed Description

Device Identifier.

Holds the value of the device identifier, returned by the RDID instruction.

After a correct RDID, this structure should hold the following values: man_id = 0x20, mem_type = 0x20, mem_size = 0x15, uid_len = 0x10.

UID holds optional Customized Factory Data (CFD) content. The CFD bytes are read-only and can be programmed with customers data upon their request. If the customers do not make requests, the devices are shipped with all the CFD bytes programmed to 0x00.

Definition at line 93 of file m25p16.h.