Bluetooth® Sample Application Programmer's Reference: main.c File Reference

Bluetooth

Bluetooth® Sample Application Programmer's Reference
main.c File Reference
#include "sdk_tplus.h" #include "etat.h"
#include "trace.h"

Functions

int Main (unsigned int size, StructPt *data)
 

Detailed Description

Application entry point. This file was automatically generated by IngeDev and must be filled out by the developer.

Function Documentation

int Main ( unsigned int  size,
StructPt *  data 
)

Application has to call ServiceRegister for each service with a same address Main and using predefined service number.

Parameters
size(I-) data size.
data(I-) contains data needed between the Manager and application regarding services.
Returns
service call status.
See also
sdk_tplus.h etat.h

Ingenico