BLE mbed Endpoint network stack for mbedConnectorInterface. The stack makes use of a special BLE Socket abstraction to create socket() semantics over BLE.

Dependencies:   libnsdl_m0 BLE_API Base64 nRF51822 SplitterAssembler

Embed: (wiki syntax)

« Back to documentation index

BLELocation Class Reference

BLELocation Class Reference

BLELocation class. More...

#include <BLELocation.h>

Public Member Functions

 BLELocation (const RawSerial *pc)
 Constructor.
virtual ~BLELocation ()
 Destructor.
virtual void updateLocation ()
 Update the current location.
void processLocationUpdateResponse (char *response, int response_length)
 Process the location update response.
void setDefault (float latitude, float longitude, float altitude, float speed)
 Set the default location.

Detailed Description

BLELocation class.

Definition at line 34 of file BLELocation.h.


Constructor & Destructor Documentation

BLELocation ( const RawSerial *  pc )

Constructor.

Definition at line 34 of file BLELocation.cpp.

~BLELocation (  ) [virtual]

Destructor.

Definition at line 38 of file BLELocation.cpp.


Member Function Documentation

void processLocationUpdateResponse ( char *  response,
int  response_length 
)

Process the location update response.

Definition at line 56 of file BLELocation.cpp.

void setDefault ( float  latitude,
float  longitude,
float  altitude,
float  speed 
)

Set the default location.

Definition at line 48 of file BLELocation.cpp.

void updateLocation (  ) [virtual]

Update the current location.

Definition at line 105 of file BLELocation.cpp.