SEcube
SEcube Open Source Library - Device
Functions
se3_cmd0.c File Reference

L0 command handlers. More...

#include "se3_cmd0.h"
#include "se3_flash.h"

Functions

uint16_t L0d_echo (uint16_t req_size, const uint8_t *req, uint16_t *resp_size, uint8_t *resp)
 L0 ECHO command handler. More...
 
uint16_t L0d_factory_init (uint16_t req_size, const uint8_t *req, uint16_t *resp_size, uint8_t *resp)
 L0 FACTORY_INIT command handler. More...
 

Detailed Description

L0 command handlers.

Author
Nicola Ferri

Function Documentation

uint16_t L0d_echo ( uint16_t  req_size,
const uint8_t *  req,
uint16_t *  resp_size,
uint8_t *  resp 
)

L0 ECHO command handler.

Send back received data

uint16_t L0d_factory_init ( uint16_t  req_size,
const uint8_t *  req,
uint16_t *  resp_size,
uint8_t *  resp 
)

L0 FACTORY_INIT command handler.

Initialize device's serial number