Get sensor Reading via RF on STEVAL-SMARTAG1
I've got a STEVAL-SMARTAG1, and i need to build a React Native App that reads the sensor reading stored in the memory via RF.
To do so i'm using "react-native-nfc-manager" library to use the NFC sensor on the phone to read TagData but that doesn't contain any data from the sensor, (it contains only the serial number of the chip).
Then i found out that i could access the memory using a method of the library called "transceive" that send a command to the chip and receive a buffer response. I actually using 2 commands:
- Read Multiple Blocks ( NfcManager.transceive([0x02,0x23,{first_block},{number_of_blocks}]) )
- Extended Read Single Block ( NfcManager.transceive([0x02,0x30, {block_number(LSB+MSB)}]) )
they both work to receive back a buffer which consist of an array of uint8 that i think is the memory value of that block.
Now i need to know how to interpret that memory value so i can read the sensor readings that are stored in memory.
Is this the correct way of doing so?or there is any other way to get the sensors readings stored in the smartag memory?
