device-llapi  2.0.1
device-llapi
Functions
LLDEVICE_impl.h File Reference

MicroEJ Device low level API. More...

#include <sni.h>
#include <intern/LLDEVICE_impl.h>

Go to the source code of this file.

Functions

uint8_t LLDEVICE_IMPL_getArchitecture (uint8_t *buffer, int32_t length)
 
uint32_t LLDEVICE_IMPL_getId (uint8_t *buffer, int32_t length)
 
void LLDEVICE_IMPL_reboot (void)
 

Detailed Description

MicroEJ Device low level API.

Author
MicroEJ Developer Team
Version
2.0.1
Date
17 November 2020

Definition in file LLDEVICE_impl.h.

Function Documentation

§ LLDEVICE_IMPL_getArchitecture()

uint8_t LLDEVICE_IMPL_getArchitecture ( uint8_t *  buffer,
int32_t  length 
)

Fills the given buffer with the name of the architecture. The buffer is filled with a null-terminated string.

Parameters
bufferthe buffer to fill with the name of the architecture.
lengththe size of the buffer.
Returns
1 on success or 0 on error.

§ LLDEVICE_IMPL_getId()

uint32_t LLDEVICE_IMPL_getId ( uint8_t *  buffer,
int32_t  length 
)

Fills the given buffer with the ID of the device.

Parameters
bufferthe buffer to fill with the ID.
lengththe size of the buffer.
Returns
the number of bytes filled or 0 on error.

§ LLDEVICE_IMPL_reboot()

void LLDEVICE_IMPL_reboot ( void  )

Reboots the device.