ST Americas mbed Team / lib_NFC_NDEF

Dependents:   Nucleo_NFC_Example I2C_NFC_Master Print_Entire_Nucleo_NFC01A1_Memory

Fork of lib_NDEF by Enrico Gregoratto

Embed: (wiki syntax)

« Back to documentation index

LibSpecialFeature_Public_Functions

LibSpecialFeature_Public_Functions
[LibSTProprietary]

This file is used to manage private feature of the tag. More...

Functions

uint16_t STProprietary_EnableReadOnly (uint8_t *pCurrentWritePassword)
 This fonction enable read only mode.
uint16_t STProprietary_DisableReadOnly (uint8_t *pCurrentWritePassword)
 This fonction disable read only mode.
uint16_t STProprietary_EnableWriteOnly (uint8_t *pCurrentWritePassword)
 This fonction enable write only mode.
uint16_t STProprietary_DisableWriteOnly (uint8_t *pCurrentWritePassword)
 This fonction disable write only mode.
uint16_t STProprietary_GPOConfig (uc8 GPO_config, uc8 mode)
 This function configure GPO purpose for RF or I2C session.

Detailed Description

This file is used to manage private feature of the tag.


Function Documentation

uint16_t STProprietary_DisableReadOnly ( uint8_t *  pCurrentWritePassword )

This fonction disable read only mode.

Parameters:
pCurrentWritePassword: Write password is needed to have right to disable read only mode
Return values:
SUCCESS: M24SR write access is now allowed
ERROR: operation does not complete

Definition at line 88 of file lib_STProprietary_feature.c.

uint16_t STProprietary_DisableWriteOnly ( uint8_t *  pCurrentWritePassword )

This fonction disable write only mode.

Parameters:
pCurrentWritePassword: Write password is needed to have right to disable write only mode
Return values:
SUCCESS: M24SR read access is now allowed
ERROR: operation does not complete

Definition at line 132 of file lib_STProprietary_feature.c.

uint16_t STProprietary_EnableReadOnly ( uint8_t *  pCurrentWritePassword )

This fonction enable read only mode.

Parameters:
pCurrentWritePassword: Write password is needed to have right to enable read only mode
Return values:
SUCCESS: M24SR access is now forbidden in write mode
ERROR: operation does not complete

Definition at line 66 of file lib_STProprietary_feature.c.

uint16_t STProprietary_EnableWriteOnly ( uint8_t *  pCurrentWritePassword )

This fonction enable write only mode.

Parameters:
pCurrentWritePassword: Write password is needed to have right to enable write only mode
Return values:
SUCCESS: M24SR access is now forbidden in read mode
ERROR: operation does not complete

Definition at line 110 of file lib_STProprietary_feature.c.

uint16_t STProprietary_GPOConfig ( uc8  GPO_config,
uc8  mode 
)

This function configure GPO purpose for RF or I2C session.

Parameters:
GPO_config,:GPO configuration to set
mode,:select RF or I2C, GPO config to update
Return values:
Status: Status of the operation.

Definition at line 154 of file lib_STProprietary_feature.c.