embedded system library for e-puck  1.0.1
A redesigned API library for the e-puck robot platform
 All Data Structures Files Functions Variables Enumerations Enumerator Modules Pages
Files
UART STDIO

Send/Receive text via Bluetooth using functions similar to scanf and printf. More...

Files

file  elu_stdio.h
 

Detailed Description

Send/Receive text via Bluetooth using functions similar to scanf and printf.

Introduction

This module let the user interface UART1 in a similar fashion as the stdio functions. For example, sending formated string using printf alike functions and receiving string using scanf alike functions.

Compared to the relatively native interfacing functions in UART Serial Communication, the functions provide more convenience. However, it is only ok to use them inside one process at same time. In other word, one should avoid call these functions concurrently in more than one process in the system.

Important Notice

The sprintf and sscanf (and other formatted string functions) in the C standard library are unlikely to work in a process here due to the stack size they required. In this library, elu_sscanf and elu_snprintf are provided to achieve the same functionalities.