#include "EO3100I_API.h"
#include "EO3100I_CFG.h"
#include <string.h>
#define ledTxOn(); io_setDigital(SCLKDIO_1,1);
#define ledTxOff(); io_setDigital(SCLKDIO_1,0);
code uint8 VERSION_APP[] = {0xE0,'V','E','R','S','I','O','N',1,0,1,0,'A','S','E','C','U','R','I','T','Y','S','E','N','D','E','R',0x00,0xE0};
uint8 const u8key[16] = {0x2b, 0x7e, 0x15, 0x16, 0x28, 0xae, 0xd2, 0xa6, 0xab, 0xf7, 0x15, 0x88, 0x09, 0xcf, 0x4f, 0x3c};
uint8 const u8subkey1[16] = {0xfb, 0xee, 0xd6, 0x18, 0x35, 0x71, 0x33, 0x66, 0x7c, 0x85, 0xe0, 0x8f, 0x72, 0x36, 0xa8, 0xde};
uint8 const u8subkey2[16] = {0xf7, 0xdd, 0xac, 0x30, 0x6a, 0xe2, 0x66, 0xcc, 0xf9, 0x0b, 0xc1, 0x1e, 0xe4, 0x6d, 0x51, 0x3b};
void main()
{
uint32 u32RLC;
mainInit();
message[0] = 0x00;
message[1] = 0x01;
message[2] = 0x02;
message[3] = 0x03;
DataMsgSecure.
u8Data = &messageSecure[0];
u32RLC = 0x00000000;
memcpy(&secuInfo.
u8Key[0] , &u8key[0] ,16);
while(1)
{
ledTxOn();
ledTxOff();
}
}
#ifndef _EO3100I_CFG_H_INCLUDED
#define _EO3100I_CFG_H_INCLUDED
void startupInit();
void mainInit();
#define RADIO_BUFF_NUM 10
#define RADIO_MATURITY_TIME 100
extern uint8 code io_param[];
#endif //_EO3100I_CFG_H_INCLUDED